Scott

I can reproduce the restart issue, but using start/stop dnsmasq was
restarted:

ubuntu@server-15281:~$ ps axw | grep dnsm
 5367 ?        S      0:00 dnsmasq -u lxc-dnsmasq --strict-order 
--bind-interfaces --pid-file=/var/run/lxc/dnsmasq.pid --conf-file= 
--listen-address 10.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
ubuntu@server-15281:~$ sudo stop lxc-net
lxc-net stop/waiting
ubuntu@server-15281:~$ ps axw | grep dnsm
 5409 pts/0    S+     0:00 grep --color=auto dnsm
ubuntu@server-15281:~$ sudo start lxc-net
lxc-net start/running
ubuntu@server-15281:~$ ps axw | grep dnsm
 5425 ?        S      0:00 dnsmasq -u lxc-dnsmasq --strict-order 
--bind-interfaces --pid-file=/var/run/lxc/dnsmasq.pid --conf-file= 
--listen-address 10.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

I did get confused by the duplicated configuration entries for network
ranges in /etc/default/lxc and /etc/init/lxc-net.conf.

Marking 'Low' as I think it only impacts the restart case - which can be
worked around using stop/start lxc-net.

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

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

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

** Also affects: lxc (Ubuntu Precise)
   Importance: Undecided
       Status: New

** Also affects: lxc (Ubuntu Quantal)
   Importance: Low
       Status: Triaged

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

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

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to