[Desktop-packages] [Bug 1666318] Re: Disconnecting and reconnecting docking station breaks DNS

2017-04-03 Thread gutschke
*** This bug is a duplicate of bug 1676810 ***
https://bugs.launchpad.net/bugs/1676810

** This bug has been marked a duplicate of bug 1676810
   Network Manager needs restarting from sleep

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1666318

Title:
  Disconnecting and reconnecting docking station breaks DNS

Status in network-manager package in Ubuntu:
  New

Bug description:
  I'm not sure which package this bug should be submitted to as service
  troubleshooting in the latest few Ubuntu releases is a jumbled mess.

  Anyway, here's how to repro the problem:
  - Lenovo Carbon X1 2016 (4th gen), OneLink+ docking station
  - Ethernet connected to docking station
  - Disconnect docking station
  - Reconnect docking station

  From this point on all DNS requests fail. Workarounds I found so far:
  - reboot the machine (not really a solution)
  - sudo system network-manager restart (requires sudo access)
  - usually in older releases I'd just poke around with the resolver config 
files, but anything I do seems to be ignored now so I gave up and posted a bug 
instead.

  Here's the journalctl log for NetworkManager, followed by an example
  of the problem:

  nico@nico-lenovo-ubuntu:~$ journalctl -u NetworkManager -f
  -- Logs begin at Sun 2017-02-19 00:10:56 GMT. --
  Feb 20 20:22:41 nico-lenovo-ubuntu NetworkManager[6715]:   
[1487622161.9976] dns-mgr: Writing DNS information to /sbin/resolvconf
  Feb 20 20:22:42 nico-lenovo-ubuntu dnsmasq[6728]: setting upstream servers 
from DBus
  Feb 20 20:22:42 nico-lenovo-ubuntu dnsmasq[6728]: using nameserver 
194.168.4.100#53(via lan1)
  Feb 20 20:22:42 nico-lenovo-ubuntu dnsmasq[6728]: using nameserver 
194.168.8.100#53(via lan1)
  Feb 20 20:22:42 nico-lenovo-ubuntu dnsmasq[6728]: using nameserver 
194.168.4.100#53(via wifi0)
  Feb 20 20:22:42 nico-lenovo-ubuntu dnsmasq[6728]: using nameserver 
194.168.8.100#53(via wifi0)
  Feb 20 20:22:42 nico-lenovo-ubuntu NetworkManager[6715]:   
[1487622162.0156] device (wifi0): Activation: successful, device activated.
  Feb 20 20:22:42 nico-lenovo-ubuntu NetworkManager[6715]:   
[1487622162.0169] manager: startup complete
  Feb 20 20:22:43 nico-lenovo-ubuntu NetworkManager[6715]:   
[1487622163.1408] manager: WiFi hardware radio set enabled
  Feb 20 20:22:43 nico-lenovo-ubuntu NetworkManager[6715]:   
[1487622163.1409] manager: WWAN hardware radio set disabled
  Feb 20 20:27:40 nico-lenovo-ubuntu dhclient[6736]: receive_packet failed on 
lan1: Network is down
  Feb 20 20:27:40 nico-lenovo-ubuntu NetworkManager[6715]:   
[1487622460.1588] manager: NetworkManager state is now CONNECTED_LOCAL
  Feb 20 20:27:40 nico-lenovo-ubuntu NetworkManager[6715]:   
[1487622460.1589] manager: NetworkManager state is now CONNECTED_GLOBAL
  Feb 20 20:27:40 nico-lenovo-ubuntu NetworkManager[6715]:   
[1487622460.1590] policy: set 'Auto ITADINANTA' (wifi0) as default for IPv4 
routing and DNS
  Feb 20 20:27:40 nico-lenovo-ubuntu NetworkManager[6715]:   
[1487622460.1590] device (lan1): state change: activated -> unmanaged (reason 
'removed') [100 10 36]
  Feb 20 20:27:40 nico-lenovo-ubuntu NetworkManager[6715]:   
[1487622460.1594] dhcp4 (lan1): canceled DHCP transaction, DHCP client pid 6736
  Feb 20 20:27:40 nico-lenovo-ubuntu NetworkManager[6715]:   
[1487622460.1595] dhcp4 (lan1): state changed bound -> done
  Feb 20 20:27:40 nico-lenovo-ubuntu NetworkManager[6715]:   
[1487622460.1618] dns-mgr: Writing DNS information to /sbin/resolvconf
  Feb 20 20:27:40 nico-lenovo-ubuntu dnsmasq[6728]: setting upstream servers 
from DBus
  Feb 20 20:27:40 nico-lenovo-ubuntu dnsmasq[6728]: using nameserver 
194.168.4.100#53(via wifi0)
  Feb 20 20:27:40 nico-lenovo-ubuntu dnsmasq[6728]: using nameserver 
194.168.8.100#53(via wifi0)
  Feb 20 20:27:40 nico-lenovo-ubuntu NetworkManager[6715]:  
[1487622460.1799] platform-linux: do-change-link[5]: failure changing link: 
failure 19 (No such device)
  Feb 20 20:27:40 nico-lenovo-ubuntu NetworkManager[6715]:   
[1487622460.1800] device (lan1): failed to disable userspace IPv6LL address 
handling
  Feb 20 20:27:40 nico-lenovo-ubuntu NetworkManager[6715]:   
[1487622460.1803] devices removed (path: 
/sys/devices/pci:00/:00:14.0/usb2/2-4/2-4.1/2-4.1.3/2-4.1.3:2.0/net/lan1,
 iface: lan1)
  Feb 20 20:27:56 nico-lenovo-ubuntu NetworkManager[6715]:   
[1487622476.6972] device (eth0): failed to find device 6 'eth0' with udev
  Feb 20 20:27:56 nico-lenovo-ubuntu NetworkManager[6715]:   
[1487622476.6990] manager: (eth0): new Ethernet device 
(/org/freedesktop/NetworkManager/Devices/4)
  Feb 20 20:27:56 nico-lenovo-ubuntu NetworkManager[6715]:   
[1487622476.7679] device (eth0): interface index 6 renamed iface from 'eth0' to 
'lan1'
  Feb 20 20:27:56 nico-lenovo-ubuntu NetworkManager[6715]:   
[1487622476.7742] devices added (path: 

[Desktop-packages] [Bug 1666318] Re: Disconnecting and reconnecting docking station breaks DNS

2017-02-20 Thread Nico OrrĂ¹
If it helps, commenting out/removing

  # dns=dnsmasq

from 
  
 /etc/NetworkManager/NetworkManager.conf

makes the problem go away.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1666318

Title:
  Disconnecting and reconnecting docking station breaks DNS

Status in network-manager package in Ubuntu:
  New

Bug description:
  I'm not sure which package this bug should be submitted to as service
  troubleshooting in the latest few Ubuntu releases is a jumbled mess.

  Anyway, here's how to repro the problem:
  - Lenovo Carbon X1 2016 (4th gen), OneLink+ docking station
  - Ethernet connected to docking station
  - Disconnect docking station
  - Reconnect docking station

  From this point on all DNS requests fail. Workarounds I found so far:
  - reboot the machine (not really a solution)
  - sudo system network-manager restart (requires sudo access)
  - usually in older releases I'd just poke around with the resolver config 
files, but anything I do seems to be ignored now so I gave up and posted a bug 
instead.

  Here's the journalctl log for NetworkManager, followed by an example
  of the problem:

  nico@nico-lenovo-ubuntu:~$ journalctl -u NetworkManager -f
  -- Logs begin at Sun 2017-02-19 00:10:56 GMT. --
  Feb 20 20:22:41 nico-lenovo-ubuntu NetworkManager[6715]:   
[1487622161.9976] dns-mgr: Writing DNS information to /sbin/resolvconf
  Feb 20 20:22:42 nico-lenovo-ubuntu dnsmasq[6728]: setting upstream servers 
from DBus
  Feb 20 20:22:42 nico-lenovo-ubuntu dnsmasq[6728]: using nameserver 
194.168.4.100#53(via lan1)
  Feb 20 20:22:42 nico-lenovo-ubuntu dnsmasq[6728]: using nameserver 
194.168.8.100#53(via lan1)
  Feb 20 20:22:42 nico-lenovo-ubuntu dnsmasq[6728]: using nameserver 
194.168.4.100#53(via wifi0)
  Feb 20 20:22:42 nico-lenovo-ubuntu dnsmasq[6728]: using nameserver 
194.168.8.100#53(via wifi0)
  Feb 20 20:22:42 nico-lenovo-ubuntu NetworkManager[6715]:   
[1487622162.0156] device (wifi0): Activation: successful, device activated.
  Feb 20 20:22:42 nico-lenovo-ubuntu NetworkManager[6715]:   
[1487622162.0169] manager: startup complete
  Feb 20 20:22:43 nico-lenovo-ubuntu NetworkManager[6715]:   
[1487622163.1408] manager: WiFi hardware radio set enabled
  Feb 20 20:22:43 nico-lenovo-ubuntu NetworkManager[6715]:   
[1487622163.1409] manager: WWAN hardware radio set disabled
  Feb 20 20:27:40 nico-lenovo-ubuntu dhclient[6736]: receive_packet failed on 
lan1: Network is down
  Feb 20 20:27:40 nico-lenovo-ubuntu NetworkManager[6715]:   
[1487622460.1588] manager: NetworkManager state is now CONNECTED_LOCAL
  Feb 20 20:27:40 nico-lenovo-ubuntu NetworkManager[6715]:   
[1487622460.1589] manager: NetworkManager state is now CONNECTED_GLOBAL
  Feb 20 20:27:40 nico-lenovo-ubuntu NetworkManager[6715]:   
[1487622460.1590] policy: set 'Auto ITADINANTA' (wifi0) as default for IPv4 
routing and DNS
  Feb 20 20:27:40 nico-lenovo-ubuntu NetworkManager[6715]:   
[1487622460.1590] device (lan1): state change: activated -> unmanaged (reason 
'removed') [100 10 36]
  Feb 20 20:27:40 nico-lenovo-ubuntu NetworkManager[6715]:   
[1487622460.1594] dhcp4 (lan1): canceled DHCP transaction, DHCP client pid 6736
  Feb 20 20:27:40 nico-lenovo-ubuntu NetworkManager[6715]:   
[1487622460.1595] dhcp4 (lan1): state changed bound -> done
  Feb 20 20:27:40 nico-lenovo-ubuntu NetworkManager[6715]:   
[1487622460.1618] dns-mgr: Writing DNS information to /sbin/resolvconf
  Feb 20 20:27:40 nico-lenovo-ubuntu dnsmasq[6728]: setting upstream servers 
from DBus
  Feb 20 20:27:40 nico-lenovo-ubuntu dnsmasq[6728]: using nameserver 
194.168.4.100#53(via wifi0)
  Feb 20 20:27:40 nico-lenovo-ubuntu dnsmasq[6728]: using nameserver 
194.168.8.100#53(via wifi0)
  Feb 20 20:27:40 nico-lenovo-ubuntu NetworkManager[6715]:  
[1487622460.1799] platform-linux: do-change-link[5]: failure changing link: 
failure 19 (No such device)
  Feb 20 20:27:40 nico-lenovo-ubuntu NetworkManager[6715]:   
[1487622460.1800] device (lan1): failed to disable userspace IPv6LL address 
handling
  Feb 20 20:27:40 nico-lenovo-ubuntu NetworkManager[6715]:   
[1487622460.1803] devices removed (path: 
/sys/devices/pci:00/:00:14.0/usb2/2-4/2-4.1/2-4.1.3/2-4.1.3:2.0/net/lan1,
 iface: lan1)
  Feb 20 20:27:56 nico-lenovo-ubuntu NetworkManager[6715]:   
[1487622476.6972] device (eth0): failed to find device 6 'eth0' with udev
  Feb 20 20:27:56 nico-lenovo-ubuntu NetworkManager[6715]:   
[1487622476.6990] manager: (eth0): new Ethernet device 
(/org/freedesktop/NetworkManager/Devices/4)
  Feb 20 20:27:56 nico-lenovo-ubuntu NetworkManager[6715]:   
[1487622476.7679] device (eth0): interface index 6 renamed iface from 'eth0' to 
'lan1'
  Feb 20 20:27:56 nico-lenovo-ubuntu NetworkManager[6715]:   
[1487622476.7742] devices added (path: 
/sys/devices/pci:00/:00:14.0/usb2/2-4/2-4.1/2-4.1.3/2-4.1.3:2.0/net/lan1,
 iface: lan1)
  Feb 20 20:27:56