From c29b50587c84c9c2acf46effc585b03ed7117323 Mon Sep 17 00:00:00 2001 From: Georgia Garcia Date: Thu, 9 Nov 2023 12:27:30 +0200 Subject: [PATCH] profiles: remove @{etc_ro} variable which is not available on 2.13 The variable @{etc_ro} was cherry-picked from a commit from a later apparmor version, but it is not available on 2.13. Therefore it should be replaced by the actual string. Signed-off-by: Georgia Garcia --- profiles/apparmor.d/abstractions/nameservice | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,