[Bug 966480]

Chris Bainbridge chris.bainbridge at gmail.com
Mon Mar 9 21:14:32 UTC 2015


Upstart doesn't wait for the call to plymouthd to exit, it just waits
for it to fork.

The upstart script is like:

    expect fork
    exec /sbin/plymouthd --mode=shutdown
    post-start exec /bin/plymouth show-splash

afaics upstart starts plymouthd, and when plymouthd forks, upstart then
immediately executes "plymouth show-splash". At this point plymouthd
isn't ready - race condition - which causes the splash screen to fail.

"The daemon should ensure that when it completes the (second) fork that
it is fully initialized, since Upstart uses the fork count to determine
service readiness" http://upstart.ubuntu.com/cookbook/#daemon-behaviour

This is probably more the fault of the upstart script than of plymouthd.
It seems like it will be easier to just fix the script.

-- 
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 The Plymouth splash screen:
  Won't Fix
Status in casper package in Ubuntu:
  Triaged
Status in plymouth package in Ubuntu:
  Triaged
Status in casper source package in Precise:
  Triaged
Status in plymouth source package in Precise:
  Triaged

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/plymouth/+bug/966480/+subscriptions



More information about the foundations-bugs mailing list