Package: netbase
Version: 4.36
Severity: serious
Tags: patch
Justification: fails to install
User: initscripts-ng-de...@lists.alioth.debian.org
Usertags: incorrect-dependency

Hi Marco,

in 4.33 you demoted ifupdown to a Recommends. If Recommends are setup to
not be installed by default (e.g. in build chroot), netbase now fails to
install, because insserv is now the default, and the LSB header of
/etc/init/networking has a strict dependency on ifupdown.

You should either dump the dependency again or make ifupdown an optional
dependency (Should-Start,Should-Stop) in the LSB header.

I've attached a patch for the latter.

Cheers,
Michael


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (300, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.30.3
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages netbase depends on:
ii  lsb-base                      3.2-23     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.

-- debconf information excluded
diff --git a/init.d/networking b/init.d/networking
index fc9af41..1e0a8da 100755
--- a/init.d/networking
+++ b/init.d/networking
@@ -1,8 +1,10 @@
 #!/bin/sh -e
 ### BEGIN INIT INFO
 # Provides:          networking
-# Required-Start:    mountkernfs ifupdown $local_fs
-# Required-Stop:     ifupdown $local_fs
+# Required-Start:    mountkernfs $local_fs
+# Required-Stop:     $local_fs
+# Should-Start:      ifupdown
+# Should-Stop:       ifupdown
 # Default-Start:     S
 # Default-Stop:      0 6
 # Short-Description: Raise network interfaces.

Reply via email to