[Bug 898422] Re: shutdown -k exits prematurely

Steve Langasek steve.langasek at canonical.com
Fri Jan 6 01:00:17 UTC 2012


** Changed in: upstart (Ubuntu)
       Status: New => Triaged

** Changed in: upstart (Ubuntu)
   Importance: Undecided => Medium

-- 
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:
  Triaged

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