Comment 1 for bug 1891215

Revision history for this message
Simon Déziel (sdeziel) wrote :

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