[Bug 1043588] Re: sudo restart lxc-net does not kill/restart dnsmasq

Serge Hallyn 1043588 at bugs.launchpad.net
Sun May 25 23:11:50 UTC 2014


*** 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
Server Team, which is subscribed to lxc in 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



More information about the Ubuntu-server-bugs mailing list