[pkg-apparmor] [apparmor-profiles-extra] 02/09: Add profile for apt-cacher-ng: taken from the apparmor-profiles repository at revision 135.

Intrigeri intrigeri at moszumanska.debian.org
Tue Oct 14 23:30:15 UTC 2014


This is an automated email from the git hooks/post-receive script.

intrigeri pushed a commit to branch master
in repository apparmor-profiles-extra.

commit 0c373c122e84de0938d2641e1222bd13e8c6f7c7
Author: intrigeri <intrigeri at boum.org>
Date:   Tue Oct 14 23:03:23 2014 +0000

    Add profile for apt-cacher-ng: taken from the apparmor-profiles repository at revision 135.
---
 profiles/usr.sbin.apt-cacher-ng | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/profiles/usr.sbin.apt-cacher-ng b/profiles/usr.sbin.apt-cacher-ng
new file mode 100644
index 0000000..a9dc256
--- /dev/null
+++ b/profiles/usr.sbin.apt-cacher-ng
@@ -0,0 +1,27 @@
+# Author: Felix Geyer <debfx at ubuntu.com>
+
+@{APT_CACHE_DIR}=/var/cache/apt-cacher-ng
+
+#include <tunables/global>
+
+/usr/sbin/apt-cacher-ng {
+  #include <abstractions/base>
+  #include <abstractions/nameservice>
+  #include <abstractions/user-tmp>
+
+  /etc/apt-cacher-ng/ r,
+  /etc/apt-cacher-ng/** r,
+  /etc/hosts.{deny,allow} r,
+
+  /var/lib/apt-cacher-ng/** r,
+  /{,var/}run/apt-cacher-ng/* rw,
+  @{APT_CACHE_DIR}/ r,
+  @{APT_CACHE_DIR}/** rw,
+  /var/log/apt-cacher-ng/ r,
+  /var/log/apt-cacher-ng/* rw,
+
+  /bin/dash ixr,
+  /bin/ed ixr,
+  /bin/red ixr,
+  /bin/sed ixr,
+}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/apparmor-profiles-extra.git



More information about the pkg-apparmor-team mailing list