Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#20636 - shutdown -P doesn't poweroff

Attached to Project: Arch Linux
Opened by Hugh Coleman (Ptolom) - Friday, 27 August 2010, 14:55 GMT
Last edited by Jan de Groot (JGC) - Saturday, 28 August 2010, 18:31 GMT
Task Type Bug Report
Category System
Status Closed
Assigned To No-one
Architecture i686
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Running "shutdown -P" drops to single user mode instead of halting and powering off. Reproduced on two different installs.
This task depends upon

Closed by  Jan de Groot (JGC)
Saturday, 28 August 2010, 18:31 GMT
Reason for closing:  Not a bug
Additional comments about closing:  This is documented behaviour.
Comment by Hugh Coleman (Ptolom) - Friday, 27 August 2010, 15:51 GMT
$ uname -a
Linux phantom 2.6.34-ARCH #1 SMP PREEMPT Tue Aug 10 21:38:22 CEST 2010 i686 Intel(R) Pentium(R) 4 CPU 2.93GHz GenuineIntel GNU/Linux
Comment by frederick_metzengerstein (metzengerstein) - Friday, 27 August 2010, 18:18 GMT
Examine the shutdown manpage. -P works only in conjunction with the halt option -h
Or use poweroff instead.

Nevertheless this shouldn't happen.
On grml, for example, -P and -H require -h and you get a proper warning message.
Comment by Jan de Groot (JGC) - Saturday, 28 August 2010, 08:35 GMT
From the manpage:
"runlevel 1 is used to put to system into a state where administrative tasks can be performed; this is the default if neither the -h or -r flag is given to shutdown."
Comment by Hugh Coleman (Ptolom) - Saturday, 28 August 2010, 09:39 GMT
Ah right, I thought it might be that. I was just remembering it working on a different distro.

Loading...