/etc/apparmor.d/usr.sbin.inspircd is in inspircd 2.0.23-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | # AppArmor profile for inspircd
# Thanks LeMont Jones
#include <tunables/global>
# vim:syntax=apparmor
/usr/sbin/inspircd {
#include <abstractions/base>
#include <abstractions/nameservice>
capability net_bind_service,
capability setgid,
capability setuid,
capability sys_chroot,
capability sys_resource,
# we need our config files.
/etc/inspircd/** r,
# needed for ldapauth
/etc/ldap/ldap.conf r,
# pidfile used by inspircd.
/run/inspircd.pid w,
# we need to be able to write to the log file
# and also the old log when logrotate happends
/var/log/inspircd.log* rw,
# we need libraries, and we need to be able to restart
/usr/lib{,32,64}/** mr,
/usr/sbin/inspircd ixr,
}
|