** Description changed: + ======================== + 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_LXC_BRIDGE.*$/USE_LXC_BRIDGE="false"/' /etc/default/lxc + . 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_BRIDGE="true" and stop it. Regards.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1019290 Title: stop lxc-net should do stop even when USE_LXC_BRIDGE="false" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1019290/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs