[Bug 880240] Re: system doesn't turn off if "sudo halt" is given

Steve Langasek steve.langasek at canonical.com
Fri Jun 8 23:06:57 UTC 2012


Correction: in sysvinit, /etc/default/halt is a config file for the
/etc/init.d/halt script only, which uses it to decide whether to pass
'-p' to halt.  So this is already supposed to have the intended effect;
and if I invoke 'halt -d -f -i -p -h' directly, it does power off the
system.  Likewise if I invoke 'sh -x /etc/init.d/halt stop', I see the
correct command being run and the system powers off.

So something is going awry here specifically wrt /etc/rc0.d/S99halt when
called via the 'halt' command.

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

Title:
  system doesn't turn off if "sudo halt" is given

Status in “upstart” package in Ubuntu:
  Triaged

Bug description:
  Since I upgraded from 11.04 to 11.10 the system doesn't turn off at
  the end of halt procedure if it's called via commandline (local or
  remote shell) . At some point of halt procedure the system freezes and
  all I can do is turning off pc via physical power button and halting
  it using GUI or via "sudo shutdown -h now" , these two methods work
  flawlessly.

   I have this problem on both x86_64 and x86. Anyway if I shut down the
  pc using ligthdm or unity the system is turned off properly.

  Description:	Ubuntu 11.10
  Release:	11.10
  Linux travelmate 3.0.0-13-generic #21-Ubuntu SMP Mon Oct 17 20:18:09 UTC 2011 i686 i686 i386 GNU/Linux

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




More information about the foundations-bugs mailing list