[pkg-dhcp-devel] Bug#813339: isc-dhcp-server: Update to 4.3.3-7 today makes isc-dhcp-server unable to work
Pierre Ynard
linkfanel at yahoo.fr
Tue Feb 16 22:10:33 UTC 2016
reopen 813339
thanks
Thank you for your efforts to fix most of the issues with the
initscript. However, after migrating from 4.3.3-5 and the DHCPv4 server
successfully starting, I still see two obvious issues, both with the
status command:
- It fails to see that servers are running:
# service isc-dhcp-server status
Status of ISC DHCPv4 server: is not running.
Status of ISC DHCPv6 server: is not running.
This is because it checks the wrong variables DHCPv4/6_PID, which are
never set, instead of DHCPDv4/6_PID
- As mentioned before, the status will return an error code if the
DHCPv4 server is running but the DHCPv6 server is not running, even
if the latter is disabled in the configuration, as when simply
upgrading the package. This seems wrong and breaks stuff. I suggest
that the status command uses `test -n "$INTERFACESv4/6"` conditional
guards similar to the start command too, with the $INTERFACES magic
factored out.
Please fix the status command in all cases.
Thanks,
--
Pierre Ynard
"Une âme dans un corps, c'est comme un dessin sur une feuille de papier."
More information about the pkg-dhcp-devel
mailing list