plymouth breaks 'read' in initramfs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
initramfs-tools (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
plymouth (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: plymouth
In maverick plymouth 0.8.2-2ubuntu5.
I'll skip the amount of grief plymouth has cost me in multiple places, it has been echoed by enough other people in bugs and blogs (long story short, I never upgraded to lucid because of plymouth). I eventually went to maverick and it's a tiny bit better, but as far as encryption and initrd goes, it of course grabs the console away and stops script that read input from working.
My encryption script did a simple
read PASSWORD
feed password to cryptsetup
read never works because of plymouth.
I edited /usr/share/
and commented out
#printf '\033[?25l' > /dev/tty7
#/sbin/plymouthd --mode=boot --attach-to-session --pid-file=
#/bin/plymouth show-splash
I have no idea why this is there, what purpose it serves, but now that I removed them, I can read the encryption password from the command line again and boot properly.
Please consider removing this if it's not absolutely necessary, and more generally when you design system enhancements, remember those who actually need boot messages and console access to work reliably and couldn't care less about splash screens and eye candy that removes access to the system when it boots.
Thanks.
tags: | added: i386 maverick |
plymouth is the standard boot-time I/O multiplexer. The initramfs script is not there for eye candy, it's there for the express purpose of prompting for passphrases for encrypted filesystems. Why are you not using the standard cryptsetup initramfs script here instead? The cryptsetup hook is *why* plymouth was pulled into your initramfs.
If you want to override the standard behavior, you can add a file to /etc/initramfs- tools/conf. d/ that sets FRAMEBUFFER=n to override the inclusion of plymouth in the initramfs. If you want to avoid splash screens altogether, you can remove 'splash' from the boot commandline. This will not stop plymouth from being run by init, because it's still needed to handle I/O for processes such as mountall which need to communicate with the user at boot time in the event of filesystem problems.
The default behavior is correct for the common case, and if you really need a custom prompt instead of the standard cryptsetup script, it's overridable, so I'm closing this report as invalid.