summaryrefslogtreecommitdiffstats
path: root/debian/usr.sbin.kea-lfc
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-21 14:53:52 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-21 14:53:52 +0000
commit3ed143456d4270196c89e8e7e57badd439b44df4 (patch)
treefb241ff60337a450c34bfa02210a10fe0ddc9073 /debian/usr.sbin.kea-lfc
parentAdding upstream version 2.5.7. (diff)
downloadisc-kea-3ed143456d4270196c89e8e7e57badd439b44df4.tar.xz
isc-kea-3ed143456d4270196c89e8e7e57badd439b44df4.zip
Adding debian version 2.4.1-3.debian/2.4.1-3debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/usr.sbin.kea-lfc')
-rw-r--r--debian/usr.sbin.kea-lfc33
1 files changed, 33 insertions, 0 deletions
diff --git a/debian/usr.sbin.kea-lfc b/debian/usr.sbin.kea-lfc
new file mode 100644
index 0000000..ae165fa
--- /dev/null
+++ b/debian/usr.sbin.kea-lfc
@@ -0,0 +1,33 @@
+abi <abi/3.0>,
+
+include <tunables/global>
+
+profile kea-lfc /usr/sbin/kea-lfc {
+ include <abstractions/base>
+ include <abstractions/nameservice>
+
+ network inet dgram,
+
+ /usr/sbin/kea-lfc mr,
+
+ owner /run/kea/logger_lockfile rwk,
+ owner /run/lock/kea/logger_lockfile rw,
+
+ # Control sockets
+ # Before LP: #1863100, these were in /tmp. For compatibility, let's keep both
+ # locations
+ owner /{tmp,run/kea}/kea4-ctrl-socket.lock r,
+ owner /{tmp,run/kea}/kea6-ctrl-socket.lock r,
+
+ # this includes .completed, .output, .pid, .[0-9]
+ owner /var/lib/kea/kea-leases4.csv* rw,
+
+ # this includes .completed, .output, .pid, .[0-9]
+ owner /var/lib/kea/kea-leases6.csv* rw,
+
+ owner /var/log/kea/kea-dhcp4.log w,
+ owner /var/log/kea/kea-dhcp6.log w,
+
+ # Site-specific additions and overrides. See local/README for details.
+ #include <local/usr.sbin.kea-lfc>
+}