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

Martin Pitt martin.pitt at ubuntu.com
Thu Feb 9 11:55:57 UTC 2012


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 --dhcp-no-
override --except-interface=lo --interface=lxcbr0

dnsmasq: failed to bind listening socket for fe80::188f:6ff:fe83:141: Address already in use
+ undo_network
+ [ -f /var/run/lxc/dnsmasq.pid ]
+ iptables -t nat -D POSTROUTING -s 10.0.3.0/24 -j MASQUERADE
[...]
+ echo  * Failed to set up LXC network
 * Failed to set up LXC network
root at ubuntu:~# echo $?
2

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



More information about the Ubuntu-server-bugs mailing list