Bug 831349 - dracut does not install needed plymouth libraries
Summary: dracut does not install needed plymouth libraries
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: dracut
Version: rawhide
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: dracut-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-12 20:19 UTC by Orion Poplawski
Modified: 2012-07-03 07:40 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-07-03 07:40:44 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
screenshot (16.41 KB, image/png)
2012-06-12 20:23 UTC, Orion Poplawski
no flags Details

Description Orion Poplawski 2012-06-12 20:19:05 UTC
Description of problem:

On boot my libvirt kvm vm displays:

plymouthd: could not start boot splash: Can not access a needed shared library.

I rebuild the main initrd as well as initrd-plymouth.img to no effect.

Version-Release number of selected component (if applicable):
plymouth-0.8.5.1-1.fc18.x86_64

Comment 1 Orion Poplawski 2012-06-12 20:23:49 UTC
Created attachment 591284 [details]
screenshot

Line before says:

Cannot open font file True

Comment 2 Ray Strode [halfline] 2012-06-13 21:14:38 UTC
seems like your initrd isn't getting full populated (the "cannot open font file" is from some other program, not plymouth)

Comment 3 Ray Strode [halfline] 2012-06-13 21:15:22 UTC
if you downgrade plymouth and rebuild your initrd does it start behaving?

Comment 4 Orion Poplawski 2012-06-13 22:02:53 UTC
That might take some work:

--> Processing Conflict: systemd-185-5.gita2368a3.fc18.x86_64 conflicts plymouth < 0.8.5.1

It works okay if I boot my 3.4.0-0.rc0.git1.2.fc18 kernel entry which dates from Mar 29.

Looks like lots of plymouth entries are missing from the newer initramfs:

old:
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/bin/plymouth
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/bin/plymouthd
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/lib64/plymouth
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/lib64/plymouth/two-step.so
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/lib64/plymouth/renderers
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/lib64/plymouth/renderers/frame-buffer.so
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/lib64/plymouth/renderers/drm.so
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/lib64/plymouth/details.so
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/lib64/plymouth/text.so
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/lib/dracut/hooks/pre-trigger/10plymouth-pretrigger.sh
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/lib/dracut/hooks/emergency/50plymouth-emergency.sh
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/lib/dracut/hooks/pre-pivot/90plymouth-newroot.sh
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/share/plymouth
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/share/plymouth/themes
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/share/plymouth/themes/details
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/share/plymouth/themes/details/details.plymouth
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/share/plymouth/themes/charge
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/share/plymouth/themes/charge/progress-07.png
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/share/plymouth/themes/charge/progress-06.png
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/share/plymouth/themes/charge/entry.png
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/share/plymouth/themes/charge/progress-04.png
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/share/plymouth/themes/charge/progress-10.png
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/share/plymouth/themes/charge/throbber-04.png
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/share/plymouth/themes/charge/throbber-00.png
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/share/plymouth/themes/charge/progress-02.png
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/share/plymouth/themes/charge/progress-14.png
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/share/plymouth/themes/charge/progress-17.png
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/share/plymouth/themes/charge/throbber-05.png
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/share/plymouth/themes/charge/throbber-15.png
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/share/plymouth/themes/charge/progress-00.png
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/share/plymouth/themes/charge/bullet.png
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/share/plymouth/themes/charge/throbber-10.png
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/share/plymouth/themes/charge/progress-09.png
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/share/plymouth/themes/charge/throbber-12.png
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/share/plymouth/themes/charge/throbber-14.png
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/share/plymouth/themes/charge/charge.plymouth
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/share/plymouth/themes/charge/progress-16.png
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/share/plymouth/themes/charge/throbber-09.png
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/share/plymouth/themes/charge/progress-08.png
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/share/plymouth/themes/charge/throbber-06.png
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/share/plymouth/themes/charge/throbber-11.png
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/share/plymouth/themes/charge/progress-03.png
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/share/plymouth/themes/charge/progress-15.png
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/share/plymouth/themes/charge/throbber-02.png
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/share/plymouth/themes/charge/progress-05.png
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/share/plymouth/themes/charge/progress-13.png
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/share/plymouth/themes/charge/throbber-01.png
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/share/plymouth/themes/charge/progress-01.png
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/share/plymouth/themes/charge/throbber-08.png
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/share/plymouth/themes/charge/box.png
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/share/plymouth/themes/charge/progress-11.png
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/share/plymouth/themes/charge/progress-12.png
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/share/plymouth/themes/charge/throbber-07.png
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/share/plymouth/themes/charge/progress-18.png
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/share/plymouth/themes/charge/throbber-03.png
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/share/plymouth/themes/charge/throbber-13.png
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/share/plymouth/themes/charge/lock.png
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/share/plymouth/themes/text
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/share/plymouth/themes/text/text.plymouth
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/usr/share/plymouth/plymouthd.defaults
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/etc/plymouth
initramfs-3.4.0-0.rc0.git1.2.fc18.x86_64/etc/plymouth/plymouthd.conf

New:
initramfs-3.5.0-0.rc2.git0.3.fc18.x86_64/usr/bin/plymouth
initramfs-3.5.0-0.rc2.git0.3.fc18.x86_64/usr/bin/plymouthd
initramfs-3.5.0-0.rc2.git0.3.fc18.x86_64/usr/lib/dracut/hooks/pre-trigger/10plymouth-pretrigger.sh
initramfs-3.5.0-0.rc2.git0.3.fc18.x86_64/usr/lib/dracut/hooks/emergency/50plymouth-emergency.sh
initramfs-3.5.0-0.rc2.git0.3.fc18.x86_64/usr/lib/dracut/hooks/pre-pivot/90plymouth-newroot.sh
initramfs-3.5.0-0.rc2.git0.3.fc18.x86_64/usr/share/plymouth
initramfs-3.5.0-0.rc2.git0.3.fc18.x86_64/usr/share/plymouth/themes
initramfs-3.5.0-0.rc2.git0.3.fc18.x86_64/usr/share/plymouth/themes/details
initramfs-3.5.0-0.rc2.git0.3.fc18.x86_64/usr/share/plymouth/themes/details/details.plymouth
initramfs-3.5.0-0.rc2.git0.3.fc18.x86_64/usr/share/plymouth/themes/default.plymouth
initramfs-3.5.0-0.rc2.git0.3.fc18.x86_64/usr/share/plymouth/themes/text
initramfs-3.5.0-0.rc2.git0.3.fc18.x86_64/usr/share/plymouth/themes/text/text.plymouth

So, is this a dracut bug?

Comment 5 Orion Poplawski 2012-06-13 22:40:45 UTC
Let's send it over to dracut to see.  

Looks like maybe a typo in /usr/lib/dracut/modules.d/50plymouth/plymouth-populate-initrd.sh:

    inst_libdir_file "/plymouth/{text,details}.so"

probably should be:

    inst_libdir_file "plymouth/{text,details}.so"

Comment 6 Orion Poplawski 2012-06-13 22:44:43 UTC
Or maybe it can't handle the braces?  Ends up as:

//usr/lib/dracut/dracut-functions.sh@719(inst_libdir_file): [[ -e /usr/lib64//plymouth/{text,details}.so ]]

which doesn't seem to trigger.

Comment 7 Orion Poplawski 2012-06-14 15:03:38 UTC
Yeah, can't use the {} in quotes like that, just drop the quotes:

    inst_libdir_file plymouth/{text,details}.so

or be like the line above:

    inst_libdir_file "plymouth/text.so" "plymouth/details.so"


Note You need to log in before you can comment on or make changes to this bug.