From d8b4765f23952ad6ae5c816cfd30ef88facd2d89 Mon Sep 17 00:00:00 2001 From: l-n-s Date: Fri, 18 May 2018 15:54:39 -0400 Subject: [PATCH] Add /etc/resolv.conf to apparmor profile and k flag for pidfile --- contrib/apparmor/usr.sbin.i2pd | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/contrib/apparmor/usr.sbin.i2pd b/contrib/apparmor/usr.sbin.i2pd index 4349e07b..168070da 100644 --- a/contrib/apparmor/usr.sbin.i2pd +++ b/contrib/apparmor/usr.sbin.i2pd @@ -17,14 +17,15 @@ /etc/host.conf r, /etc/hosts r, /etc/nsswitch.conf r, + /etc/resolv.conf r, /run/resolvconf/resolv.conf r, # path specific (feel free to modify if you have another paths) /etc/i2pd/** r, - /run/i2pd/i2pd.pid rw, + /run/i2pd/i2pd.pid rwk, /var/lib/i2pd/** rw, /var/log/i2pd/i2pd.log w, - /var/run/i2pd/i2pd.pid rw, + /var/run/i2pd/i2pd.pid rwk, /usr/sbin/i2pd mr, /usr/share/i2pd/** r,