[Touch-packages] [Bug 1768203] Re: Connecting to a VPN clears DNS from parent connection

2020-09-12 Thread Tomasz Kontusz
This works without problems, and without using `ipv4.dns-priority`, on
Ubuntu 20.04.

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

Title:
  Connecting to a VPN clears DNS from parent connection

Status in network-manager package in Ubuntu:
  New

Bug description:
  $ lsb_release -rd
  Description:  Ubuntu 18.04 LTS
  Release:  18.04

  $ apt-cache policy network-manager
  network-manager:
Installed: 1.10.6-2ubuntu1
Candidate: 1.10.6-2ubuntu1
Version table:
   *** 1.10.6-2ubuntu1 500
  500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
  100 /var/lib/dpkg/status

  
  After connecting to a VPN the parent connection's DNS servers are cleared, as 
seen in the output of `systemd-resolve --status`.

  Before connection to VPN:
  (...)
  Link 3 (wlp2s0)
Current Scopes: DNS
 LLMNR setting: yes
  MulticastDNS setting: no
DNSSEC setting: no
  DNSSEC supported: no
   DNS Servers: 62.179.1.63
62.179.1.62
DNS Domain: chello.pl

  Link 2 (enp1s0)
Current Scopes: none
 LLMNR setting: yes
  MulticastDNS setting: no
DNSSEC setting: no
  DNSSEC supported: no

  Connected to VPN, notice that only the ppp0 has DNS servers:
  (...)
  Link 20 (ppp0)
Current Scopes: DNS
 LLMNR setting: yes
  MulticastDNS setting: no
DNSSEC setting: no
  DNSSEC supported: no
   DNS Servers: 192.168.64.5
192.168.97.10
DNS Domain: ~dcs.pl

  Link 3 (wlp2s0)
Current Scopes: none
 LLMNR setting: yes
  MulticastDNS setting: no
DNSSEC setting: no
  DNSSEC supported: no

  Link 2 (enp1s0)
Current Scopes: none
 LLMNR setting: yes
  MulticastDNS setting: no
DNSSEC setting: no
  DNSSEC supported: no

  
  I want to use split-horizon DNS resolving, and this behaviour breaks 
resolving non-VPN names.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1768203/+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 1768203] Re: Connecting to a VPN clears DNS from parent connection

2018-05-15 Thread Tomasz Kontusz
This helps, but there's still a problem - resolved tries to resolve the
VPN-local addresses with both VPN and global DNS. Some of those
addresses are available on both sites, and I prefer the internal one
when the VPN is active.

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

Title:
  Connecting to a VPN clears DNS from parent connection

Status in network-manager package in Ubuntu:
  New

Bug description:
  $ lsb_release -rd
  Description:  Ubuntu 18.04 LTS
  Release:  18.04

  $ apt-cache policy network-manager
  network-manager:
Installed: 1.10.6-2ubuntu1
Candidate: 1.10.6-2ubuntu1
Version table:
   *** 1.10.6-2ubuntu1 500
  500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
  100 /var/lib/dpkg/status

  
  After connecting to a VPN the parent connection's DNS servers are cleared, as 
seen in the output of `systemd-resolve --status`.

  Before connection to VPN:
  (...)
  Link 3 (wlp2s0)
Current Scopes: DNS
 LLMNR setting: yes
  MulticastDNS setting: no
DNSSEC setting: no
  DNSSEC supported: no
   DNS Servers: 62.179.1.63
62.179.1.62
DNS Domain: chello.pl

  Link 2 (enp1s0)
Current Scopes: none
 LLMNR setting: yes
  MulticastDNS setting: no
DNSSEC setting: no
  DNSSEC supported: no

  Connected to VPN, notice that only the ppp0 has DNS servers:
  (...)
  Link 20 (ppp0)
Current Scopes: DNS
 LLMNR setting: yes
  MulticastDNS setting: no
DNSSEC setting: no
  DNSSEC supported: no
   DNS Servers: 192.168.64.5
192.168.97.10
DNS Domain: ~dcs.pl

  Link 3 (wlp2s0)
Current Scopes: none
 LLMNR setting: yes
  MulticastDNS setting: no
DNSSEC setting: no
  DNSSEC supported: no

  Link 2 (enp1s0)
Current Scopes: none
 LLMNR setting: yes
  MulticastDNS setting: no
DNSSEC setting: no
  DNSSEC supported: no

  
  I want to use split-horizon DNS resolving, and this behaviour breaks 
resolving non-VPN names.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1768203/+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 1276941] Re: fstrim-all should not be run on mdadm devices

2018-05-11 Thread Tomasz Kontusz
Still a problem on Bionic on Hyper-V:
fstrim: /boot: FITRIM ioctl failed: Invalid argument

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1276941

Title:
  fstrim-all should not be run on mdadm devices

Status in util-linux package in Ubuntu:
  Fix Released

Bug description:
  I see that fstrim-all checks for devmapper,  but I'm using mdadm and
  get this:

  Subject: Anacron job 'cron.weekly' on eldon
  From: Anacron 
  Date: 06.02.2014 09:43
  To: root@eldon

  /etc/cron.weekly/fstrim:
   HDIO_DRIVE_CMD(identify) failed: Invalid argument
  device /dev/md127 is not an Intel or Samsung drive

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: util-linux 2.20.1-5.1ubuntu14
  ProcVersionSignature: Ubuntu 3.13.0-5.20-generic 3.13.0
  Uname: Linux 3.13.0-5-generic x86_64
  ApportVersion: 2.13.2-0ubuntu2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Thu Feb  6 09:44:42 2014
  InstallationDate: Installed on 2012-11-07 (455 days ago)
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
  SourcePackage: util-linux
  UpgradeStatus: Upgraded to trusty on 2014-01-07 (29 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1276941/+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 1768203] [NEW] Connecting to a VPN clears DNS from parent connection

2018-05-01 Thread Tomasz Kontusz
Public bug reported:

$ lsb_release -rd
Description:Ubuntu 18.04 LTS
Release:18.04

$ apt-cache policy network-manager
network-manager:
  Installed: 1.10.6-2ubuntu1
  Candidate: 1.10.6-2ubuntu1
  Version table:
 *** 1.10.6-2ubuntu1 500
500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
100 /var/lib/dpkg/status


After connecting to a VPN the parent connection's DNS servers are cleared, as 
seen in the output of `systemd-resolve --status`.

Before connection to VPN:
(...)
Link 3 (wlp2s0)
  Current Scopes: DNS
   LLMNR setting: yes
MulticastDNS setting: no
  DNSSEC setting: no
DNSSEC supported: no
 DNS Servers: 62.179.1.63
  62.179.1.62
  DNS Domain: chello.pl

Link 2 (enp1s0)
  Current Scopes: none
   LLMNR setting: yes
MulticastDNS setting: no
  DNSSEC setting: no
DNSSEC supported: no

Connected to VPN, notice that only the ppp0 has DNS servers:
(...)
Link 20 (ppp0)
  Current Scopes: DNS
   LLMNR setting: yes
MulticastDNS setting: no
  DNSSEC setting: no
DNSSEC supported: no
 DNS Servers: 192.168.64.5
  192.168.97.10
  DNS Domain: ~dcs.pl

Link 3 (wlp2s0)
  Current Scopes: none
   LLMNR setting: yes
MulticastDNS setting: no
  DNSSEC setting: no
DNSSEC supported: no

Link 2 (enp1s0)
  Current Scopes: none
   LLMNR setting: yes
MulticastDNS setting: no
  DNSSEC setting: no
DNSSEC supported: no


I want to use split-horizon DNS resolving, and this behaviour breaks resolving 
non-VPN names.

** Affects: network-manager (Ubuntu)
 Importance: Undecided
 Status: New

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

Title:
  Connecting to a VPN clears DNS from parent connection

Status in network-manager package in Ubuntu:
  New

Bug description:
  $ lsb_release -rd
  Description:  Ubuntu 18.04 LTS
  Release:  18.04

  $ apt-cache policy network-manager
  network-manager:
Installed: 1.10.6-2ubuntu1
Candidate: 1.10.6-2ubuntu1
Version table:
   *** 1.10.6-2ubuntu1 500
  500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
  100 /var/lib/dpkg/status

  
  After connecting to a VPN the parent connection's DNS servers are cleared, as 
seen in the output of `systemd-resolve --status`.

  Before connection to VPN:
  (...)
  Link 3 (wlp2s0)
Current Scopes: DNS
 LLMNR setting: yes
  MulticastDNS setting: no
DNSSEC setting: no
  DNSSEC supported: no
   DNS Servers: 62.179.1.63
62.179.1.62
DNS Domain: chello.pl

  Link 2 (enp1s0)
Current Scopes: none
 LLMNR setting: yes
  MulticastDNS setting: no
DNSSEC setting: no
  DNSSEC supported: no

  Connected to VPN, notice that only the ppp0 has DNS servers:
  (...)
  Link 20 (ppp0)
Current Scopes: DNS
 LLMNR setting: yes
  MulticastDNS setting: no
DNSSEC setting: no
  DNSSEC supported: no
   DNS Servers: 192.168.64.5
192.168.97.10
DNS Domain: ~dcs.pl

  Link 3 (wlp2s0)
Current Scopes: none
 LLMNR setting: yes
  MulticastDNS setting: no
DNSSEC setting: no
  DNSSEC supported: no

  Link 2 (enp1s0)
Current Scopes: none
 LLMNR setting: yes
  MulticastDNS setting: no
DNSSEC setting: no
  DNSSEC supported: no

  
  I want to use split-horizon DNS resolving, and this behaviour breaks 
resolving non-VPN names.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1768203/+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 1691996] Re: DNS and search domain is not pushed to systemd-resolved sometimes

2017-08-19 Thread Tomasz Kontusz
~jonathanharker could you check if `nmcli connection show 'CONNECTION
NAME' | grep DNS` shows the nameservers you expect? You can list
connection names with `nmcli connection`. This way we'll make sure if
the problem happens between NM and the VPN or NM and resolved (for me it
was the latter, and the attached patch fixed it).

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

Title:
  DNS and search domain is not pushed to systemd-resolved sometimes

Status in network-manager package in Ubuntu:
  Confirmed

Bug description:
  I have an OpenVPN connection with statically configured DNS server
  address and the search domain. When this connection is established,
  there is a high chance that the DNS address and the search domain are
  not pushed to systemd-resolved for this connection. The problem does
  not reproduce reliably, sometimes the parameters are pushed. When the
  parameters are not pushed, 'systemd-resolve --status' reports no DNS
  servers or DNS domain for the VPN connection, and name resolution does
  not work.

  This bug has been reportedly fixed upstream in NetworkManager 1.8. The
  upstream bug reports are:

  https://bugzilla.gnome.org/show_bug.cgi?id=782597
  https://bugzilla.gnome.org/show_bug.cgi?id=779087

  Please, update NetworkManager shipped with Ubuntu or backport the fix.

  ProblemType: Bug
  DistroRelease: Ubuntu 17.04
  Package: network-manager 1.4.4-1ubuntu3
  Uname: Linux 4.10.0-16.1-liquorix-amd64 x86_64
  NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
  ApportVersion: 2.20.4-0ubuntu4
  Architecture: amd64
  CurrentDesktop: KDE
  Date: Fri May 19 13:35:42 2017
  IfupdownConfig:
   # interfaces(5) file used by ifup(8) and ifdown(8)
   auto lo
   iface lo inet loopback
  InstallationDate: Installed on 2015-05-01 (748 days ago)
  InstallationMedia: Kubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
  IpRoute:
   default via 192.168.1.1 dev eth0 proto static metric 100 
   169.254.0.0/16 dev virbr0 scope link metric 1000 linkdown 
   192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.2 metric 100 
   192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1 
linkdown
  NetworkManager.state:
   [main]
   NetworkingEnabled=true
   WirelessEnabled=true
   WWANEnabled=true
  RfKill:
   0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
  SourcePackage: network-manager
  UpgradeStatus: Upgraded to zesty on 2017-04-16 (33 days ago)
  mtime.conffile..etc.NetworkManager.NetworkManager.conf: 
2017-05-11T15:26:12.449289
  nmcli-dev:
   DEVICE  TYPE  STATE  DBUS-PATH  
CONNECTION  CON-UUID  CON-PATH  
 
   virbr0  bridgeconnected  /org/freedesktop/NetworkManager/Devices/2  
virbr0  a80bff56-e5d6-4fa4-b544-89cb3c389e3b  
/org/freedesktop/NetworkManager/ActiveConnection/0 
   eth0ethernet  connected  /org/freedesktop/NetworkManager/Devices/1  
Wired connection 1  44a70bab-e44e-3942-8259-e96eb6f3fe5b  
/org/freedesktop/NetworkManager/ActiveConnection/2 
   lo  loopback  unmanaged  /org/freedesktop/NetworkManager/Devices/0  
--  ----
 
   virbr0-nic  tun   unmanaged  /org/freedesktop/NetworkManager/Devices/3  
--  ----
  nmcli-nm:
   RUNNING  VERSION  STATE  STARTUP  CONNECTIVITY  NETWORKING  WIFI-HW  
WIFI WWAN-HW  WWAN
   running  1.4.4connected  started  full  enabled enabled  
enabled  enabled  enabled

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1691996/+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 1691996] Re: DNS and search domain is not pushed to systemd-resolved sometimes

2017-08-19 Thread Tomasz Kontusz
There is a fix posted on the upstream bug
https://bugzilla.gnome.org/show_bug.cgi?id=779087 - I've attached a
ported patch.

** Bug watch added: GNOME Bug Tracker #779087
   https://bugzilla.gnome.org/show_bug.cgi?id=779087

** Patch added: "Port of patch from Patch from 
https://bugzilla.gnome.org/show_bug.cgi?id=779087 to network-manager 
1.4.4-1ubuntu3.1"
   
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1691996/+attachment/4935380/+files/dns-config-for-unmanaged-vpn-iface.patch

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

Title:
  DNS and search domain is not pushed to systemd-resolved sometimes

Status in network-manager package in Ubuntu:
  Confirmed

Bug description:
  I have an OpenVPN connection with statically configured DNS server
  address and the search domain. When this connection is established,
  there is a high chance that the DNS address and the search domain are
  not pushed to systemd-resolved for this connection. The problem does
  not reproduce reliably, sometimes the parameters are pushed. When the
  parameters are not pushed, 'systemd-resolve --status' reports no DNS
  servers or DNS domain for the VPN connection, and name resolution does
  not work.

  This bug has been reportedly fixed upstream in NetworkManager 1.8. The
  upstream bug reports are:

  https://bugzilla.gnome.org/show_bug.cgi?id=782597
  https://bugzilla.gnome.org/show_bug.cgi?id=779087

  Please, update NetworkManager shipped with Ubuntu or backport the fix.

  ProblemType: Bug
  DistroRelease: Ubuntu 17.04
  Package: network-manager 1.4.4-1ubuntu3
  Uname: Linux 4.10.0-16.1-liquorix-amd64 x86_64
  NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
  ApportVersion: 2.20.4-0ubuntu4
  Architecture: amd64
  CurrentDesktop: KDE
  Date: Fri May 19 13:35:42 2017
  IfupdownConfig:
   # interfaces(5) file used by ifup(8) and ifdown(8)
   auto lo
   iface lo inet loopback
  InstallationDate: Installed on 2015-05-01 (748 days ago)
  InstallationMedia: Kubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
  IpRoute:
   default via 192.168.1.1 dev eth0 proto static metric 100 
   169.254.0.0/16 dev virbr0 scope link metric 1000 linkdown 
   192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.2 metric 100 
   192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1 
linkdown
  NetworkManager.state:
   [main]
   NetworkingEnabled=true
   WirelessEnabled=true
   WWANEnabled=true
  RfKill:
   0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
  SourcePackage: network-manager
  UpgradeStatus: Upgraded to zesty on 2017-04-16 (33 days ago)
  mtime.conffile..etc.NetworkManager.NetworkManager.conf: 
2017-05-11T15:26:12.449289
  nmcli-dev:
   DEVICE  TYPE  STATE  DBUS-PATH  
CONNECTION  CON-UUID  CON-PATH  
 
   virbr0  bridgeconnected  /org/freedesktop/NetworkManager/Devices/2  
virbr0  a80bff56-e5d6-4fa4-b544-89cb3c389e3b  
/org/freedesktop/NetworkManager/ActiveConnection/0 
   eth0ethernet  connected  /org/freedesktop/NetworkManager/Devices/1  
Wired connection 1  44a70bab-e44e-3942-8259-e96eb6f3fe5b  
/org/freedesktop/NetworkManager/ActiveConnection/2 
   lo  loopback  unmanaged  /org/freedesktop/NetworkManager/Devices/0  
--  ----
 
   virbr0-nic  tun   unmanaged  /org/freedesktop/NetworkManager/Devices/3  
--  ----
  nmcli-nm:
   RUNNING  VERSION  STATE  STARTUP  CONNECTIVITY  NETWORKING  WIFI-HW  
WIFI WWAN-HW  WWAN
   running  1.4.4connected  started  full  enabled enabled  
enabled  enabled  enabled

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1691996/+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