Package: telepathy-mission-control-5
Version: 1:5.16.3-2
Severity: normal
Tags: patch
User: [email protected]
Usertags: usrmerge
X-Debbugs-Cc: [email protected]

Hi,


the attached commit (on top of the current 'debian' branch in Vcs-Git)
makes the included AppArmor profile compatible with merged-/usr.
Please consider applying it.

Cheers,
-- 
intrigeri

>From 4e74c34877437c180697234a50323757c9b0771b Mon Sep 17 00:00:00 2001
From: intrigeri <[email protected]>
Date: Mon, 5 Dec 2016 10:05:24 +0000
Subject: [PATCH] Make the AppArmor profile support merged-/usr systems.

---
 debian/apparmor-profile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/apparmor-profile b/debian/apparmor-profile
index d83af432..cfd9a671 100644
--- a/debian/apparmor-profile
+++ b/debian/apparmor-profile
@@ -121,7 +121,7 @@
     /custom/etc/dconf/        r,
     /custom/etc/dconf/**      r,
 
-    /bin/dash ix,
+    /{usr/,}bin/dash ix,
     /usr/bin/gconftool-2 ix,
 
     # Maybe in abstractions?
@@ -165,7 +165,7 @@
     deny @{PROC}/[0-9]*/mounts r,
     deny /sbin/ldconfig x,
     deny /usr/bin/gcc-[0-9]* x,
-    /bin/uname ix,
+    /{usr/,}bin/uname ix,
 
     # for telepathy-haze (LP: #867793, LP: #871497, LP: #942973, LP: #1021876)
     owner @{HOME}/.config/indicators/          rw,
-- 
2.11.0

Reply via email to