Since Fedora 41 runs as kea user. Since that change it is not possible to wite to /var/log/kea* files. I placed a workaround to create /var/log/kea directory owned by kea and reconfigured the kea to place the log files into that directory. If this would be considered as a final solution, please, do not forget to configure logrotate for the new log files. Reproducible: Always
I have managed to reproduce the issue. When "keactrl start" is called under user root the logging works fine, but when the kea-*.service is started it uses kea user, which can't log into the /var/log/. When the dir /var/log/kea is created, owner of dir is changed to the kea and default logging is set to the /var/log/kea then the logging works fine.
After deeper investigation I am not sure if this is the problem you have. I have used keactrl start under root user and it created files under root, so owner is root. With that the user kea can't change the content of the log files. Can you be more specific about the command you used, version of kea, the problem you have and what you expect?
Hello, yes, you identified it correctly. I used systemctl enable kea-dhcp4.service and systemctl kea-dhcp6.service. Thus the kea runs under user kea. Marek
https://bodhi.fedoraproject.org/updates/FEDORA-2025-a1d99b5530
FEDORA-2025-2ff5c93709 (kea-2.6.1-7.fc42) has been submitted as an update to Fedora 42. https://bodhi.fedoraproject.org/updates/FEDORA-2025-2ff5c93709
FEDORA-2025-2ff5c93709 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-2ff5c93709` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-2ff5c93709 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2025-87d2d63dab (kea-2.6.1-5.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2025-87d2d63dab
FEDORA-2025-87d2d63dab 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-87d2d63dab` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-87d2d63dab See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2025-87d2d63dab (kea-2.6.1-5.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-2ff5c93709 (kea-2.6.1-7.fc42) has been pushed to the Fedora 42 stable repository. If problem still persists, please make note of it in this bug report.