Hello,

I can confirm this issue: name resolution was not working after
upgrading to Ubuntu 19.10. It was possible to fix it until the next
reboot (or next networking service restart) by restarting systemd-
resolved service. Located the same issue and temporary resolved it by
commenting out `if' condition, forcing systemd-resolved service to
always reload/restart as it was in previous Ubuntu versions.

These are the changes to /etc/dhcp/dhclient-enter-hooks/resolved file:

--- resolved.original        2019-10-29 15:43:51.940561949 +0200
+++ resolved    2019-10-29 15:44:24.804941675 +0200
@@ -56,9 +56,9 @@

               newstate="$(mktemp)"
               md5sum $statedir/isc-dhcp-v4-$interface.conf 
$statedir/isc-dhcp-v6-$interface.conf &> $newstate
-              if ! cmp $oldstate $newstate; then
+              #if ! cmp $oldstate $newstate; then
                   systemctl try-reload-or-restart systemd-resolved.service
-              fi
+              #fi

               rm $oldstate
           }


Best regards,
Peteris

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1850009

Title:
  Issue with detecting new state in dhclient-enter-hooks.d/resolved

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1850009/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to