Bug 50322

Summary: Nagios reports false positive about nscd
Product: UCS Test Reporter: Felix Botner <botner>
Component: GeneralAssignee: Philipp Hahn <hahn>
Status: RESOLVED DUPLICATE QA Contact: Jürn Brodersen <brodersen>
Severity: normal    
Priority: P5 CC: best, brodersen, hahn
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Linux   
What kind of report is it?: Development Internal What type of bug is this?: 4: Minor Usability: Impairs usability in secondary scenarios
Who will be affected by this bug?: 4: Will affect most installed domains How will those affected feel about the bug?: 3: A User would likely not purchase the product
User Pain: 0.274 Enterprise Customer affected?:
School Customer affected?: ISV affected?:
Waiting Support: Flags outvoted (downgraded) after PO Review:
Ticket number: Bug group (optional):
Max CVSS v3 score:
Bug Depends on: 49967    
Bug Blocks:    

Description Felix Botner univentionstaff 2019-10-07 10:11:30 CEST
+++ This bug was initially created as a clone of Bug #49967 +++

When Nagios checks 'nscd' the following might occur

/usr/lib/nagios/plugins/check_univention_nscd_suidwrapper
CRITICAL: no instance of nscd bound to nscd socket. nscd might have crashed.

This is wrong and seems to happen due to a bug in 'fuser', however when using 'lsof' everything is fine.

PH already has a fix for that.
Comment 1 Felix Botner univentionstaff 2019-10-07 10:12:54 CEST
Since the last change the test

 nagios.07suidwrapper.member097

fails on SambaVersion=s4,Systemrolle=member, SambaVersion=no-samba,Systemrolle=master and SambaVersion=no-samba,Systemrolle=member. 

http://jenkins.knut.univention.de:8080/job/UCS-4.4/job/UCS-4.4-2/job/AutotestJoin/20/testReport/
Comment 2 Philipp Hahn univentionstaff 2019-10-07 13:35:08 CEST
[4.4-2] 96d7c3add0 Bug #49967 ucs-test: Skip some Nagios tests
 test/ucs-test/debian/changelog              | 6 ++++++
 test/ucs-test/tests/22_nagios/07suidwrapper | 5 ++++-
 2 files changed, 10 insertions(+), 1 deletion(-)

Package: ucs-test
Version: 9.0.3-76A~4.4.0.201910071332
Branch: ucs_4.4-0
Scope: errata4.4-2

*** This bug has been marked as a duplicate of bug 49967 ***
Comment 3 Philipp Hahn univentionstaff 2019-10-08 11:00:15 CEST
> /usr/lib/nagios/plugins/check_univention_s4_connector_suidwrapper
> S4CONNECTOR WARNING: Found 14 reject(s)! Please check output of univention-s4connector-list-rejected.

[4.4-2] bacc8657ea Bug #49967 test: Make Nagios test for S4C lenient
 test/ucs-test/debian/changelog              |  6 ++++++
 test/ucs-test/tests/22_nagios/07suidwrapper | 12 +++++++++++-
 2 files changed, 17 insertions(+), 1 deletion(-)

Package: ucs-test
Version: 9.0.3-77A~4.4.0.201910081055
Branch: ucs_4.4-0
Scope: errata4.4-2