[Bug 991997] Re: Default behavior of "halt" changed to halt only instead of powering off

Steve Langasek steve.langasek at canonical.com
Fri Nov 16 21:20:11 UTC 2012


Yes, this is a deliberate change in the behavior of upstart; the
previous behavior was in fact buggy and only worked for most users
because they assumed poweroff was the desired behavior of the 'halt'
command.  The correct way to poweroff is with 'poweroff' or 'halt -p'.

** Changed in: upstart (Ubuntu)
       Status: Confirmed => Invalid

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

Title:
  Default behavior of "halt" changed to halt only instead of powering
  off

Status in “sysvinit” package in Ubuntu:
  Confirmed
Status in “upstart” package in Ubuntu:
  Invalid

Bug description:
  Hi,

  I just installed 12.04 and running "sudo halt" only halts the system
  instead of powering it off.

  This worked fine on 10.04 - running "halt" by itself powered off the
  machine and it looks like it is still configured to poweroff the box
  in /etc/default/halt in Precise but that doesn't happen.

  Is this the intended behavior? If so, is it documented somewhere?

  I saw a comment here:
  https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/880240/comments/4

  That said that halt no longer powers off the system, but I have been
  unable to find any documention explaining the change.

  Thanks,
  Charles

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: upstart 1.5-0ubuntu5
  ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
  Uname: Linux 3.2.0-24-generic x86_64
  NonfreeKernelModules: rr26xx
  ApportVersion: 2.0.1-0ubuntu7
  Architecture: amd64
  Date: Mon Apr 30 07:48:35 2012
  InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Release amd64 (20120424.1)
  ProcEnviron:
   TERM=xterm
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: upstart
  UpgradeStatus: No upgrade log present (probably fresh install)

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




More information about the foundations-bugs mailing list