coredumps

Andrew Ivanov a.ivanov at e-port.ru
Tue Dec 4 23:44:49 CET 2007


Hi everybody,

Playing with coredumps, I've found that nagios gets homedir not from passwd
entry, but from $HOME env variable.
With this patch, Nagios will determine homedir of nagios user via
getpwnam(3) call, and fallback to $HOME if failed.

It would be great to see this patch (based on last CVS snapshot) in the
official source tree.
What do you think about that?


 

With best regards,
Andrew.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20071205/44e6fb3f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nagios-homedir.patch
Type: application/octet-stream
Size: 2328 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20071205/44e6fb3f/attachment.obj>
-------------- next part --------------
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
-------------- next part --------------
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel


More information about the Developers mailing list