[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: System broken after full-upgrade: please help!



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 08/10/2014 02:45 AM, Bonno Bloksma wrote:

> Wanderer: While using Wheezy starting to use poweroff is the proper
> way to migrate from halt. But I do agree, it might have been a good
> idea to communicate this in a better way.

That's Debian-specific, though. halt and poweroff (and systemd) are not
only Debian.

> Charlie: According to the man pages all 3, halt, poweroff and reboot,
> use the shutdown command to perform the necessary steps when not
> starting in runlevel 0 or 6, which is pretty much always. So it is
> really weird that in your case poweroff does not work but shutdown
> does.
> 
> ----<quote>-----
> If  halt  or  reboot is called when the system is not in runlevel 0
> or 6, in other words when it's running normally, shutdown will be
> invoked instead (with the -h or -r flag). For more info see the
> shutdown(8) manpage.

That's weird, and if it represents a change made by systemd, possibly
unfortunate. I know of at least one somewhat degenerate, but broadly
distributed and not uncommonly used, environment (which I think may be
based on SuSE) where 'shutdown' does not work at all - exits with an
error when called - but 'halt' and 'reboot' do work. (And probably so
does 'poweroff'.)

Unless that environment is in fact running in one of those two
runlevels, which I'll admit is not impossible (though I suspect it's
using its own homegrown init system), that would seem to imply that
those commands are not invoking 'shutdown'...

- --
   The Wanderer

Secrecy is the beginning of tyranny.

A government exists to serve its citizens, not to control them.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCgAGBQJT52mnAAoJEASpNY00KDJrbSMP/1L277j3sfAQb+QTEwgwd4Xz
RCwwqRgiUxmzAQ8Be72QpQxfGC2A4wWleXCXXg7rdben0voLWXcljnFuIA9G2h0r
F3AHyZd7ARZE5o74xakd1yKmNLMcw58+q72+m8Wgzl2qMT9gALg07KQjuuoOPYYZ
jr/wYvZguPmdQ1lsNdxVYRjPTBqXdAj3xIy0bvSB9dtqj+xyotVKOB4P1SjE8Mh5
PRxcIg3IqCBHX8jryo32jbg9u7YIr8xkxwx3L+7R+VR9kCXbwrtw4lOkviXdcv31
O0P2Q5myyWkTr8r5RVrBXWKTyUpDWhsYbgL0nbiBSSR+FDaZEjLypFKPbzhkNXlK
hKZOwTd3uVdL4Oumd6QR37ge1pXVm5UjAMtQzm0UUDc5pkZxbdzx+Gagw+nzaPH/
ycJPctr4ATx9GaCMkhCHsSOKM+ODM4ToAchvFRM2u0IGZ/TLhYcBK3WmWx/qOOSi
PWs3xIQev5oePyB0sm/NvEkeP405giibvX7nlOCF4IWJS0KHrWIDv2ozA6KBDpdD
YfmBhPS66iLODQGaIJN2g9fyTeOQjtzLoicxTD/H2J89/wOyTYqtVIfSgmETPX1Y
ym/ZWIanqxo88uZH0SIKbc78T90xex8s4Lb7J1TnZNVPE/iL1TtgBKVAAdo6w7ji
aojKmqh46B3/JnM4p3kg
=CkVe
-----END PGP SIGNATURE-----


Reply to: