Gracefully shutdown dhcpd

Shraddha Pandhe spandhe.openstack at gmail.com
Wed Jun 24 18:41:06 UTC 2015


Thanks Bob!

On Wed, Jun 24, 2015 at 11:26 AM, Bob Harold <rharolde at umich.edu> wrote:

>
> On Wed, Jun 24, 2015 at 1:30 PM, Shraddha Pandhe <
> spandhe.openstack at gmail.com> wrote:
>
>> Hi Bob,
>>
>> Thanks for responding. I tried out SIGTERM. Here are my findings.
>>
>> When I follow the omshell way of graceful shutdown [1], I see following
>> in dhcpd logs. This seems like graceful shutdown. But when I do `kill -15
>> <pid>` I don't see any such log. Is there a way to verify that dhcpd has
>> shutdown gracefully?
>>
>>
>>
>> Jun 24 17:26:32 painedingrained dhcpd: Disabling output on
>> LPF/eth0/fa:16:3e:0c:f2:ef/**.**.**.**/**
>>
>> Jun 24 17:26:32 painedingrained dhcpd: Disabling input on
>> LPF/eth0/fa:16:3e:0c:f2:ef/**.**.**.**/**
>>
>>
>>
>>>>
>> [1]  omshell
>>
>> > server 127.0.0.1
>>
>> > port 8080
>>
>> > connect
>>
>> obj: <null>
>>
>> > new control
>>
>> obj: control
>>
>> > open
>>
>> obj: control
>>
>> state = 00:00:00:00
>>
>> > set state = 2
>>
>> obj: control
>>
>> state = 2
>>
>> > update
>>
>> can't update object: connection reset by peer
>>
>> obj: control
>>
>> state = 2
>>
>> >
>>
>>
> I don't know.  Hopefully someone else can help.
>
> Bob Harold
>
>
>
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20150624/1cb410ec/attachment-0001.html>


More information about the dhcp-users mailing list