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

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



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
 
Thanks


-- System Information:
Debian Release: 5.0.1
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'proposed-updates'), (500, 'oldstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages netbase depends on:
ii  lsb-base                      3.2-20     Linux Standard Base 3.2 init scrip

Versions of packages netbase recommends:
ii  ifupdown                      0.6.8+nmu1 high level tools to configure netw

netbase suggests no packages.

-- no debconf information


----- End forwarded message -----

-- 
ciao,
Marco


Reply to: