Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 939550 - genkernel: sys-boot/plymouth support fails with profile 23.0
Summary: genkernel: sys-boot/plymouth support fails with profile 23.0
Status: UNCONFIRMED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: usrmerge, usrmerge-fixes
  Show dependency tree
 
Reported: 2024-09-12 23:42 UTC by lperkins
Modified: 2025-01-21 22:08 UTC (History)
4 users (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 lperkins 2024-09-12 23:42:34 UTC
Building a new system with the 23.0/hardened profile (also tested with just 23.0, although less so.)
Tested with genkernel-4.2.6 and also -9999

I immediately notice that my old, home-brew inclusion of plymouth fails to function. No worries, since genkernel now has the --plymouth option.

--plymouth, makes genkernel crash building the initramfs however. So I hunt around and find: https://github.com/gentoo/genkernel/commit/233e3fcc3a3ed26462de809851548848c004b27d 

Applying this seems to fix it so the initramfs actually builds.

Unfortunately, on bootup, I find that the attempt to launch plymouthd gets a "not found" error. (Same error as my homebrew scripts.) If I force the system into a rescue shell to go poking around, I find that "which plymouthd" finds /usr/bin/plymouthd just fine, but executing /usr/bin/plymouthd directly generates the same "not found" error. /usr/bin/plymouth also gives the same error.

I tend to suspect this is a missing library, but unpacking the initramfs and examining its contents shows all libraries listed by lddtree for plymouth and plymouthd as being present in the archive.

Attempts to insert ldd and lddtree into the initramfs for debugging purposes end with running them giving the same "not found" error.

Unpacking the initramfs and chrooting into it results in the same "not found" errors as well, so if somebody knows of a ldd equivalent for debugging chroots that might make sorting this out easier.

I can do any further debugging you might need if you give me some idea of what to try. I can also provide remote console access to an affected system with a few hours notice.

Reproducible: Always

Steps to Reproduce:
Try to build an initramfs with plymouth support on profile 23.0, merged-usr.
Actual Results:  
Plymouth binaries in the initramfs fail to run with a generic "not found" error.

Expected Results:  
Plymouth binaries in the initramfs should launch correctly.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-09-13 01:53:28 UTC
Better link is https://github.com/gentoo/genkernel/pull/58 as it's not yet merged.
Comment 2 lperkins 2024-09-13 16:20:52 UTC
Ok.  I wasn't sure how best to reference it since the github repositories are marked as obsolete or as just a mirror.

Do note that the patch doesn't fix the whole problem, only the outright crash when building the initrd.  Plymouth in the initramfs still fails to run.  Just in cast that wasn't clear.
Comment 3 Peter 2025-01-21 22:08:51 UTC
I can confirm that I have possibly the same problem, because from some period of time my splash stopped to work from initramfs level, because I have an encrypted rootfs and as it was previously asking me for password to decrypt it in nice picture now it is in ugly command line....