Bugzilla – Bug 105999
Switch from verbose to silent boot splash stops the boot process
Last modified: 2005-09-12 13:09:59 UTC
If you have a cryptofs, you'll be asked for the password during the boot process. The bootsplash goes in verbose mode for this. After you entered the password or simply pressed enter it switches back to silent mode and stays there. The boot process stops until you press ESC or F2. The problem is the restore() function in /etc/init.d/boot.crypto. I commented the call of the function in line 240 out, so it stays in verbose mode and boots.
This was added due bug #104592 ... Michael? Why I can not restore the splash screen without stopping the boot process? Currently the restore() shell function looks like restore () { stty $otty < $REDIRECT; [[ "$splash" =~ silent ]] && echo silent > /proc/splash } were $splash contains the line get with read splash < /proc/splash in the shell function redirect()
Andreas? Can you please re-enable the restore() function at line 240? After you've done this I'd like to ask you if your can comment out the line stty $otty < $REDIRECT; in restore() and reboot your system. I'd like to know if the boot splash restore or the tty restore freeze the boot process.
Stops with #stty $otty < $REDIRECT; too, so it is the bootsplash.
Yep, I can reproduce this. I've written a boot.test script which, after marked as INTERACTIVE in /etc/insserv.conf, reproduce the behaviour after insserv-ing it.
Created attachment 47259 [details] /etc/init.d/boot.test Don't forget to mark it as INTERACTIVE in /etc/insserv.conf before running `insserv boot.test'
Now it seems to be a kernel bug within the splash interface.
*** Bug 114706 has been marked as a duplicate of this bug. ***
Actually not a kernel bug, but a fd leak. Fixed in startpar and in the splash utility (better safe than sorry).
*** Bug 116451 has been marked as a duplicate of this bug. ***