~apw/ubuntu/oneiric/udev/boot-deadlock

Viewing all changes in revision 2724.

  • Committer: Steve Langasek
  • Date: 2011-10-08 06:45:48 UTC
  • Revision ID: steve.langasek@canonical.com-20111008064548-s6tnbc7uip3571bc
Set a timeout of 61 seconds when calling udevadm control --exit, to
ensure that udevd always reaches its *own* timeout first.  If udevadm
times out before udevd, it exits non-zero, breaking the move of the /dev
mount; and if we ignore the udevadm failure then udevd might still be
running, which is the original issue that the patch for bug #624469
was trying to address.  Raising the timeout doesn't make the boot any
slower, it just makes sure we let udevd count the 60 seconds instead of
udevadm.  LP: #818177.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: