Summary: | sys-kernel/dracut expects /bin/plymouthd but recent sys-boot/plymouth installs /sbin/plymouthd | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andrius Štikonas <andrius> |
Component: | [OLD] Core system | Assignee: | Amadeusz Żołnowski (RETIRED) <aidecoe> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | enrico.tagliavini |
Priority: | Normal | Keywords: | UPSTREAM |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://git.kernel.org/cgit/boot/dracut/dracut.git/commit/?id=ca2c6936798b3931fb4806d783c17474b8f89878 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
don't use absolute path to plymouth. should be upstream
don't use absolute path to plymouth. already upstream |
Description
Andrius Štikonas
2013-04-11 13:15:00 UTC
The problem is not where the plymouth ebuild install the pluymouthd file. The problem is dracut. Dracut generate an inconsistend initramfs [for what I understand]: looking at files here: /usr/lib/dracut/modules.d/50plymouth: plymouth-populate-initrd.sh line 7: inst /sbin/plymouthd /bin/plymouthd So the plymouthd should be installed in the /bin directory of the initramfs. I extraced mine and schroedingherscat initram # pwd /boot/initram schroedingherscat initram # ll *bin/plymouthd -rwxr-xr-x 1 root root 48K Apr 11 14:02 sbin/plymouthd* it is installed in sbin. in plymouth-pretrigger.sh line 5: if [ -x /bin/plymouthd -a -z "$DRACUT_SYSTEMD" ]; then this result false since plymouthd is in /sbin in the initramfs I'm still investigating why the inst function is failing, or if something moves plymouthd somewhere else. Ok I got it: in gentoo dracut calls /usr/libexec/plymouth/plymouth-populate-initrd and guess waht: on line 375 inst ${PLYMOUTH_DAEMON_PATH} $INITRDDIR /sbin/plymouthd Now..... who is in fault? Created attachment 345224 [details, diff]
don't use absolute path to plymouth. should be upstream
I gone to #dracut IRC channel. Thank you very much to Harald Hoyer, he done the patch and pushed to git master.
Created attachment 345258 [details, diff]
don't use absolute path to plymouth. already upstream
There was a missing space in the previous patch. I tested this one. It works for me™®
Enrico, thank you! I'll apply the patch in 027-r1. Fixed. Thank you! *dracut-027-r1 (18 Apr 2013) 18 Apr 2013; Amadeusz Żołnowski <aidecoe@gentoo.org> +files/027-0003-Do-not-call-plymouth-with-full-path.patch, +files/027-0004-plymouth-plymouth-pretrigger.sh-fixup-.patch, +dracut-027-r1.ebuild: Rev-bump. Fixes bug #465518. Thanks to Enrico Tagliavini <enrico.tagliavini@gmail.com> for report and handling it and to Harald Hoyer for fixing it. Thank you very much for the backport o.O sorry it seems I've changed the status. Returning to resolved |