strace'ing systemd-resolved showed that files under
/run/systemd/netif/links/ are re-created as well when a RA comes in but
their content never changes yet the stub-resolv.conf is created over and
over:

root@lxd02:~# cat /run/systemd/netif/links/* 
/run/systemd/resolve/stub-resolv.conf | md5sum; stat -c "%i" 
/run/systemd/resolve/stub-resolv.conf
4cec911154fd89fd31b3e4c96894aad7  -
625
root@lxd02:~# cat /run/systemd/netif/links/* 
/run/systemd/resolve/stub-resolv.conf | md5sum; stat -c "%i" 
/run/systemd/resolve/stub-resolv.conf
4cec911154fd89fd31b3e4c96894aad7  -
624
root@lxd02:~# cat /run/systemd/netif/links/* 
/run/systemd/resolve/stub-resolv.conf | md5sum; stat -c "%i" 
/run/systemd/resolve/stub-resolv.conf
4cec911154fd89fd31b3e4c96894aad7  -
625
root@lxd02:~# cat /run/systemd/netif/links/* 
/run/systemd/resolve/stub-resolv.conf | md5sum; stat -c "%i" 
/run/systemd/resolve/stub-resolv.conf
4cec911154fd89fd31b3e4c96894aad7  -
625
root@lxd02:~# cat /run/systemd/netif/links/* 
/run/systemd/resolve/stub-resolv.conf | md5sum; stat -c "%i" 
/run/systemd/resolve/stub-resolv.conf
4cec911154fd89fd31b3e4c96894aad7  -
624
root@lxd02:~# cat /run/systemd/netif/links/* 
/run/systemd/resolve/stub-resolv.conf | md5sum; stat -c "%i" 
/run/systemd/resolve/stub-resolv.conf
4cec911154fd89fd31b3e4c96894aad7  -
625

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

Title:
  systemd-resolved re-creates /run/systemd/resolve/*resolv.conf for
  every IPv6 RA received

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to