diff --git a/profiles/apparmor.d/abstractions/nameservice b/profiles/apparmor.d/abstractions/nameservice index aa304fb45..1f5879ae5 100644 --- a/profiles/apparmor.d/abstractions/nameservice +++ b/profiles/apparmor.d/abstractions/nameservice @@ -22,7 +22,7 @@ /etc/protocols r, # On systems with authselect installed, /etc/nsswitch.conf is a symlink to /etc/authselect/nsswitch.conf - @{etc_ro}/authselect/nsswitch.conf r, + /{usr/,}etc/authselect/nsswitch.conf r, # libtirpc (used for NIS/YP login) needs this /etc/netconfig r,