Package: netplug
Version: 1.2.9.2-1
Severity: normal
The netplug daemon crashed (I don't know when exactly), so that when
I plugged in the Ethernet cable, nothing happened.
The netplugd entries from the /var/log/syslog file:
Dec 17 03:09:26 xvii netplugd[1983]: eth0: state ACTIVE flags 0x00011043
UP,BROADCAST,RUNNING,MULTICAST,10000 -> 0x00001002 BROADCAST,MULTICAST
Dec 17 03:09:26 xvii netplugd[21344]: /etc/netplug/netplug eth0 probe -> pid
21344
Dec 17 03:09:26 xvii netplugd[1983]: eth0: state PROBING flags 0x00001002
BROADCAST,MULTICAST -> 0x00001003 UP,BROADCAST,MULTICAST
Dec 17 03:09:26 xvii netplugd[1983]: eth0: state PROBING_UP pid 21344 exited
status 0
Dec 17 03:09:28 xvii netplugd[1983]: eth0: state INACTIVE flags 0x00001003
UP,BROADCAST,MULTICAST -> 0x00011043 UP,BROADCAST,RUNNING,MULTICAST,10000
Dec 17 03:09:28 xvii netplugd[21358]: /etc/netplug/netplug eth0 in -> pid 21358
Dec 17 03:09:34 xvii netplugd[1983]: eth0: state INNING flags 0x00011043
UP,BROADCAST,RUNNING,MULTICAST,10000 -> 0x00001003 UP,BROADCAST,MULTICAST
Dec 17 03:09:57 xvii netplugd[1983]: eth0: state WAIT_IN pid 21358 exited
status 0
Dec 17 03:09:57 xvii netplugd[21685]: /etc/netplug/netplug eth0 out -> pid 21685
Dec 17 03:09:57 xvii netplugd[1983]: eth0: state OUTING flags 0x00001003
UP,BROADCAST,MULTICAST -> 0x00001002 BROADCAST,MULTICAST
Dec 17 03:10:08 xvii netplugd[1983]: eth0: state DOWNANDOUT flags 0x00001002
BROADCAST,MULTICAST -> 0x00001003 UP,BROADCAST,MULTICAST
Dec 17 03:10:08 xvii netplugd[1983]: eth0: unexpected state DOWNANDOUT for UP
I suppose that the daemon was confused by the unexpected state.
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1,
'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.1.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages netplug depends on:
ii iproute 20111117-1
ii libc6 2.13-23
netplug recommends no packages.
netplug suggests no packages.
-- Configuration Files:
/etc/netplug/netplug changed:
PATH=/usr/bin:/bin:/usr/sbin:/sbin
export PATH
dev="$1"
action="$2"
case "$action" in
in)
if [ -x /sbin/ifup ]; then
# After suspend/resume, the interface is still up, and this makes
# ifup fail with the error "interface eth0 already configured" if
# the option --force is not given.
logger "/sbin/ifup --force -v $dev"
exec /sbin/ifup --force -v "$dev"
else
echo "Please teach me how to plug in an interface!" 1>&2
exit 1
fi
;;
out)
if [ -x /sbin/ifdown ]; then
# At least on Fedora Core 1, the call to ip addr flush infloops
# /sbin/ifdown $dev && exec /sbin/ip addr flush $dev
logger "/sbin/ifdown -v $dev"
exec /sbin/ifdown -v "$dev"
else
echo "Please teach me how to unplug an interface!" 1>&2
exit 1
fi
;;
probe)
exec /sbin/ip link set "$dev" up >/dev/null 2>&1
;;
*)
echo "I have been called with a funny action of '%s'!" 1>&2
exit 1
;;
esac
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]