2022-01-15 05:16:34 +00:00
|
|
|
# AppArmor profile for UnrealIRCd 6
|
2020-03-29 09:16:53 +00:00
|
|
|
#
|
|
|
|
# Note that you may still see some DENIED warnings in logs with
|
|
|
|
# operation="chmod". These are harmless and can be safely ignored.
|
|
|
|
#
|
2022-01-15 05:16:34 +00:00
|
|
|
# Tested on Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS
|
2020-03-29 09:16:53 +00:00
|
|
|
#
|
|
|
|
# IMPORTANT: you will have to modify the path to executable below
|
|
|
|
# if it's not /home/ircd/unrealircd/bin/unrealircd !
|
|
|
|
|
|
|
|
#include <tunables/global>
|
|
|
|
|
|
|
|
# Change the pathname of your UnrealIRCd executable here:
|
|
|
|
/home/ircd/unrealircd/bin/unrealircd {
|
|
|
|
#include <abstractions/base>
|
|
|
|
#include <abstractions/nameservice>
|
|
|
|
|
|
|
|
@{HOME}/unrealircd/conf/ r,
|
|
|
|
@{HOME}/unrealircd/conf/** r,
|
|
|
|
@{HOME}/unrealircd/data/** rw,
|
|
|
|
@{HOME}/unrealircd/lib/*.so* mr,
|
|
|
|
@{HOME}/unrealircd/logs/* rw,
|
|
|
|
@{HOME}/unrealircd/modules/**.so r,
|
|
|
|
@{HOME}/unrealircd/tmp/ r,
|
|
|
|
@{HOME}/unrealircd/tmp/* mrw,
|
|
|
|
@{HOME}/unrealircd/bin/unrealircd mr,
|
|
|
|
}
|