Devuan bug report logs - #812
Firmware is not found by kernel anymore as it is moved to /usr

Package: devuan-project; Maintainer for devuan-project is Devuan Developers <devuan-dev@lists.dyne.org>;

Affects: sed, kmod, linux-headers-6.6.8-amd64, firmware-realtek, netcat-traditional, initramfs-tools-core

Reported by: Klaus Ethgen <Klaus@ethgen.de>

Date: Mon, 4 Dec 2023 09:00:01 UTC

Severity: grave

Merged with 813, 821, 823, 826, 827, 828

Done: Mark Hindley <mark@hindley.org.uk>

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.devuan.org
Subject: bug#812: [devuan-dev] bug#812: Firmware is not found by kernel anymore as it is moved to /usr
Reply-To: svante.signell@gmail.com, 812@bugs.devuan.org
Resent-From: Svante Signell <svante.signell@gmail.com>
Resent-To: devuan-bugs@lists.dyne.org
Resent-CC: Devuan Developers <devuan-dev@lists.dyne.org>
X-Loop: owner@bugs.devuan.org
Resent-Date: Wed, 06 Dec 2023 19:00:01 +0000
Resent-Message-ID: <handler.812.B812.170188911627155@bugs.devuan.org>
Resent-Sender: owner@bugs.devuan.org
X-Devuan-PR-Message: followup 812
X-Devuan-PR-Package: devuan-project
X-Devuan-PR-Keywords: 
References: <ZW2UbXhvWK9wRCRH@ikki.ethgen.ch>  <ZW2UbXhvWK9wRCRH@ikki.ethgen.ch> <ZW8e5SgOBeRnxO7R@hindley.org.uk>  <98a129196291fdc8fc65330d1e27474dbbdd427a.camel@gmail.com>  <ZXCvDC7NPfgRAMmJ@ikki.ethgen.ch> <ZW2UbXhvWK9wRCRH@ikki.ethgen.ch>
Received: via spool by 812-submit@bugs.devuan.org id=B812.170188911627155
          (code B ref 812); Wed, 06 Dec 2023 19:00:01 +0000
Received: (at 812) by bugs.devuan.org; 6 Dec 2023 18:58:36 +0000
Delivered-To: bugs@devuan.org
Received: from email.devuan.org [2a01:4f8:a0:3284::74ca:8ad2]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Wed, 06 Dec 2023 18:58:36 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id dK8vFRDEcGWACQAAmSBk0A
	(envelope-from <svante.signell@gmail.com>)
	for <bugs@devuan.org>; Wed, 06 Dec 2023 18:57:20 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id 4BE0E647; Wed,  6 Dec 2023 18:57:20 +0000 (UTC)
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham
	autolearn_force=no version=3.4.6
Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a00:1450:4864:20::232; helo=mail-lj1-x232.google.com; envelope-from=svante.signell@gmail.com; receiver=<UNKNOWN> 
Received: from mail-lj1-x232.google.com (mail-lj1-x232.google.com [IPv6:2a00:1450:4864:20::232])
	by email.devuan.org (Postfix) with ESMTPS id 29AE25A
	for <812@bugs.devuan.org>; Wed,  6 Dec 2023 18:57:19 +0000 (UTC)
Received: by mail-lj1-x232.google.com with SMTP id 38308e7fff4ca-2c9efa1ab7fso1373331fa.0
        for <812@bugs.devuan.org>; Wed, 06 Dec 2023 10:57:19 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20230601; t=1701889038; x=1702493838; darn=bugs.devuan.org;
        h=mime-version:user-agent:content-transfer-encoding:organization
         :references:in-reply-to:date:cc:to:reply-to:from:subject:message-id
         :from:to:cc:subject:date:message-id:reply-to;
        bh=9LmvNSm1ltTTOD4DI655RaDS4Q7RvbQdT1Y/1WTu2c4=;
        b=jLZ/FZBjLGygmjZ3OwzcaLefeR4xePrYXeZEnb6u8hpHQUpA8p/cDLDeQSDj1ib2/G
         LOdIMZtCnQct4N6pEhjjFscQ9ZOLENBpCCDfw9NkeR0YARfuul8W1Xw9ytCJbQwxQ1Jy
         HABGOKpuRMidMxlBcutOLiq+tNcdlFlZutRnwTxqE1Sc0+ne+pvHdLWTAYmzfjwe+Onr
         x0xBd73PC36vZA3eFKZ0NWSwzu9QOVcpC/s9qdTXkodwHwQNozS6VEZVDhVCWjAK0ocr
         ga3seSmNwc1c93h6NcuBX3fopiiCUqWKJIFm+P5gxixyHeWmtzvQdbzkKwf8DUr6/M1M
         7hsg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20230601; t=1701889038; x=1702493838;
        h=mime-version:user-agent:content-transfer-encoding:organization
         :references:in-reply-to:date:cc:to:reply-to:from:subject:message-id
         :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
        bh=9LmvNSm1ltTTOD4DI655RaDS4Q7RvbQdT1Y/1WTu2c4=;
        b=u2QdfUgyzEQMfN9AQ2zWBAbZ6W93FWzLq81gApTLyvva2SPu4QnUFCgoDRDD5PoFeo
         uxRLvrDM9IM5OJg1qyGNBObv8DV5RQGDz6E1EW5v5HjcWIAorTT1Er1PIVp1eCTB3aBD
         qLX5X3qdfpyE57JoF7RE2m6P7SjerXMtHR9d37sazCGkjcCt8d8eNPTJk4kh6V+CE7VJ
         Vl0ZxTFRIFdLkJV92mOBx/SROATgh7IzaRrXPBhtvBd+LCyzNTC0VFQcn6GgwSi9vFu5
         F3SgqWpNCBk3K6ne1bGCxEE5fsEvHnfI/lrR1XkzjH8HH1BIiVkdKnjdsrdZGtf2lIoZ
         x9Zw==
X-Gm-Message-State: AOJu0Ywxh8AjyFIAAA5J1+8tugPvqSCwIu5xk2RH53ZGwyLtglIZJo3Y
	jEwgkzTCWmEhhnWoXK9afGc=
X-Google-Smtp-Source: AGHT+IFr0to09zm67DMbR+MRy7PL8I47xXS08zszcp84f7Ml2RKt15sFmDbghGZ5Pgv2ztDUD0esKw==
X-Received: by 2002:a2e:808a:0:b0:2c9:f738:96c4 with SMTP id i10-20020a2e808a000000b002c9f73896c4mr442087ljg.68.1701889037523;
        Wed, 06 Dec 2023 10:57:17 -0800 (PST)
Received: from G3620.lan (178-78-231-178.customers.ownit.se. [178.78.231.178])
        by smtp.gmail.com with ESMTPSA id a6-20020a2e9806000000b002ca0515a5d2sm42832ljj.68.2023.12.06.10.57.16
        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
        Wed, 06 Dec 2023 10:57:16 -0800 (PST)
Message-ID: <ece3bf7db3438b6c72336054b7e20e0a2ffdc98f.camel@gmail.com>
From: Svante Signell <svante.signell@gmail.com>
To: Klaus Ethgen <Klaus@ethgen.de>
Cc: Mark Hindley <mark@hindley.org.uk>, 812@bugs.devuan.org, devuan
	developers internal list
	 <devuan-dev@lists.dyne.org>
Date: Wed, 06 Dec 2023 19:57:29 +0100
In-Reply-To: <ZXCvDC7NPfgRAMmJ@ikki.ethgen.ch>
Organization: Home
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
User-Agent: Evolution 3.46.4-2 
MIME-Version: 1.0
On Wed, 2023-12-06 at 18:27 +0100, Klaus Ethgen wrote:
> Hi Svante,
> 
> Am Mi den  6. Dez 2023 um 17:55 schrieb Svante Signell:
> > Seems like the simple solution to firmware files moved from /lib to /usr/lib
> > is to modify the eudev (udev) rule to search both in /lib and /usr/lib.
> 
> That do not work as at boot time, /usr is not always available.
> 

Hi Klaus,

Then you have /usr on a different partition, and you need an initrd to fix that.
That problem is separate from eudev searching for files in /lib and /usr/lib.

> > I have not yet found out which program/rule does the actual installation of
> > these firmware files. Maybe you know?
> 
> Yes, it is in the rules file. it includes dh_movetousr when available.
> The firmware itself installs to /lib and that command does explicitly
> destroy the package.

I did not mean the debian/rules file of firmware-realtek, sorry.

I saw the usage of dh_movetousr in that package in debian/rules, yes. However as
long as the eudev rule file searches both /lib and /usr/lib and you don't have
/usr on a separate partition, you'll be fine (or use an initrd as mentioned
above)

Thanks!

Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Sun Jun 30 10:07:03 2024;