On 2011-03-28 05:36:39 +0200, Vincent Lefevre wrote: > My /etc/netplug/netplug script contains: > > [...] > case "$action" in > in) > if [ -x /sbin/ifup ]; then > logger "/sbin/ifup -v $dev" > exec /sbin/ifup -v "$dev" > else > [...]
I've added a "strace -f -o ..." before /sbin/ifup to see what happens, and the strace output ends with: 5771 write(2, "/sbin/ifup: interface eth0 alrea"..., 46) = 46 5771 exit_group(0) = ? This corresponds to the message (unfortunately not visible anywhere): interface eth0 already configured So, it may not be a bug in the ifupdown package, but I'm not sure. The problem is that after the suspend/resume, the interface is up, but it doesn't have an IP address. First, is it a correct behavior? If no, which package is the culprit? If yes, shouldn't "ifup eth0" (without --force) really configure the interface when it is up but doesn't have an IP address? If not, then the bug should be reassigned to netplug, because its default script just does /sbin/ifup "$dev", which is then not sufficient (I suppose that the --force option should be given). -- Vincent Lefèvre <[email protected]> - Web: <http://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon) -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

