Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 739268 - genkernel: 64-btrfs.rules is broken: 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
Summary: genkernel: 64-btrfs.rules is broken: failed to execute '/usr/lib/udev/${exec_...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2020-08-27 14:14 UTC by Karlson2k
Modified: 2020-08-28 21:55 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (file_739268.txt,5.42 KB, text/plain)
2020-08-27 16:15 UTC, Karlson2k
Details
genkernel.conf (file_739268.txt,11.81 KB, text/plain)
2020-08-27 16:17 UTC, Karlson2k
Details
64-btrfs.rules (file_739268.txt,627 bytes, text/plain)
2020-08-27 16:24 UTC, Karlson2k
Details
boot log excerpt (file_739268.txt,3.76 KB, text/plain)
2020-08-27 16:29 UTC, Karlson2k
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Karlson2k 2020-08-27 14:14:09 UTC
When booting with initramfs generated with genkernel-4.1.0, boot log always contains error:

Aug 27 16:30:50 MiniHTPC2 udevd[2262]: starting version 3.2.9
Aug 27 16:30:50 MiniHTPC2 udevd[2263]: starting eudev-3.2.9
Aug 27 16:30:50 MiniHTPC2 kernel: BTRFS: device label rootfs devid 1 transid 27027 /dev/nvme0n1p2 scanned by udevd (2270)
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

Root fs is btrfs.
Comment 1 Sam James archtester gentoo-dev Security 2020-08-27 14:16:37 UTC
emerge --info, the genkernel log, genkernel.conf could be useful, and your kernel command line should be helpful here.
Comment 2 Thomas Deutschmann gentoo-dev Security 2020-08-27 15:33:40 UTC
This sounds like bug 666892... I am wondering, the log is coming from host system -- in other words: Genkernel's initramfs is already finished.

Could you please post your

/lib/udev/rules.d/64-btrfs.rules

from real system?
Comment 3 Karlson2k 2020-08-27 16:15:18 UTC
Created attachment 657142 [details]
emerge --info
Comment 4 Karlson2k 2020-08-27 16:17:12 UTC
Created attachment 657152 [details]
genkernel.conf
Comment 5 Karlson2k 2020-08-27 16:21:32 UTC
kernel command line:
BOOT_IMAGE=/vmlinuz-5.7.18-gentoo-h-min-patched2-cryp-disks-v1 root=UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx ro rootflags=subvol=@root quiet "acpi_osi=Windows 2015" i915.enable_guc=2 i915.enable_dpcd_backlight=0 snd_hda_intel.probe_mask=4 mem_sleep_default=s2idle gk.log.keep=yes

UUID hidden
Comment 6 Karlson2k 2020-08-27 16:23:55 UTC
(In reply to Thomas Deutschmann from comment #2)
> This sounds like bug 666892... I am wondering, the log is coming from host
> system -- in other words: Genkernel's initramfs is already finished.
> 
> Could you please post your
> 
> /lib/udev/rules.d/64-btrfs.rules
> 
> from real system?

No, it's not coming from host system.
I'm using systemd and it's loaded later than mentioned log line.
Comment 7 Karlson2k 2020-08-27 16:24:27 UTC
Created attachment 657156 [details]
64-btrfs.rules
Comment 8 Karlson2k 2020-08-27 16:29:24 UTC
Created attachment 657158 [details]
boot log excerpt
Comment 9 Thomas Deutschmann gentoo-dev Security 2020-08-27 17:41:38 UTC
Now I understand, logs from comment #0 are showing read dmesg...

Incoming fix.
Comment 10 Larry the Git Cow gentoo-dev 2020-08-27 17:53:25 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=08a8044fcd552fc913ec3168be0af323b4b86c05

commit 08a8044fcd552fc913ec3168be0af323b4b86c05
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2020-08-27 17:52:53 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2020-08-27 17:52:53 +0000

    gkbuilds/eudev: Set exec_prefix
    
    This is required for proper generation of 64-btrfs.rules.
    
    Bug: https://bugs.gentoo.org/739268
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 gkbuilds/eudev.gkbuild | 5 +++++
 1 file changed, 5 insertions(+)
Comment 11 Thomas Deutschmann gentoo-dev Security 2020-08-28 21:55:06 UTC
Released with >=genkernel-4.1.2!