Your message dated Sat, 5 Mar 2011 15:46:28 +0100
with message-id <[email protected]>
and subject line Re: Bug#616479: netbase: /etc/init.d/networking should depend 
on procps
has caused the Debian Bug report #616479,
regarding netbase: /etc/init.d/networking should depend on procps
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
616479: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=616479
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: netbase
Version: 4.45
Severity: normal

In debian's recommendation, I've enabled rp_filter in /etc/sysctl.conf. 
Meanwhile I've two ethernet interfaces
configured in /etc/network/interfaces, and during bootup, the sysctl.conf and 
the interfaces files get processed
paralelly, resulting in my eth0 having rp_filter turned off, while eth1 has 
rp_filter turned on. And of course,
with some reboots, this occasionally changes, so I suppose the networking 
script should depend on procps somehow.

Regards,


-- System Information:
Debian Release: 6.0
  APT prefers squeeze-updates
  APT policy: (500, 'squeeze-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-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  initscripts             2.88dsf-13.1     scripts for initializing and shutt
ii  lsb-base                3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip

Versions of packages netbase recommends:
ii  ifupdown                      0.6.10     high level tools to configure netw

netbase suggests no packages.

-- Configuration Files:
/etc/init.d/networking changed:
PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin"
[ -x /sbin/ifup ] || exit 0
. /lib/lsb/init-functions
process_options() {
    [ -e /etc/network/options ] || return 0
    log_warning_msg "/etc/network/options still exists and it will be IGNORED! 
Read README.Debian of netbase."
}
check_network_file_systems() {
    [ -e /proc/mounts ] || return 0
    if [ -e /etc/iscsi/iscsi.initramfs ]; then
        log_warning_msg "not deconfiguring network interfaces: iSCSI root is 
mounted."
        exit 0
    fi
    exec 9<&0 < /proc/mounts
    while read DEV MTPT FSTYPE REST; do
        case $DEV in
        /dev/nbd*|/dev/nd[a-z]*|/dev/etherd/e*)
            log_warning_msg "not deconfiguring network interfaces: network 
devices still mounted."
            exit 0
            ;;
        esac
        case $FSTYPE in
        
nfs|nfs4|smbfs|ncp|ncpfs|cifs|coda|ocfs2|gfs|pvfs|pvfs2|fuse.httpfs|fuse.curlftpfs)
            log_warning_msg "not deconfiguring network interfaces: network file 
systems still mounted."
            exit 0
            ;;
        esac
    done
    exec 0<&9 9<&-
}
check_network_swap() {
    [ -e /proc/swaps ] || return 0
    exec 9<&0 < /proc/swaps
    while read DEV MTPT FSTYPE REST; do
        case $DEV in
        /dev/nbd*|/dev/nd[a-z]*|/dev/etherd/e*)
            log_warning_msg "not deconfiguring network interfaces: network swap 
still mounted."
            exit 0
            ;;
        esac
    done
    exec 0<&9 9<&-
}
case "$1" in
start)
        process_options
        log_action_begin_msg "Configuring network interfaces"
        if ifup -a; then
            log_action_end_msg $?
        else
            log_action_end_msg $?
        fi
        ;;
stop)
        check_network_file_systems
        check_network_swap
        log_action_begin_msg "Deconfiguring network interfaces"
        if ifdown -a --exclude=lo; then
            log_action_end_msg $?
        else
            log_action_end_msg $?
        fi
        ;;
force-reload|restart)
        process_options
        log_warning_msg "Running $0 $1 is deprecated because it may not enable 
again some interfaces"
        log_action_begin_msg "Reconfiguring network interfaces"
        ifdown -a --exclude=lo || true
        if ifup -a --exclude=lo; then
            log_action_end_msg $?
        else
            log_action_end_msg $?
        fi
        ;;
*)
        echo "Usage: /etc/init.d/networking {start|stop}"
        exit 1
        ;;
esac
exit 0


-- no debconf information



--- End Message ---
--- Begin Message ---
On Mar 04, Richard Kojedzinszky <[email protected]> wrote:

> paralelly, resulting in my eth0 having rp_filter turned off, while eth1 has 
> rp_filter turned on. And of course,
> with some reboots, this occasionally changes, so I suppose the networking 
> script should depend on procps somehow.
This would not change anything.
This is a complex issue which currently has no good solution, but should
be solved somehow by ifupdown (I assume that there are already multiple
bugs open about this) or a better configuration on your part (ask for
help on your favourite users support mailing list/newsgroup/forum).

-- 
ciao,
Marco

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to