[Bug 964207] Re: Dependency loops due to ANDed start conditions leave system unbootable

Steve Langasek steve.langasek at canonical.com
Tue Aug 7 20:23:55 UTC 2012


(Yes, it's possible to construct upstart jobs that will hang the system,
because some events, including some filesystem-related events, will
block.  But again - don't do that.  The jobs shipped in Ubuntu do not
have this problem, because they've been carefully constructed within the
known constraints of the system.  That you can't create arbitrary start
conditions for your custom upstart jobs without risk of hanging the boot
is not a bug in either upstart or mountall.)

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

Title:
  Dependency loops due to ANDed start conditions leave system unbootable

Status in “mountall” package in Ubuntu:
  Invalid
Status in “upstart” package in Ubuntu:
  Invalid

Bug description:
  If /home is mounted on a separate partition, and the gdm start
  condition in /etc/init/gdm.conf is modified to include "mounted
  MOUNTPOINT=/home" as follows:

  start on (filesystem
            and mounted MOUNTPOINT=/home
            and started dbus
            and (drm-device-added card0 PRIMARY_DEVICE_FOR_DISPLAY=1
                 or stopped udevtrigger))

  then a lucid system will no longer boot. It seems that in this case
  the mountall process is waiting for input from upstart, but upstart is
  not sending anything. Thus, the required muntall events are not
  emitted and the system refuses to boot.

  The problem can be worked around by manually starting another mountall
  instance while the first instance is hanging.

  I have attached the --verbose output of the first and second mountall, as
  well as an strace output.

  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: mountall 2.15.3
  ProcVersionSignature: Ubuntu 3.0.0-17.30~lucid1-server 3.0.22
  Uname: Linux 3.0.0-17-server x86_64
  Architecture: amd64
  Date: Sat Mar 24 18:45:46 2012
  ProcEnviron:
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: mountall

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




More information about the foundations-bugs mailing list