Devuan bug report logs - #527
udev rule for btrfs is not built correctly (fwd)

version graph

Package: eudev; Maintainer for eudev is Devuan Dev Team <devuan-dev@lists.dyne.org>;

Reported by: Bodo Eggert <7eggert@online.de>

Date: Thu, 3 Dec 2020 22:03:01 UTC

Severity: normal

Found in version 3.2.7-6

Fixed in version 3.2.9-9

Done: dak@devuan.org

Full log


Message #5 received at submit@bugs.devuan.org (full text, mbox, reply):

Received: (at submit) by bugs.devuan.org; 3 Dec 2020 22:00:01 +0000
Return-Path: <7eggert@online.de>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Thu, 03 Dec 2020 22:00:01 +0000 (UTC)
Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.131])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 63EFFF6086C
	for <submit@bugs.devuan.org>; Thu,  3 Dec 2020 22:51:46 +0100 (CET)
Received: from be10.lan ([87.123.176.30]) by mrelayeu.kundenserver.de
 (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id
 1MryGj-1kPuxY0pC1-00o1l3 for <submit@bugs.devuan.org>; Thu, 03 Dec 2020
 22:51:45 +0100
Received: from 7eggert (helo=localhost)
	by be10.lan with local-esmtp (Exim 4.94)
	(envelope-from <7eggert@online.de>)
	id 1kkwVn-0007yc-0k
	for submit@bugs.devuan.org; Thu, 03 Dec 2020 22:51:39 +0100
Date: Thu, 3 Dec 2020 22:51:39 +0100 (CET)
From: Bodo Eggert <7eggert@online.de>
To: submit@bugs.devuan.org
Subject: udev rule for btrfs is not built correctly (fwd)
Message-ID: <d93dc979-13ae-94b8-0fd-98e7e04bbac9@be10.lrz>
X-message-flag: Outlook stellt leider Text-Emails falsch dar; da es automatisch "überflüssige" Zeilenumbrüche entfernt. Zum Beheben klicken Sie mit der rechten Maustaste im grauen Balken über der Mail und schalten dies dort ab.
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
X-Provags-ID: V03:K1:owKw6qpAZxjOhTUX2KrNjqDkPD159f6SXg5Glf+DYTbotYu9rLC
 vDeDJi1X4LK1ioncy8F/OvWjXAQ+ZF3aNVrYLNJSqCKppkRapplOIWo8qkOb6Oc7N5IlijU
 xo9fpeU1dFhirR1zKYtptk/dynDO6aXVwKAw6KZ7zPgQmj4YF7IXxS/tMSnkrS+cwAlgmFD
 XB3IU+PE0CFlblGigVVtg==
X-UI-Out-Filterresults: notjunk:1;V03:K0:dfZYxH3/H7c=:RMGd3LymQKH46lC55T8Khq
 WjTIQ399iRlzLrVEINPFffx/n21Ga+sIfG/xALWSO1g8Uhy7Nve9cNNbxZjq6e5iwHXWgik9E
 2P6tkR8bJ4hg9K0ak6y8redajJhyOdGaCWbnUnQV6tqVnigUhMxiUU5a9LjS9M3XFJgd/40ZW
 28BmQGmDmrJR8UC7jUfmPtdZHyvzWeVVS0fLPbWgCu/t2+9AekPYBZofg6TgD1FKSabX+HAUv
 rwy2KU5cFpfVF+HG3ECKUltal3VWiZXVIFqqMz/NdMN869THQP3Q+weZene6JMOI7KGOhNzul
 4zVbSYTAFCI1ZP5VlXO0KXrvv4hI99q/8lDOukZ0WyXlMViKAUWh0jmwoATq04xGDy8XR9nbU
 xFT82KiozC/HbOgshWACGdFQv5nzviGNAlOTTzpYv81wt3ekLDxywi7XmtwgwG5QXCHUpQpCF
 FeekcyN2uQ==
X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,
	RCVD_IN_MSPIKE_H2,SPF_PASS autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org
Package: eudev
Version: 3.2.7-6

This bug has been described here; too:
https://bugs.gentoo.org/show_bug.cgi?id=739268

tl;dr:
messages saying "Aug 27 16:30:50 MiniHTPC2 udevd[2291]: failed to execute 
'/usr/lib/udev/${exec_prefix}/bin/udevadm' '${exec_prefix}/bin/udevadm 
trigger -s block -p ID_BTRFS_READY=0': No such file or directory" do 
appear in dmesg log (similar on my system, except for the host name)
To fix, ${exec_prefix} needs to be set in the build scripts

I fixed it locally; until then, the config files were original.

Effective local patch:
--- /lib/udev/rules.d/64-btrfs.rules~   2019-02-09 13:22:24.000000000 +0100
+++ /lib/udev/rules.d/64-btrfs.rules    2020-11-16 15:02:07.720000000 +0100
@@ -11,6 +11,6 @@ IMPORT{builtin}="btrfs ready $devnode"
 ENV{ID_BTRFS_READY}=="0", ENV{SYSTEMD_READY}="0"
 
 # reconsider pending devices in case when multidevice volume awaits
-ENV{ID_BTRFS_READY}=="1", RUN+="${exec_prefix}/bin/udevadm trigger -s block -p ID_BTRFS_READY=0"
+ENV{ID_BTRFS_READY}=="1", RUN+="/bin/udevadm trigger -s block -p ID_BTRFS_READY=0"
 
 LABEL="btrfs_end"


Have a nice day; 
	Bodo Eggert

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: Mon Oct 25 07:30:29 2021;