As the script always exits right away after the trap, the only way that
I found to do that cleanly is to add an "exit 0":

undo_network() {
        [...]
        log_failure_msg "Failed to set up LXC network"
        exit 0
}

This allows the package to get configured and not break upgrades even if
LXC setup fails for some reason. Does that sound acceptable?

** Changed in: lxc (Ubuntu Precise)
       Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/929382

Title:
  package fails to install: SIOCSIFNETMASK: Cannot assign requested
  address

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/929382/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to