[Bug 898422] [NEW] shutdown -k exits prematurely

Tom Yu tlyu at mit.edu
Thu Dec 1 00:15:36 UTC 2011


Public bug reported:

On Lucid, "shutdown -k" with a time argument that is not "now"
broadcasts the first shutdown warning, then exits without doing anything
else. In particular, it does not enter the loop to issue subsequent
shutdown warnings. Running "shutdown -k" should do everything except the
actual shutdown.

I confirmed by inspecting the source code that this bug is still
probably present in the active development sources. The conditional to
exit(0) when warn_only is true should probably be moved into the
shutdown_now() function.

Version information (but it doesn't really matter because it's still in
the development sources):

ii  upstart        0.6.5-8        event-based init daemon

** Affects: upstart (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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/898422

Title:
  shutdown -k exits prematurely

Status in “upstart” package in Ubuntu:
  New

Bug description:
  On Lucid, "shutdown -k" with a time argument that is not "now"
  broadcasts the first shutdown warning, then exits without doing
  anything else. In particular, it does not enter the loop to issue
  subsequent shutdown warnings. Running "shutdown -k" should do
  everything except the actual shutdown.

  I confirmed by inspecting the source code that this bug is still
  probably present in the active development sources. The conditional to
  exit(0) when warn_only is true should probably be moved into the
  shutdown_now() function.

  Version information (but it doesn't really matter because it's still
  in the development sources):

  ii  upstart        0.6.5-8        event-based init daemon

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




More information about the foundations-bugs mailing list