Comment 35 for bug 966480

Revision history for this message
Chris Bainbridge (chris-bainbridge) wrote :

> That's not a correct fix. The prompting is supposed to be done via plymouth,
> not via direct writes to the console.

Okay, I didn't know whether plymouth is meant to still be in use at this late stage.

The problem is the race condition in plymouth-shutdown.conf:

         /sbin/plymouthd --mode=shutdown
        /bin/plymouth show-splash

"plymouth show-splash" can be executed before the plymouthd daemon is up and running. The subsequent message from casper then fails because the splash is not shown:

        [main.c] on_display_message:not displaying message Please remove installation media and close the tray (if any) then press ENTER: as no splash

To fix this just requires making sure that plymouthd is ready before the call to show-splash. Patch attached.