Bug#704014: ifupdown: upstart script tears down lo if ifup fails

2013-03-26 Thread rlink
Package: ifupdown Version: 0.7.40 The network-interfaces.conf upstart script goes out of its way to make sure basic loopback is up in pre-start: if [ "$INTERFACE" = lo ]; then # bring this up even if /etc/network/interfaces is broken ifconfig lo 127.0.0.1 up || true But if the

Bug#704003: ifupdown: race condition updating state file

2013-03-26 Thread rlink+debian
Package: ifupdown Version: 0.7.40 Every so often, parallel invocations of ifup (for example, by Upstart) will clobber each other's tmpstatefile in update_state(), causing the loser(s) to fail. update_state() opens the statefile, gets a F_SETLKW lock on it, opens a tmpfile, filters the contents o