Browse Source

Add /etc/resolv.conf to apparmor profile and k flag for pidfile

pull/1182/head
l-n-s 7 years ago
parent
commit
d8b4765f23
  1. 5
      contrib/apparmor/usr.sbin.i2pd

5
contrib/apparmor/usr.sbin.i2pd

@ -17,14 +17,15 @@ @@ -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,

Loading…
Cancel
Save