Control: reopen -1
Jesse Smith writes ("Bug#586709: closed by Thomas Goirand"):
> Both of these assertions are mistaken. /etc/init.d/halt gets called as
> part of the shutdown process. That's where it is getting run and the
> script runs halt, passing the necessary parameters to match the bahavour
> defined in /etc/default/halt. It does not offer a way to accept
> parameters from other, outside sources such as halt or shutdown. If it
> did then we could set a flag to indicate an override parameter.
Right, your technical analysis is quite correct I think.
There is a design problem here, of how to convey the information from
the command line of /sbin/halt, to the script eventually run by init.
But the lack of such a mechanism is definitely a bug in the Debian
sysvinit source package, which contains all of this machinery; and, as
a result of the lack of a mechanism, running /sbin/halt sometimes does
not have the desired and documented effect.
So, anyway, reopening this bug.
Thanks,
Ian.
--
Ian Jackson <[email protected]> These opinions are my own.
If I emailed you from an address @fyvzl.net or @evade.org.uk, that is
a private address which bypasses my fierce spamfilter.