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

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to devuan-bugs@lists.dyne.org, Devuan Dev Team <devuan-dev@lists.dyne.org>:
bug#527; Package eudev. (Thu, 03 Dec 2020 22:03:01 GMT) (full text, mbox, link).


Acknowledgement sent to Bodo Eggert <7eggert@online.de>:
New bug report received and forwarded. Copy sent to Devuan Dev Team <devuan-dev@lists.dyne.org>. (Thu, 03 Dec 2020 22:03:04 GMT) (full text, mbox, link).


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

From: Bodo Eggert <7eggert@online.de>
To: submit@bugs.devuan.org
Subject: udev rule for btrfs is not built correctly (fwd)
Date: Thu, 3 Dec 2020 22:51:39 +0100 (CET)
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: Thu Feb 25 11:02:34 2021;