summaryrefslogtreecommitdiffstats
path: root/debian/usr.sbin.kea-lfc
blob: ae165fae29b04896a13f875d98e375229b49e6a1 (plain)
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
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>
}