[Touch-packages] [Bug 1562111] Re: network-manager no longer restarts dnsmasq
** Changed in: network-manager (Ubuntu) Importance: Undecided => Low ** Changed in: network-manager (Ubuntu) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to network-manager in Ubuntu. https://bugs.launchpad.net/bugs/1562111 Title: network-manager no longer restarts dnsmasq Status in network-manager package in Ubuntu: Fix Released Bug description: restarting Network Manager does not have any effect on it's child dnsmasq (nor does stopping and starting) ubuntu@ubuntu:~$ pidof dnsmasq 2355 ubuntu@ubuntu:~$ sudo systemctl restart NetworkManager ubuntu@ubuntu:~$ pidof dnsmasq 2355 This problem started in 15.10 and still exists in 16.04 beta2 - it works as expected in 14.04. The upshot is you cannot load any extra dnsmasq configuration set in the conf dir /etc/NetworkManager/dnsmasq.d/ because dnsmasq doesn't get restarted. (As a related issue dnsmasq is also running as 'nobody' and I don't think it should, Bug #1105493) ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: network-manager 1.0.4-0ubuntu10 ProcVersionSignature: Ubuntu 4.4.0-15.31-generic 4.4.6 Uname: Linux 4.4.0-15-generic x86_64 ApportVersion: 2.20-0ubuntu3 Architecture: amd64 CurrentDesktop: Unity Date: Fri Mar 25 18:13:33 2016 IfupdownConfig: # interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet loopback IpRoute: default via 192.168.0.1 dev wlp4s0 proto static metric 600 169.254.0.0/16 dev wlp4s0 scope link metric 1000 192.168.0.0/24 dev wlp4s0 proto kernel scope link src 192.168.0.107 metric 600 NetworkManager.state: [main] NetworkingEnabled=true WirelessEnabled=true WWANEnabled=true WimaxEnabled=true ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR= LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: network-manager UpgradeStatus: No upgrade log present (probably fresh install) nmcli-con: NAMEUUID TYPE TIMESTAMP TIMESTAMP-REAL AUTOCONNECT AUTOCONNECT-PRIORITY READONLY DBUS-PATH ACTIVE DEVICE STATE ACTIVE-PATH Wired connection 1 53d8bcbd-4047-4705-904a-60eef9d821c1 802-3-ethernet 1458929440 Fri 25 Mar 2016 06:10:40 PM UTC yes 0 no/org/freedesktop/NetworkManager/Settings/1 no -- -- -- Mosquitoa88863fb-196e-4000-8103-880e0698d514 802-11-wireless 1458929448 Fri 25 Mar 2016 06:10:48 PM UTC yes 0 no/org/freedesktop/NetworkManager/Settings/0 yes wlp4s0 activated /org/freedesktop/NetworkManager/ActiveConnection/0 nmcli-dev: DEVICE TYPE STATEDBUS-PATH CONNECTION CON-UUID CON-PATH wlp4s0 wifi connected/org/freedesktop/NetworkManager/Devices/1 Mosquitoa88863fb-196e-4000-8103-880e0698d514 /org/freedesktop/NetworkManager/ActiveConnection/0 enp0s25 ethernet unavailable /org/freedesktop/NetworkManager/Devices/2 -- ---- lo loopback unmanaged/org/freedesktop/NetworkManager/Devices/0 -- ---- nmcli-nm: Error: command ['nmcli', '-f', 'all', 'nm'] failed with exit code 2: Error: Object 'nm' is unknown, try 'nmcli help'. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1562111/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1562111] Re: network-manager no longer restarts dnsmasq
@nivlac: yes, not sure why I added that. Anyway bug has been fixed now it seems, dnsmasq is now getting correctly restarted. $ pidof dnsmasq 16166 1693 1692 $ systemctl restart NetworkManager $ pidof dnsmasq 16966 1693 1692 (1692/3 are libvirt, so not restarted) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to network-manager in Ubuntu. https://bugs.launchpad.net/bugs/1562111 Title: network-manager no longer restarts dnsmasq Status in network-manager package in Ubuntu: New Bug description: restarting Network Manager does not have any effect on it's child dnsmasq (nor does stopping and starting) ubuntu@ubuntu:~$ pidof dnsmasq 2355 ubuntu@ubuntu:~$ sudo systemctl restart NetworkManager ubuntu@ubuntu:~$ pidof dnsmasq 2355 This problem started in 15.10 and still exists in 16.04 beta2 - it works as expected in 14.04. The upshot is you cannot load any extra dnsmasq configuration set in the conf dir /etc/NetworkManager/dnsmasq.d/ because dnsmasq doesn't get restarted. (As a related issue dnsmasq is also running as 'nobody' and I don't think it should, Bug #1105493) ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: network-manager 1.0.4-0ubuntu10 ProcVersionSignature: Ubuntu 4.4.0-15.31-generic 4.4.6 Uname: Linux 4.4.0-15-generic x86_64 ApportVersion: 2.20-0ubuntu3 Architecture: amd64 CurrentDesktop: Unity Date: Fri Mar 25 18:13:33 2016 IfupdownConfig: # interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet loopback IpRoute: default via 192.168.0.1 dev wlp4s0 proto static metric 600 169.254.0.0/16 dev wlp4s0 scope link metric 1000 192.168.0.0/24 dev wlp4s0 proto kernel scope link src 192.168.0.107 metric 600 NetworkManager.state: [main] NetworkingEnabled=true WirelessEnabled=true WWANEnabled=true WimaxEnabled=true ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR= LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: network-manager UpgradeStatus: No upgrade log present (probably fresh install) nmcli-con: NAMEUUID TYPE TIMESTAMP TIMESTAMP-REAL AUTOCONNECT AUTOCONNECT-PRIORITY READONLY DBUS-PATH ACTIVE DEVICE STATE ACTIVE-PATH Wired connection 1 53d8bcbd-4047-4705-904a-60eef9d821c1 802-3-ethernet 1458929440 Fri 25 Mar 2016 06:10:40 PM UTC yes 0 no/org/freedesktop/NetworkManager/Settings/1 no -- -- -- Mosquitoa88863fb-196e-4000-8103-880e0698d514 802-11-wireless 1458929448 Fri 25 Mar 2016 06:10:48 PM UTC yes 0 no/org/freedesktop/NetworkManager/Settings/0 yes wlp4s0 activated /org/freedesktop/NetworkManager/ActiveConnection/0 nmcli-dev: DEVICE TYPE STATEDBUS-PATH CONNECTION CON-UUID CON-PATH wlp4s0 wifi connected/org/freedesktop/NetworkManager/Devices/1 Mosquitoa88863fb-196e-4000-8103-880e0698d514 /org/freedesktop/NetworkManager/ActiveConnection/0 enp0s25 ethernet unavailable /org/freedesktop/NetworkManager/Devices/2 -- ---- lo loopback unmanaged/org/freedesktop/NetworkManager/Devices/0 -- ---- nmcli-nm: Error: command ['nmcli', '-f', 'all', 'nm'] failed with exit code 2: Error: Object 'nm' is unknown, try 'nmcli help'. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1562111/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1562111] Re: network-manager no longer restarts dnsmasq
DNSMASQ runs as user nobody per design of dnsmasq devs. from the manpage: -u, --user= Specify the userid to which dnsmasq will change after startup. Dnsmasq must normally be started as root, but it will drop root privileges after startup by changing id to another user. Normally this user is "nobody" but that can be over-ridden with this switch. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to network-manager in Ubuntu. https://bugs.launchpad.net/bugs/1562111 Title: network-manager no longer restarts dnsmasq Status in network-manager package in Ubuntu: New Bug description: restarting Network Manager does not have any effect on it's child dnsmasq (nor does stopping and starting) ubuntu@ubuntu:~$ pidof dnsmasq 2355 ubuntu@ubuntu:~$ sudo systemctl restart NetworkManager ubuntu@ubuntu:~$ pidof dnsmasq 2355 This problem started in 15.10 and still exists in 16.04 beta2 - it works as expected in 14.04. The upshot is you cannot load any extra dnsmasq configuration set in the conf dir /etc/NetworkManager/dnsmasq.d/ because dnsmasq doesn't get restarted. (As a related issue dnsmasq is also running as 'nobody' and I don't think it should, Bug #1105493) ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: network-manager 1.0.4-0ubuntu10 ProcVersionSignature: Ubuntu 4.4.0-15.31-generic 4.4.6 Uname: Linux 4.4.0-15-generic x86_64 ApportVersion: 2.20-0ubuntu3 Architecture: amd64 CurrentDesktop: Unity Date: Fri Mar 25 18:13:33 2016 IfupdownConfig: # interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet loopback IpRoute: default via 192.168.0.1 dev wlp4s0 proto static metric 600 169.254.0.0/16 dev wlp4s0 scope link metric 1000 192.168.0.0/24 dev wlp4s0 proto kernel scope link src 192.168.0.107 metric 600 NetworkManager.state: [main] NetworkingEnabled=true WirelessEnabled=true WWANEnabled=true WimaxEnabled=true ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR= LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: network-manager UpgradeStatus: No upgrade log present (probably fresh install) nmcli-con: NAMEUUID TYPE TIMESTAMP TIMESTAMP-REAL AUTOCONNECT AUTOCONNECT-PRIORITY READONLY DBUS-PATH ACTIVE DEVICE STATE ACTIVE-PATH Wired connection 1 53d8bcbd-4047-4705-904a-60eef9d821c1 802-3-ethernet 1458929440 Fri 25 Mar 2016 06:10:40 PM UTC yes 0 no/org/freedesktop/NetworkManager/Settings/1 no -- -- -- Mosquitoa88863fb-196e-4000-8103-880e0698d514 802-11-wireless 1458929448 Fri 25 Mar 2016 06:10:48 PM UTC yes 0 no/org/freedesktop/NetworkManager/Settings/0 yes wlp4s0 activated /org/freedesktop/NetworkManager/ActiveConnection/0 nmcli-dev: DEVICE TYPE STATEDBUS-PATH CONNECTION CON-UUID CON-PATH wlp4s0 wifi connected/org/freedesktop/NetworkManager/Devices/1 Mosquitoa88863fb-196e-4000-8103-880e0698d514 /org/freedesktop/NetworkManager/ActiveConnection/0 enp0s25 ethernet unavailable /org/freedesktop/NetworkManager/Devices/2 -- ---- lo loopback unmanaged/org/freedesktop/NetworkManager/Devices/0 -- ---- nmcli-nm: Error: command ['nmcli', '-f', 'all', 'nm'] failed with exit code 2: Error: Object 'nm' is unknown, try 'nmcli help'. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1562111/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp