Hello,
I'm contacting you in regard to 2 issues I have found in isc-dhcp-server
package in file isc-dhcp-server.
Details on version can be found at the bottom of the page.
First issue:
* If I kill the process dhcpd using kill, the script does not detect the
process is dead,
and only checks the file (where the PID is written to) exists.
My point of view is that this check is not needed, if the process exists
and is listening on the same port the server does not start and emits an
error.
Second Issue:
The requirement to have isc-dhcp-server INTERFACES specified.
* In my case I use several interfaces, where the server should be
listening on so when I start the dhcp server it listens on 0.0.0.0:67
and not on a specific interface.
Some suggestions:
to use OPTIONS="xx"
OPTIONS="" <- use ipv6 ipv4
OPTIONS="-4" <- use ipv4
OPTIONS="-6" <- use ipv6
This will cause the isc-dhcp-server to listen on any ipv4 or ipv6
interfaces for witch it has leases in dhcpd.conf
Please check the code in the attachment that has a sugestion on improvement.
Details:
Debian Buster 10
Version isc-dhcp-server: 4.4.1-2
Best regards,