Bug 23748 - plymouth läßt sich ab RunLevel 2 nicht mehr mit ESC deaktivieren
plymouth läßt sich ab RunLevel 2 nicht mehr mit ESC deaktivieren
Status: RESOLVED DUPLICATE of bug 28287
Product: UCS
Classification: Unclassified
Component: Bootsplash
UCS 3.0
Other Linux
: P5 normal (vote)
: UCS 3.x
Assigned To: Bugzilla Mailingliste
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-09-21 16:43 CEST by Felix Botner
Modified: 2012-09-18 10:32 CEST (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Botner univentionstaff 2011-09-21 16:43:09 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
Comment 1 Felix Botner univentionstaff 2012-09-18 10:32:02 CEST

*** This bug has been marked as a duplicate of bug 28287 ***