diff options
author | Indrajit Raychaudhuri <irc@indrajit.com> | 2023-12-27 01:51:35 -0600 |
---|---|---|
committer | Indrajit Raychaudhuri <irc@indrajit.com> | 2023-12-29 00:37:56 -0600 |
commit | 745b9ea8f0df58ccd68215360b0375e89c0632a8 (patch) | |
tree | 3c0411338c62518e6fb3fe1be89b1c4bbd39822a /interface-definitions/system_syslog.xml.in | |
parent | 6cf6121b1bf0c3495cb2abc37c34330b422d4d16 (diff) | |
download | vyos-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/system_syslog.xml.in')
0 files changed, 0 insertions, 0 deletions