summaryrefslogtreecommitdiffstats
path: root/config/chroot_local-patches
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2015-06-05 09:22:43 +0000
committerintrigeri <intrigeri@boum.org>2015-06-05 10:39:59 +0000
commit9a1190ef1459039cb90e27378b6db0798908aeee (patch)
tree055664512138beb64a5a9c2add6197f45332888a /config/chroot_local-patches
parente8ea37976bd6abc4a30db6259c589964845ea780 (diff)
AppArmor: take into account aufs whiteouts in the system_tor profile.
Fixes regression for bridge mode introduced in commit ba3de99.
Diffstat (limited to 'config/chroot_local-patches')
-rw-r--r--config/chroot_local-patches/apparmor-adjust-tor-profile.diff4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/chroot_local-patches/apparmor-adjust-tor-profile.diff b/config/chroot_local-patches/apparmor-adjust-tor-profile.diff
index 4f327cd..a22c22d 100644
--- a/config/chroot_local-patches/apparmor-adjust-tor-profile.diff
+++ b/config/chroot_local-patches/apparmor-adjust-tor-profile.diff
@@ -4,8 +4,8 @@
profile system_tor {
#include <abstractions/tor>
-+ owner /etc/tor/torrc wl,
-+ owner /etc/tor/torrc.* wl,
++ link /etc/tor/.wh.torrc -> /.wh..wh.aufs,
++ /etc/tor/* w,
+
owner /var/lib/tor/** rwk,
owner /var/log/tor/* w,