diff --git a/profiles/apparmor.d/abstractions/nameservice b/profiles/apparmor.d/abstractions/nameservice index 6d695d5d9..27dc2ac9a 100644 --- a/profiles/apparmor.d/abstractions/nameservice +++ b/profiles/apparmor.d/abstractions/nameservice @@ -38,6 +38,9 @@ # /etc/resolvconf/run/resolv.conf /{,var/}run/resolvconf/resolv.conf r, /etc/resolvconf/run/resolv.conf r, + # on systems using systemd's networkd, /etc/resolv.conf is a symlink to + # /run/systemd/resolve/resolv.conf + /{,var/}run/systemd/resolve/resolv.conf r, /etc/samba/lmhosts r, /etc/services r,