Univention Bugzilla – Bug 23748
plymouth läßt sich ab RunLevel 2 nicht mehr mit ESC deaktivieren
Last modified: 2012-09-18 10:32:02 CEST
Normalerweise kann man plymouth während des Boot mit ESC beenden, nochmaliges drücken von ESC aktiviert plymouth dann wieder. Das klappt in UCS 3.0 nur bis RunLevel 2, irgendein init Script macht dies dann kaputt, man kann plymouth dann nicht mehr aktivieren. ... Bei Wechsel des Runlevel wird tty1 von init Daemon beansprucht und mit default Werten initialisiert. Dadurch verliert plymouth den Zugang zu tty1 und bekommt z.B. die Tastatureingaben nicht mehr mit. -> grep -A 2 -B -2 -n TIOCS /opt/sysvinit-2.88dsf/src/init.c 1060- if ((f = console_open(O_RDWR|O_NOCTTY)) >= 0) { 1061- /* Take over controlling tty by force */ 1062: (void)ioctl(f, TIOCSCTTY, 1); 1063- dup(f); 1064- dup(f); -- 1111- if (pid == 0) { 1112- setsid(); 1113: (void)ioctl(f, TIOCSCTTY, 1); 1114- exit(0); 1115- } Zum Test habe ich die zwei ioctl Aufrufe einmal auskommentiert. Dann funktioniert plymouth wird gewünscht, jedoch kommt es bei der Ausgabe der Bootmeldungen (wenn plymouth läuft) dann zu unschönen Treppeneffekten. siehe aus http://comments.gmane.org/gmane.comp.freedesktop.plymouth/378 Eine andere Möglichkeit wäre plymouth auf einem anderen Terminal zu starten: -> plymouthd -h Boot splash control server USAGE: plymouthd [OPTION...] Options: --help This help message --attach-to-session Redirect console messages from screen to log --no-daemon Do not daemonize --debug Output debugging information --debug-file=<string> File to output debugging information to --mode=<string> Mode is one of: boot, shutdown --pid-file=<string> Write the pid of the daemon to a file --tty=<string> TTY to use instead of default
*** This bug has been marked as a duplicate of bug 28287 ***