Package: ifupdown
Version: 0.6.9
Severity: normal
Tags: patch

Currently, the /etc/init.d/ifupdown script doesn't depend on any local
filesystems being mounted.  However, it does mess with the local
filesystem (/etc/network/run in particular).  On my system,
/etc/network/run is a link to /var/run, which is a tmpfs filesystem
mounted by mountall.sh.  However, because of the missing dependency,
both of the scripts are ordered as S10 in rcS.d, so that ifupdown is
actaully called before mounting /var/run.

The following patch should do the trick:

--- /tmp/ifupdown       2009-12-24 06:05:06.074492795 +0000
+++ ifupdown    2009-12-24 05:55:37.000000000 +0000
@@ -1,7 +1,7 @@
 #!/bin/sh -e
 ### BEGIN INIT INFO
 # Provides:          ifupdown
-# Required-Start:    ifupdown-clean
+# Required-Start:    ifupdown-clean mountkernfs $local_fs
 # Required-Stop:     $local_fs
 # Default-Start:     S
 # Default-Stop:      0 6


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

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

Versions of packages ifupdown depends on:
ii  libc6                         2.10.2-2   GNU C Library: Shared libraries
ii  lsb-base                      3.2-23     Linux Standard Base 3.2 init scrip
ii  net-tools                     1.60-23    The NET-3 networking toolkit

ifupdown recommends no packages.

Versions of packages ifupdown suggests:
ii  dhcp3-client               3.1.3-1       DHCP client
ii  iproute                    20090324-1    networking and traffic control too
ii  ppp                        2.4.4rel-10.1 Point-to-Point Protocol (PPP) - da

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to