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 subsequent ifup later in pre-start fails:

   exec ifup --allow auto $INTERFACE

then upstart will run the post-stop stanza:

post-stop exec ifdown --allow auto $INTERFACE

which doesn't check for lo and ends up tearing down even the basic
loopback.

Suggested fix:  Either skip ifdown if $INTERFACE=lo, or, to make sure
any non-basic loopback is ifdown-ed, run the ifdown and then ifconfig
back up the basic loopback.


--
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