summaryrefslogtreecommitdiffstats
path: root/debian/usr.sbin.kea-ctrl-agent
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/usr.sbin.kea-ctrl-agent32
1 files changed, 32 insertions, 0 deletions
diff --git a/debian/usr.sbin.kea-ctrl-agent b/debian/usr.sbin.kea-ctrl-agent
new file mode 100644
index 0000000..fd4cca5
--- /dev/null
+++ b/debian/usr.sbin.kea-ctrl-agent
@@ -0,0 +1,32 @@
+abi <abi/3.0>,
+
+include <tunables/global>
+
+profile kea-ctrl-agent /usr/sbin/kea-ctrl-agent {
+ include <abstractions/base>
+
+ network inet stream,
+ network inet6 stream,
+
+ /etc/kea/ r,
+ /etc/kea/** r,
+ /usr/sbin/kea-ctrl-agent mr,
+
+ owner /run/kea/kea-ctrl-agent.kea-ctrl-agent.pid w,
+ owner /run/lock/kea/logger_lockfile rwk,
+
+ # Control sockets
+ # Before LP: #1863100, these were in /tmp. For compatibility, let's keep both
+ # locations
+ owner /{tmp,run/kea}/kea-ddns-ctrl-socket rw,
+ owner /{tmp,run/kea}/kea4-ctrl-socket rw,
+ owner /{tmp,run/kea}/kea6-ctrl-socket rw,
+
+ owner /var/log/kea/kea-ctrl-agent.log rw,
+ owner /var/log/kea/kea-ctrl-agent.log.[0-9]* rw,
+ owner /var/log/kea/kea-ctrl-agent.log.lock rwk,
+
+ # Site-specific additions and overrides. See local/README for details.
+ #include <local/usr.sbin.kea-ctrl-agent>
+
+}