Public bug reported:

if you purge resolvconf on Xenial and want systemd-resolve the link is
not update and its doesn't use systemd-resolce cache

1) 
Description:    Ubuntu 16.04.3 LTS
Release:        16.04

2) systemd  229-4ubuntu21  amd64  system and service manager

3)
ls -l /etc/resolv.conf
lrwxrwxrwx 1 root root 29 Nov 29 22:40 /etc/resolv.conf -> 
../run/resolvconf/resolv.conf

aptitude purge -y resolvconf

########

ls -l /run/systemd/resolve
total 4
-rw-r--r-- 1 systemd-resolve systemd-resolve 381 Nov 29 22:42 resolv.conf

ln -sfv /run/systemd/resolve/resolv.conf /etc/resolv.conf

# on it's working
Description:    Ubuntu Bionic Beaver (development branch)
Release:        18.04
systemd --version
235

ls -l /run/systemd/resolve/
total 8
-rw-r--r-- 1 systemd-resolve systemd-resolve 608 Nov 29 16:36 resolv.conf
-rw-r--r-- 1 systemd-resolve systemd-resolve 264 Nov 29 16:36 stub-resolv.conf

ls -l /etc/resolv.conf
lrwxrwxrwx 1 root root 39 Oct 25 10:38 /etc/resolv.conf -> 
../run/systemd/resolve/stub-resolv.conf


4)
########## 
ls -l /etc/resolv.conf
lrwxrwxrwx 1 root root 29 Nov 29 22:40 /etc/resolv.conf -> 
../run/resolvconf/resolv.conf

systemctl status/restart systemd-resolved.service

** Affects: systemd (Ubuntu)
     Importance: Undecided
         Status: New

** Package changed: linux-hwe-edge (Ubuntu) => systemd (Ubuntu)

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

Title:
  systemd-resolved.service

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

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

Reply via email to