Project

General

Profile

Actions

Todo #16291

open

Relocate Kea control socket and lease database

Added by dylan mendez 11 days ago. Updated 4 days ago.

Status:
Feedback
Priority:
High
Category:
DHCP (IPv4)
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
25.11
Release Notes:
Force Exclusion

Description

25.11.a.20250628.0006 does the same.

2025-06-28 21:45:58.188712+00:00 kea-dhcp4 94685 ERROR [kea-dhcp4.dhcp4.0x11563ee68008] DHCP4_INIT_FAIL failed to initialize Kea server: configuration error using file '/usr/local/etc/kea/kea-dhcp4.conf': 'socket-name' is invalid: invalid path specified: '/var/run', supported path is '/var/run/kea'
2025-06-28 21:45:58.188516+00:00 kea-dhcp4 94685 ERROR [kea-dhcp4.dhcp4.0x11563ee68008] DHCP4_CONFIG_LOAD_FAIL configuration error using file: /usr/local/etc/kea/kea-dhcp4.conf, reason: 'socket-name' is invalid: invalid path specified: '/var/run', supported path is '/var/run/kea'
2025-06-28 21:45:58.188270+00:00 kea-dhcp4 94685 ERROR [kea-dhcp4.dhcp4.0x11563ee68008] DHCP4_PARSER_COMMIT_FAIL parser failed to commit changes: 'socket-name' is invalid: invalid path specified: '/var/run', supported path is '/var/run/kea'
2025-06-28 21:45:58.179343+00:00 kea-dhcp4 94685 WARN [kea-dhcp4.dhcp4.0x11563ee68008] DHCP4_RESERVATIONS_LOOKUP_FIRST_ENABLED Multi-threading is enabled and host reservations lookup is always performed first.
2025-06-28 21:45:58.179288+00:00 kea-dhcp4 94685 WARN [kea-dhcp4.dhcpsrv.0x11563ee68008] DHCPSRV_MT_DISABLED_QUEUE_CONTROL disabling dhcp queue control when multi-threading is enabled.


Files

Actions #1

Updated by Christopher Cope 11 days ago

  • Status changed from New to Confirmed

Tested on

25.11-DEVELOPMENT (amd64)
built on Sat Jun 28 0:06:00 UTC 2025
FreeBSD 15.0-CURRENT

I'm seeing the same issue.

It seems to be a change in the new release of Kea. https://gitlab.isc.org/isc-projects/kea/-/wikis/Release-Notes/release-notes-2.6.3

Particularly

7. Security: Sockets: To prevent unauthorized access and potential denial of service, sockets can no longer be created in a world-writable directory, such as /tmp. Sockets must now be created in the more restricted [kea-install-dir]/var/run/kea. This change addresses CVE-2025-32802 [#3831 (closed), #3840 (closed)].

Actions #2

Updated by dylan mendez 11 days ago

  • Priority changed from Normal to High
Actions #3

Updated by dylan mendez 11 days ago

Changing priority as this can break stuff, even though it's development internal. Feel free to move back to Normal if I'm overreacting.

Actions #4

Updated by dylan mendez 10 days ago

As per CCope, this is caused by this:

Security: Sockets: To prevent unauthorized access and potential denial of service, sockets can no longer be created in a world-writable directory, such as /tmp. Sockets must now be created in the more restricted [kea-install-dir]/var/run/kea. This change addresses CVE-2025-32802 [#3831 (closed), #3840 (closed)].

Actions #5

Updated by Christian McDonald 9 days ago

  • Assignee set to Christian McDonald
Actions #6

Updated by Christian McDonald 9 days ago

I've got it, this is trivial to fix.

Actions #7

Updated by Christian McDonald 6 days ago

  • Subject changed from 25.11.a.20250627.1429 breaks Kea service. to Relocate Kea control socket from /var/run to /var/run/kea
  • Status changed from Confirmed to Feedback
  • Target version set to 2.9.0
  • Plus Target Version set to 25.11
  • Release Notes changed from Default to Force Exclusion
Actions #8

Updated by Christian McDonald 6 days ago

  • Private changed from Yes to No
Actions #9

Updated by Christian McDonald 6 days ago

  • % Done changed from 0 to 100
Actions #10

Updated by Marcos M 6 days ago

  • Status changed from Feedback to Confirmed

Kea still does not start - it's now complaining about permissions.

Actions #11

Updated by Marcos M 6 days ago

  • Tracker changed from Bug to Todo
  • % Done changed from 100 to 0
Actions #12

Updated by Christian McDonald 6 days ago

  • Subject changed from Relocate Kea control socket from /var/run to /var/run/kea to Relocate Kea control socket and lease database
Actions #13

Updated by dylan mendez 4 days ago

It's working in the latest development version

Actions #14

Updated by dylan mendez 4 days ago

  • Status changed from Confirmed to Feedback
Actions

Also available in: Atom PDF