Package: ifplugd
Version: 0.28-5
Severity: important
Tags: patch
User: [EMAIL PROTECTED]
Usertags: incorrect-dependency

Hi,

When using LSB dependency information for sequencing boot order with insserv,
ifplugd is stopped after /etc/init.d/sendsigs is run, causing the initscript to
behave poorly at shutdown (it attempts to kill processes already killed by
sendsigs).

To fix this, the Required-Start and Required-Stop sections of LSB header should
depend on $remote_fs virtual facility.

Also, the LSB header descriptions could be improved and the
X-UnitedLinux-Should-{Start,Stop} sections will never be used and should be
removed.

Attached is a patch for these issues against svn checkout from just before.

Thanks, Kel.

---
Index: debian/ifplugd.init
===================================================================
--- debian/ifplugd.init (revision 8702)
+++ debian/ifplugd.init (working copy)
@@ -17,25 +17,15 @@
 # along with ifplugd; if not, write to the Free Software Foundation,
 # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
 
-# ifplugd      Brings up/down network automatically
-#
-# chkconfig: 2345 11 89
-# description: Brings networks interfaces up and down automatically when \
-#              the cable is removed / inserted
-#
-# processname: /usr/sbin/ifplugd
-# config: /etc/default/ifplugd
-
 ### BEGIN INIT INFO
 # Provides:          ifplugd
-# Required-Start:    $network
-# X-UnitedLinux-Should-Start:
-# Required-Stop:     $network
-# X-UnitedLinux-Should-Stop: $
+# Required-Start:    $network $remote_fs
+# Required-Stop:     $network $remote_fs
 # Default-Start:     2 3 4 5
 # Default-Stop:      0 1 6
-# Short-Description: ifplugd daemon
-# Description:       Start ifplugd
+# Short-Description: Brings up/down network automatically
+# Description:       Brings networks interfaces up and down automatically when
+#                    the cable is removed / inserted
 ### END INIT INFO
 
 CFG=/etc/default/ifplugd
---



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to