Gracefully shutdown dhcpd

Bob Harold rharolde at umich.edu
Wed Jun 24 18:26:09 UTC 2015


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20150624/965102c8/attachment.html>


More information about the dhcp-users mailing list