Bug#1055438: kea-dhcp4-server: Also create /run/kea/

2024-01-03 Thread Luigi Baldoni
To sum up things, I tried rebuilding 2.4.1 for bookworm, but I saw no difference in the init file. The attached patch puts together every suggestion from this thread and it also appears to fix bug #1032495, which I had filed some time ago. Regards --- kea-dhcp4-server.orig 2024-01-03 09:07:49.50

Bug#1055438: kea-dhcp4-server: Also create /run/kea/

2023-12-12 Thread Stefan Klein
Hi Paride! Regarding the first error you encountered:   Unable to use interprocess sync lockfile (No such file or directory): /var/run/kea/logger_lockfile As you can see in my attached patch, I exported KEA_LOCKFILE_DIR. Found that in the service file and checked against Kea's source: If thi

Bug#1055438: kea-dhcp4-server: Also create /run/kea/

2023-12-12 Thread Paride Legovini
@Stefan: any idea on why you didn't encounter this while using sysv init? Thanks, Paride On 2023-12-12 12:56, Oleg Broytman wrote: > Hi! Alas, yes. It requires directories /run/kea and /var/lib/kea . > > I didn't want to upgrade any of my systems to testing so I ran a docker > container with de

Bug#1055438: kea-dhcp4-server: Also create /run/kea/

2023-12-12 Thread Oleg Broytman
Hi! Alas, yes. It requires directories /run/kea and /var/lib/kea . I didn't want to upgrade any of my systems to testing so I ran a docker container with debian:testing (age: 3 weeks ago). # apt-get update # apt-get install -y kea-dhcp4-server # kea-dhcp4 -v 2.4.0 # /etc/init.d/kea-dhcp4-server

Bug#1055438: kea-dhcp4-server: Also create /run/kea/

2023-12-11 Thread Paride Legovini
Control: tags -1 moreinfo On 2023-12-11 09:09, Oleg Broytman wrote: > Boom -- there is no /run/kea/ directory so Kea doesn't start and doesn't > report problems via logs as it cannot create log files. I added the > directory creation in /etc/init.d/kea-dhcp4-server; not sure if it's the > most cor

Bug#1055438: kea-dhcp4-server: Also create /run/kea/

2023-12-11 Thread Oleg Broytman
Package: kea-dhcp4-server Version: 2.2.0-6 Followup-For: Bug #1055438 Dear Maintainer, I updated to Debian 12.4 and rebooted all my hosts. Kea didn't came up so my notebook (and all other devices) didn't get IP addresses. I configured network manually, connected to the server host and ran su