After upgrading from F40 to F41, the kea leases files had improper ownership and permissions, causing kea-dhcp[46].service to fail: Nov 06 13:50:48 sarkovy kea-dhcp4[1603]: 2024-11-06 13:50:48.498 ERROR [kea-dhcp4.dhcp4/1603.139740914260096] DHCP4_CONFIG_LOAD_FAIL configuration error using file: /etc/kea/kea-dhcp4.conf, reason: Unable to open database: unable to open '/var/lib/kea/kea-leases4.csv.2' Nov 06 13:50:48 sarkovy kea-dhcp4[1603]: 2024-11-06 13:50:48.498 ERROR [kea-dhcp4.dhcp4/1603.139740914260096] DHCP4_INIT_FAIL failed to initialize Kea server: configuration error using file '/etc/kea/kea-dhcp4.conf': Unable to open database: unable to open '/var/lib/kea/kea-leases4.csv.2' Nov 06 13:50:48 sarkovy systemd[1]: kea-dhcp4.service: Main process exited, code=exited, status=1/FAILURE Nov 06 13:50:48 sarkovy systemd[1]: kea-dhcp4.service: Failed with result 'exit-code'. The reason is this: [root@sarkovy ~]# ls -lZ /var/lib/kea/ total 20 -rw-r--r--. 1 kea kea system_u:object_r:var_lib_t:s0 65 3. Nov 23:21 kea-dhcp6-serverid -rw-r-----. 1 kea kea system_u:object_r:var_lib_t:s0 1113 6. Nov 10:58 kea-leases4.csv -rw-r--r--. 1 root root system_u:object_r:var_lib_t:s0 760 6. Nov 10:22 kea-leases4.csv.2 -rw-r-----. 1 kea kea system_u:object_r:var_lib_t:s0 589 6. Nov 10:59 kea-leases6.csv -rw-r--r--. 1 root root system_u:object_r:var_lib_t:s0 312 6. Nov 10:22 kea-leases6.csv.2 Fixed it by executing these commands: [root@sarkovy ~]# chown kea:kea /var/lib/kea/*.csv.2 [root@sarkovy ~]# chmod 640 /var/lib/kea/*.2 [root@sarkovy ~]# ls -lZ /var/lib/kea/ total 20 -rw-r--r--. 1 kea kea system_u:object_r:var_lib_t:s0 65 3. Nov 23:21 kea-dhcp6-serverid -rw-r-----. 1 kea kea system_u:object_r:var_lib_t:s0 1113 6. Nov 10:58 kea-leases4.csv -rw-r-----. 1 kea kea system_u:object_r:var_lib_t:s0 760 6. Nov 10:22 kea-leases4.csv.2 -rw-r-----. 1 kea kea system_u:object_r:var_lib_t:s0 589 6. Nov 10:59 kea-leases6.csv -rw-r-----. 1 kea kea system_u:object_r:var_lib_t:s0 312 6. Nov 10:22 kea-leases6.csv.2 After this kea-dhcp services start as expected.
I will fix this soon with a rebase to 2.6.3 in f41-43 (and epel9). This problem could recur in epel9.
FEDORA-2025-29939eabac (kea-2.6.3-1.fc43) has been submitted as an update to Fedora 43. https://bodhi.fedoraproject.org/updates/FEDORA-2025-29939eabac
FEDORA-2025-29939eabac (kea-2.6.3-1.fc43) has been pushed to the Fedora 43 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2025-dc6ec0a8e2 (kea-2.6.3-1.fc42) has been submitted as an update to Fedora 42. https://bodhi.fedoraproject.org/updates/FEDORA-2025-dc6ec0a8e2
FEDORA-2025-b870671130 (kea-2.6.3-1.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2025-b870671130
FEDORA-EPEL-2025-a36cdc1182 (kea-2.6.3-1.el9) has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-a36cdc1182
FEDORA-2025-b870671130 has been pushed to the Fedora 41 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-b870671130` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-b870671130 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-2025-a36cdc1182 has been pushed to the Fedora EPEL 9 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-a36cdc1182 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2025-dc6ec0a8e2 has been pushed to the Fedora 42 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-dc6ec0a8e2` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-dc6ec0a8e2 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-2025-a36cdc1182 (kea-2.6.3-1.el9) has been pushed to the Fedora EPEL 9 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2025-b870671130 (kea-2.6.3-1.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2025-dc6ec0a8e2 (kea-2.6.3-1.fc42) has been pushed to the Fedora 42 stable repository. If problem still persists, please make note of it in this bug report.