include # Georg Pfuetzenreuter # AppArmor confinement for ergo and ergo-ldap profile ergo /usr/bin/ergo { include include include /etc/ergo/ircd.{motd,yaml} r, /etc/ssl/irc/{crt,key} r, /etc/ssl/ergo/{crt,key} r, /usr/bin/ergo mr, /proc/sys/net/core/somaxconn r, /sys/kernel/mm/transparent_hugepage/hpage_pmd_size r, /usr/share/ergo/languages/{,*.lang.json,*.yaml} r, owner /run/ergo/ircd.lock rwk, owner /var/lib/ergo/ircd.db rw, include if exists } profile ergo-ldap /usr/bin/ergo-ldap { include include /usr/bin/ergo-ldap rm, /etc/ergo/ldap.yaml r, include if exists }