Hi Doug,

On 12/11/2015 09:42 PM, Doug Kingston wrote:
> The Problem:  When I looked at the ddclient hook, I noticed it was
> calling exit(0),
> which exited the entire dhclient-script prematurely.  This is very
> bad, since none
> of the other exits was given an opportuntity to run.  Exits must not
> call exit!
> Returning of error status should be through the "exit_status" shell
> variable
> instead - as documented (poorly) in the manual page for
> dhclient-script(8).
Ouch, good catch. I wasn't aware of this and did not see anything wrong
when the dhclient script was added.
> I changed the ddclient exit hook to not call exit, but instead to
> return control
> to the dhclient-script as is the "API" for these hooks.
>
> What was the outcome of this action?
>
> The system now boots properly.  :-)
I am wondering how nobody else reported this.

Thanks for the report, I'll try to update the package soon.

Greetings, Torsten

Reply via email to