Re: [Nagios-devel] Nagios 2.9 and SIGHUP

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] Nagios 2.9 and SIGHUP

Post 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]
Locked