Page MenuHomeVyOS Platform

dhcp server config fixup
Closed, ResolvedPublic

Description

Hello, all.
I've recently was stuck a little bit being unable to restart dhcp server on one of my routers. CLI hanged while trying to send SIGTERM to process with process id from /var/run/dhcpd.pid, although actual dhcp server was writing it's pid in /var/run/dhcpd-unused.pid

I've changed this behavior and created pull request with this change (see https://github.com/vyos/vyatta-cfg-dhcp-server/pull/10 ).
May be some one wants to check it and merge?

Details

Difficulty level
Easy (less than an hour)
Why the issue appeared?
Design mistake

Event Timeline

mickvav changed Why the issue appeared? from Will be filled on close to Design mistake.