Daemonizing Logic Error

Andreas Ericsson ae at op5.se
Sat May 16 14:18:18 CEST 2009


Devin Bayer wrote:
> Hi Andreas Ericsson:
> 
> On Sat, 2009-05-16, at 13:55, Andreas Ericsson wrote:
> 
>> Devin Bayer wrote:
>>>
>>> We faced an issue when nagios silently failed to fork.  Since it's
>>> part of  our startup scripts, this delayed the rest of the daemons
>>> until nagios exited.
>> While it's bad that Nagios fails to daemonize OR die properly, your
>> startup-script parser really shouldn't hang indefinitely when it
>> encounters a start-script that doesn't return. I believe this should
>> be bug-reported to your distribution-vendor separately.
> 
> I agree - but this is RHEL5, and it is not a new class of bug.  The  
> fact that it isn't already fixed means it's a policy: daemons are  
> responsible for exiting timely.
> 

Ok. I can sort of agree with them, but still. Hanging *indefinitely* is
just bad form ;-)

>> Hmm. I'll look into this and see what may be done.
> 
> Thanks a lot.  Do you have some kind of tracking system, so I can know  
> when/if it's fixed?
> 

tracker.nagios.org. Issue 11.

> - Devin
> 
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables 
> unlimited royalty-free distribution of the report engine 
> for externally facing server and web deployment. 
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> Nagios-devel mailing list
> Nagios-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-devel


-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Register now for Nordic Meet on Nagios, June 3-4 in Stockholm
 http://nordicmeetonnagios.op5.org/

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects




More information about the Developers mailing list