event.d: recovery menu appears on every boot if cmdline contains the word "single"

Bug #385911 reported by Jared Wiltshire on 2009-06-11
This bug affects 1 person
Affects Status Importance Assigned to Milestone
upstart (Ubuntu)

Bug Description

As I posted here: http://ubuntuforums.org/showthread.php?p=7438620#post7438620

My /proc/cmdline is
root=/dev/mapper/single-rootfs ro quiet splash

As you can see I have not booted with the "single" option but my lvm volume name contains the word single.

This causes /etc/event.d/rc-default to put the system into single user mode which brings up the recovery menu on every boot on Ubuntu Server.

affects: ubuntu → grub (Ubuntu)
Colin Watson (cjwatson) wrote :

/etc/event.d/rc-default does need to be a bit more careful here. This file is shipped by the upstart-compat-sysv package.

affects: grub (Ubuntu) → upstart (Ubuntu)
Changed in upstart (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
summary: - Recovery menu appears on every boot if cmdline contains the word
- "single"
+ event.d: recovery menu appears on every boot if cmdline contains the
+ word "single"
Changed in upstart (Ubuntu):
status: Triaged → In Progress
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package upstart - 0.3.10-2

upstart (0.3.10-2) karmic; urgency=low

  * debian/upstart.postinst: Use telinit u to re-exec, rather than
    kill just in case it's not Upstart that's running. LP: #92177.
  * debian/event.d/system-services/tty*: Run getty in 8-bit clean
    mode. LP: #273189.
  * debian/event.d/upstart-compat-sysv/rc-default:
    - Don't use grep -w, instead split on $IFS and iterate. LP: #385911.
    - Check for any valid runlevel, not just S. LP: #85014.
    - Make console owner, since it may spawn sulogin.
  * debian/event.d/upstart-compat-sysv/rcS:
    - Spawn sulogin if given -b or "emergency". LP: #193810.
  * debian/event.d/upstart-compat-sysv/rcS:
    - Make console owner. LP: #211402.
  * debian/event.d/upstart-compat-sysv/rcS-sulogin:
    - Place the telinit code in post-stop, checking $UPSTART_EVENT first so
      we don't change the runlevel if we were stopped due to a runlevel
      change. LP: #66002.

 -- Scott James Remnant <email address hidden> Thu, 18 Jun 2009 16:19:34 +0100

Changed in upstart (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers