Ansgar wrote on 14/07/2022:
> kea-dhcp4-server_2.1.3-1_amd64.deb includes:
> 
> +---
> |     "control-socket": {
> |         "socket-type": "unix",
> |         "socket-name": "/tmp/kea4-ctrl-socket"
> |     },
> +---[ /etc/kea/kea-dhcp4.conf ]
> 
> This looks like incorrect use of /tmp as one cannot (without much
> extra work) place files with fixed names there.  Clients would also
> need to make sure they actually connect to the right program.
> 
> Sockets should be placed in /run or a service-specific subdirectory
> such as /run/kea or /run/kea-dhcp4.
> 
> Other kea-* packages probably have similar issues.

Hello Ansgar and thanks for this bug report. I agree we should fix the
location of the control sockets, but see comment #2 here on a reason why
doing that isn't straightforward:

  https://bugs.launchpad.net/ubuntu/+source/isc-kea/+bug/1863100

Paride

Reply via email to