Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 946391 - net-misc/kea incorrect pidfile path in /etc/init.d/kea and duplication of pidfiles
Summary: net-misc/kea incorrect pidfile path in /etc/init.d/kea and duplication of pid...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Dennis Lamm
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-13 20:44 UTC by Peter Leese
Modified: 2024-12-14 21:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Leese 2024-12-13 20:44:16 UTC
Kea documentation states kea creates a pidfile located at [runstatedir]/[conf name].kea-dhcp-ddns.pid. The paths specified for the pidfiles in /etc/init.d/kea do not match this requirement. In addition the -m option is passed to start-stop-daemon in the start function. This results into two pidfiles created, one by kea itself and the other by start-stop-daemon leading to some confusion. I suggest the solution is to remove the '-m' options from start-stop-daemon and to correct the PID paths as per Kea documentation; for example dhcp4_pidfile should be defined as "/run/kea/dhcp4.kea-dhcp4.pid". 

Reproducible: Always

Steps to Reproduce:
1. rc-service kea start

Actual Results:  
Look in /run/kea/ there will be two pidfiles one created by kea and one created by start-stop-daemon