Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 871939 - net-analyzer/nagios-core 4.4.7 : nagios segfaults when check_for_updates=1
Summary: net-analyzer/nagios-core 4.4.7 : nagios segfaults when check_for_updates=1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal critical
Assignee: Michael Orlitzky
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-19 20:20 UTC by Sylvain CANOINE
Modified: 2022-09-20 12:17 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sylvain CANOINE 2022-09-19 20:20:48 UTC
Nagios 4.4.6 works like a cham.
NAgios 4.4.7 crashses at startwith Segmentation Fault. Setting check_for_updates=0 in nagios.cfg solves the problem.

Bug already reported and fixed upstream :
https://github.com/NagiosEnterprises/nagioscore/issues/861


Reproducible: Always

Steps to Reproduce:
1. update net-analyzer/nagios-core to 4.4.7
2. see if check_for_updates=1 in nagios.cfg
3. restart nagios
Actual Results:  
Segmentation Fault

Expected Results:  
Nagios runs
Comment 1 Larry the Git Cow gentoo-dev 2022-09-20 12:17:16 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8955fe8fef3c48bed495ea27ff238febbb8dccb

commit f8955fe8fef3c48bed495ea27ff238febbb8dccb
Author:     Michael Orlitzky <mjo@gentoo.org>
AuthorDate: 2022-09-20 12:05:58 +0000
Commit:     Michael Orlitzky <mjo@gentoo.org>
CommitDate: 2022-09-20 12:16:20 +0000

    net-analyzer/nagios-core: new revision fixing some SSL issues.
    
    This patch has been accepted upstream already and looks like it might
    have some security implications (in addition to fixing an ugly crash),
    so better safe than sorry. Thanks to Sylvain CANOINE for pointing it
    out.
    
    Closes: https://bugs.gentoo.org/871939
    Signed-off-by: Michael Orlitzky <mjo@gentoo.org>

 .../files/nagios-core-4.4.7-upgrade-sslfix.patch   | 120 +++++++++
 .../nagios-core/nagios-core-4.4.7-r1.ebuild        | 268 +++++++++++++++++++++
 2 files changed, 388 insertions(+)