*** This bug is a duplicate of bug 703800 ***
    https://bugs.launchpad.net/bugs/703800

This happens because 'restart service' does not cause service's post-stop
to be executed.  Only it's pre-stop is executed.

Note that if you want to stop the dnsmasq, you can work around this by
doing

stop lxc-net; start lxc-net

The pre-start also would not be executed on a restart, so just changing
the post-stop would not suffice.  We'd have to change the pre-start to
'script'.

I'm not sure whether there is any downside to doing so.

 status: confirmed
 importance: medium


** Changed in: lxc (Ubuntu)
   Importance: Low => Medium

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1043588

Title:
  sudo restart lxc-net does not kill/restart dnsmasq

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to