stop lxc-net should do stop even when USE_LXC_BRIDGE="false"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxc (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Precise |
Fix Released
|
Undecided
|
Serge Hallyn | ||
Quantal |
Fix Released
|
Low
|
Unassigned |
Bug Description
=======
SRU Justification:
1. Impact: 'stop lxc-net' may not actually tear down the lxc bridge
2. Development fix: don't shortcut 'stop lxc-net' if USE_LXC_BRIDGE is false
3. Stable fix: same as development fix.
4. Test case:
. sudo apt-get install lxc
. sudo sed -i 's/USE_
. sudo stop lxc-net
. ifconfig | grep lxcbr0
5. Regression potential: if done wrong, the worst this should do is to make 'stop lxc-net' give errors when it tries to shut down a non-existent network.
=======
After an installation on precise pangolin (0.7.5-3ubuntu59) , the lxcbr0 bridge is up and dnsmasq is running.
* edit /etc/default/lxc to pass USE_LXC_BRIDGE to "false"
* launch the command: stop lxc-net
The bridge is not stopped, the upstart script should detect that lxc-net was started with USE_LXC_
Regards.
Related branches
description: | updated |
Changed in lxc (Ubuntu Precise): | |
status: | New → In Progress |
assignee: | nobody → Serge Hallyn (serge-hallyn) |
Thanks for reporting this bug. That should indeed be fixed. Marking this Confirmed, with low priority since there is a workaround.