HUP handling: a thought

Peter Nixon listuser at peternixon.net
Wed May 2 16:14:03 CEST 2007


On Wed 02 May 2007, Joe Maimon wrote:
> Alan DeKok wrote:
> >   Let's give up on HUP entirely.  Instead, we can implement something
> > like:
> >
> > http://www.linuxappliancedesign.com/projects/rta/
>
> Thanks for all of the hard work you have been doing, Alan.
>
> The decision is not mine, of course, but here is my vote.
>
> -1
>
> Proper support for HUP is in my view an elemental requirement of any
> properly functioning UNIX daemon.
>
> If you feel its to complex to do it safely within the running code, you
> can do it like sendmail daemon does, which simply rexecs itself with its
> launching arguments. Sendmail doesnt support HUP if it wasnt started
> with a full path.

Yep. I vote for this solution as well in absence of anything more elegant.

The system should do _something_ when it receives -HUP (other than crash). It 
this turns out to be a full restart, then so be it...

Regards

-- 

Peter Nixon
http://www.peternixon.net/
PGP Key: http://www.peternixon.net/public.asc



More information about the Freeradius-Devel mailing list