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

Re: Bug#529624: netbase: networking should not be stopped on reboot or halt



On Thursday 21 May 2009 01:56:16 Marco d'Itri wrote:
> Does anybody see any downsides to this?
>
> ----- Forwarded message from Teodor <mteodor@gmail.com> -----
>
> From: Teodor <mteodor@gmail.com>
> To: Debian Bug Tracking System <submit@bugs.debian.org>
> Subject: Bug#529624: netbase: networking should not be stopped on reboot or
> halt
>
> Package: netbase
> Version: 4.34
> Severity: important
> Tags: patch
>
> The current LSB header in the /etc/init.d/networking script contains:
> # Default-Stop: 0 6
>
> The networking should not be stopped at reboot or poweroff/halt since some software depends on the networking to work until the host is down. One example is 'apcupsd' and 'nut' software which needs to be able to detect on slaves the power status reported by the master host which is actually connected to the UPS. If the networking is stopped than the slaves cannot connect to the remote daemon even if the UPS daemon is still working on the master.
>
> The patch to achieve this is quite simple:
>
> --- /etc/init.d/networking 2008-07-26 02:02:15.000000000 +0300
> +++ /etc/init.d/networking_new 2009-05-20 18:45:36.000000000 +0300
> @@ -4,7 +4,7 @@
> # Required-Start: mountkernfs ifupdown $local_fs
> # Required-Stop: ifupdown $local_fs
> # Default-Start: S
> -# Default-Stop: 0 6
> +# Default-Stop:
> # Short-Description: Raise network interfaces.
> ### END INIT INFO
>
The patch does not handle upgrades; existing rc.d links will be preserved
and not changed to suit the new LSB defaults.


Thanks, Kel.


Reply to: