[Bug 929382] Re: package fails to install: SIOCSIFNETMASK: Cannot assign requested address

2012-02-09 Thread Launchpad Bug Tracker
This bug was fixed in the package lxc - 0.7.5-3ubuntu21 --- lxc (0.7.5-3ubuntu21) precise; urgency=low * debian/lxc.init: Exit cleanly in undo_network(), to avoid the init.d script and thus the package installation to fail if the network could not be configured for LXC. (LP:

[Bug 929382] Re: package fails to install: SIOCSIFNETMASK: Cannot assign requested address

2012-02-09 Thread Serge Hallyn
exit 0 sounds fine, thanks. -- 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 notificat

[Bug 929382] Re: package fails to install: SIOCSIFNETMASK: Cannot assign requested address

2012-02-09 Thread Martin Pitt
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

[Bug 929382] Re: package fails to install: SIOCSIFNETMASK: Cannot assign requested address

2012-02-09 Thread Martin Pitt
However, in both cases it apparently fails in the same exit path. It seems that the trapping is meant to call undo_network() on failure (which works), then undo_network() goes all the way to the end, and then the script just exits: .0.3.1 --dhcp-range 10.0.3.2,10.0.3.254 --dhcp-lease-max=253 --dhc

[Bug 929382] Re: package fails to install: SIOCSIFNETMASK: Cannot assign requested address

2012-02-09 Thread Martin Pitt
I logged into the dist-upgrade tester VM for main-all, and tried to install lxc: Setting up lxc (0.7.5-3ubuntu20) ... AppArmor parser error for /etc/apparmor.d/usr.bin.lxc-start in /etc/apparmor.d/usr.bin.lxc-start at line 40: Invalid capability syslog. * Starting Linux Containers dnsmasq: fa

[Bug 929382] Re: package fails to install: SIOCSIFNETMASK: Cannot assign requested address

2012-02-09 Thread Martin Pitt
I confirm that this is not a consequence of bug 929381. I cannot reproduce this in a lucid live system, so the SIOCSIFNETMASK might be something special in the dist-upgrader test environment? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed

[Bug 929382] Re: package fails to install: SIOCSIFNETMASK: Cannot assign requested address

2012-02-09 Thread Martin Pitt
It could potentially be a followup failure from the cgroup-lite failure in bug 929381. However, as this was a dist-upgrade, it was running under a lucid kernel which might not yet support the necessary features. It needs to fail gracefully then. -- You received this bug notification because you a

[Bug 929382] Re: package fails to install: SIOCSIFNETMASK: Cannot assign requested address

2012-02-09 Thread Jean-Baptiste Lallement
** Tags added: dist-upgrade lucid2precise precise qa-daily-testing -- 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 r