]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
kea: make kea environment available to lfc process
authorYi Zhao <yi.zhao@windriver.com>
Fri, 21 Feb 2025 08:12:06 +0000 (16:12 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 25 Feb 2025 12:05:42 +0000 (12:05 +0000)
commit34f1392aef4d5fa402600b21f6d7a47cd735cfd4
tree3f9e46853a8817bda9d150b194c2b7d0dbf81011
parent992d6075fbb4e8eb82920a477fcc38b3c0dc8cd5
kea: make kea environment available to lfc process

If the location of the log lock file is changed using the environment
variable KEA_LOCKFILE_DIR, the kea-dhcp process will work properly, but
the lfc (lease file cleanup) process spawned by it will not inherit this
value and use the default path[1], which will cause the kea server to
print the following message when running:

kea-dhcp4[6767]: Unable to use interprocess sync lockfile (No such file or directory): /var/run/kea/logger_lockfile

Backport a patch to fix this issue[2].

[1] https://gitlab.isc.org/isc-projects/kea/-/issues/3450
[2] https://gitlab.isc.org/isc-projects/kea/-/commit/f477e8ebcc8b8e1f1adaad4d55031084c0ff6f40

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-connectivity/kea/files/0001-make-kea-environment-available-to-lfc.patch [new file with mode: 0644]
meta/recipes-connectivity/kea/kea_2.6.1.bb