[Pkg-sysvinit-devel] Bug#632091: Please add an interface to disable use of the '-i' option.

Wouter Verhelst wouter at debian.org
Wed Jun 29 15:28:05 UTC 2011


Package: initscripts
Version: 2.88dsf-13.10

Hi,

Quite a while ago, I put some effort in getting root-on-NBD working, and
the support for that should have released with squeeze.

Unfortunately, today I find that it doesn't work perfectly anymore. That
is, I can boot the machine, work with it, etc, but at shutdown time, the
poweroff does not work anymore.

This is because halt is passed '-i' option these days, which (if I'm not
mistaken) it did not do originally; and while it is possible to disable
this by setting the NETDOWN variable in /etc/init.d/halt to 'no', that
isn't something I can do from the nbd-client initscript (which is where
I'm currently creating /lib/init/rw/sendsigs.omit.d/nbd-client).

I would therefore like to request that the initscript is modified in one
of the following ways:
- have the halt script not use 'halt -i' by default,
- provide an interface for me to specify that the network should not be
  brought down at shutdown time, or
- use similar logic to the "networking" script so that the network is
  not brought down if the system is running off the network.

Personally, I prefer the first option. The networking script is already
supposed to bring the network down, which means that if it didn't do
that, it probably had a very good reason not to.

Because of this bug, when running off the network, 'halt' will saw off
the branch on which it is sitting, causing the kernel to panic rather
than power down the system, which is pretty silly.

-- 
The volume of a pizza of thickness a and radius z can be described by
the following formula:

pi zz a





More information about the Pkg-sysvinit-devel mailing list