Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 575768 - sys-boot/plymouth-0.8.8-r4: /usr/sbin/plymouthd not found in initrd with systemd and dracut
Summary: sys-boot/plymouth-0.8.8-r4: /usr/sbin/plymouthd not found in initrd with syst...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Enrico Tagliavini
URL:
Whiteboard:
Keywords:
Depends on: 461478 576042
Blocks:
  Show dependency tree
 
Reported: 2016-02-26 21:08 UTC by Dainius Masiliūnas
Modified: 2016-03-02 09:50 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dainius Masiliūnas 2016-02-26 21:08:16 UTC
When using an initrd created by Dracut, systemd fails to find and start plymouthd:

systemd[227]: plymouth-start.service: Failed at step EXEC spawning /usr/sbin/plymouthd: No such file or directory
systemd[1]: plymouth-start.service: Control process exited, code=exited status=203
systemd[1]: Failed to start Show Plymouth Boot Screen.
systemd[1]: plymouth-start.service: Unit entered failed state.
systemd[1]: plymouth-start.service: Failed with result 'exit-code'.

This is because in /lib/systemd/system/plymouth-start.service, the expected path to plymouthd is /usr/sbin/plymouthd. However, dracut does not copy anything into /usr/sbin at all. So inside the initrd, there is no /usr/sbin/plymouthd, only /sbin/plymouthd.

This goes for all other plymouth services, too, such as plymouth-switch-root.service.

So either dracut needs to be set to copy over files into /usr/sbin, or the plymouth unit files need to be adjusted to point to the right place.
Comment 1 Dainius Masiliūnas 2016-02-26 21:10:36 UTC
I'm putting a depends on bug #461478, because it's closely related. This bug might have been caused by some actions being taken in the course of that bug, so clear policy is needed first.