summaryrefslogtreecommitdiff
path: root/interface-definitions/include/system-ipv6-protocol.xml.i
diff options
context:
space:
mode:
authorIndrajit Raychaudhuri <irc@indrajit.com>2023-12-27 01:51:35 -0600
committerIndrajit Raychaudhuri <irc@indrajit.com>2023-12-29 00:37:56 -0600
commit745b9ea8f0df58ccd68215360b0375e89c0632a8 (patch)
tree3c0411338c62518e6fb3fe1be89b1c4bbd39822a /interface-definitions/include/system-ipv6-protocol.xml.i
parent6cf6121b1bf0c3495cb2abc37c34330b422d4d16 (diff)
downloadvyos-1x-745b9ea8f0df58ccd68215360b0375e89c0632a8.tar.gz
vyos-1x-745b9ea8f0df58ccd68215360b0375e89c0632a8.zip
dhcp: T3316: Adjust kea lease files' location and permissions
Move the kea lease file to a separate directory `/config/dhcp` that `kea` process can write to so that subprocesses spawned by `kea` process can operate on the lease files. To allow `kea` process to write to `/config/dhcp`, add `_kea` user to `vyattacfg` group. And the lease files are owned completely by `_kea` user to play well with `kea-lfc` process. Specifically, this is necessary for `kea-lfc` which is spawned by `kea` process to clean up expired leases. Since `kea-lfc` creates additional backup lease files, it needs write access to the lease file directory. Additionally, change the extension of the lease file from `.leases` to `.csv` to reflect the actual file format.
Diffstat (limited to 'interface-definitions/include/system-ipv6-protocol.xml.i')
0 files changed, 0 insertions, 0 deletions