Page 1 of 1

Re: [Nagios-devel] Nagios 2.9 and SIGHUP

Posted: Mon Apr 30, 2007 1:14 pm
by Guest
Andrea Gabellini wrote:
> Hi,
>
> I just upgraded from 2.8 to 2.9 on Solaris 10 and gcc 4.1.2.
>
> I noticed that if I send a reload (SIGHUP) to the 2.9, Nagios gets always SIGEXIT. With 2.8 Nagios
> gets the right value.
>
> I performed some tests, and finally moving the definition of sigs[x] from base/nagios.c to
> base/utils.c solve this problem. I don't know why, and I don't know if it's a Solaris or GCC problem.
>
> Attached there is the patch.
>
> Andrea

Thanks for the note Andrea. I found the same problem occurring under
OSX and it turned out to be a problem with defining the character array
as "char **sigs", instead of "char *sigs[35]". A patch will be in CVS
shortly.


Ethan Galstad,
Nagios Developer
---
Email: [email protected]
Website: http://www.nagios.org





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]