[Bug 966480] Re: The prompt asking for media removal is not shown at the end of the installation

Chris Bainbridge chris.bainbridge at gmail.com
Mon Feb 2 22:45:35 UTC 2015


> 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.

** Patch added: "plymouth-shutdown.patch"
   https://bugs.launchpad.net/ubuntu/+source/plymouth/+bug/966480/+attachment/4310844/+files/plymouth-shutdown.patch

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to casper in Ubuntu.
https://bugs.launchpad.net/bugs/966480

Title:
  The prompt asking for media removal is not shown at the end of the
  installation

Status in casper package in Ubuntu:
  Triaged
Status in plymouth package in Ubuntu:
  New
Status in casper source package in Precise:
  Triaged
Status in plymouth source package in Precise:
  New

Bug description:
  *** Edit ***
  This bug affects Ubuntu and other flavours as well and yes, it is alive and doing well with Saucy as well.

  See:
  https://bugs.launchpad.net/ubuntu/+source/casper/+bug/966480/comments/22

  *** End of Edit ***

  At the end of the installation, just after clicking on "Reboot Now" to
  restart the computer, the graphical environment is shut down and the
  TERM signal is sent, asking all processes to terminate. However, the
  prompt asking the user to remove the CD and press Enter is not shown
  (the CD is ejected, then the system hangs).

  Tested on today's (27 March 2012) KUbuntu Precise daily ISO in a VirtualBox VM (using VirtualBox 4.1.8, 1 GiB of RAM, 16 GiB HD, 4 CPUs, EFI disabled).
  ---
  ApportVersion: 1.95-0ubuntu1
  Architecture: amd64
  DistroRelease: Ubuntu 12.04
  InstallCmdLine: file=/cdrom/preseed/kubuntu.seed boot=casper maybe-ubiquity initrd=/casper/initrd.lz quiet splash -- debian-installer/language=it keyboard-configuration/layoutcode?=it
  InstallationMedia: Kubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120327)
  Package: ubiquity (not installed)
  ProcEnviron:
   LANGUAGE=
   TERM=xterm
   LANG=it_IT.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 3.2.0-20.32-generic 3.2.12
  Tags:  precise ubiquity-2.10.3
  Uname: Linux 3.2.0-20-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/casper/+bug/966480/+subscriptions



More information about the foundations-bugs mailing list