diff --git a/apparmor.d/groups/apt/apt-methods-gpgv b/apparmor.d/groups/apt/apt-methods-gpgv index d8b8c5c1..0de11655 100644 --- a/apparmor.d/groups/apt/apt-methods-gpgv +++ b/apparmor.d/groups/apt/apt-methods-gpgv @@ -69,11 +69,11 @@ profile apt-methods-gpgv @{exec_path} { /etc/ r, /root/ r, - {/var/lib/ubuntu-advantage/apt-esm,}/var/lib/apt/lists/{,**} r, + /{var/lib/ubuntu-advantage/apt-esm/,}var/lib/apt/lists/{,**} r, /var/lib/dpkg/arch r, /var/lib/extrepo/keys/*.{gpg,asc} r, /var/lib/ubuntu-advantage/apt-esm/{,**} r, - owner {/var/lib/ubuntu-advantage/apt-esm,}/var/lib/apt/lists/* rw, + owner /{var/lib/ubuntu-advantage/apt-esm/,}var/lib/apt/lists/* rw, owner /var/lib/apt/lists/partial/* rw, # For package building diff --git a/apparmor.d/groups/apt/apt-methods-http b/apparmor.d/groups/apt/apt-methods-http index 0818f344..b2ec8041 100644 --- a/apparmor.d/groups/apt/apt-methods-http +++ b/apparmor.d/groups/apt/apt-methods-http @@ -53,8 +53,8 @@ profile apt-methods-http @{exec_path} { /var/log/cron-apt/temp w, - {/var/lib/ubuntu-advantage/apt-esm,}/var/lib/apt/lists/{,**} r, - owner {/var/lib/ubuntu-advantage/apt-esm,}/var/lib/apt/lists/* rw, + /{var/lib/ubuntu-advantage/apt-esm/,}var/lib/apt/lists/{,**} r, + owner /{var/lib/ubuntu-advantage/apt-esm/,}var/lib/apt/lists/* rw, owner /var/lib/apt/lists/partial/* rw, # For package building diff --git a/apparmor.d/groups/freedesktop/pulseaudio b/apparmor.d/groups/freedesktop/pulseaudio index 787bd6fa..1aac6db9 100644 --- a/apparmor.d/groups/freedesktop/pulseaudio +++ b/apparmor.d/groups/freedesktop/pulseaudio @@ -111,7 +111,7 @@ profile pulseaudio @{exec_path} { dbus send bus=system path=/org/freedesktop/hostname[0-9] interface=org.freedesktop.DBus.Properties member=Get - peer=(name=org.freedesktop.hostname[0-9]) + peer=(name=org.freedesktop.hostname[0-9]), @{exec_path} mrix,