Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 334139

Summary: net-analyzer/pnp4nagios npcd init script has incorrect dependencies
Product: Gentoo Linux Reporter: Christian Theune <ct>
Component: Current packagesAssignee: Tobias Scherbaum (RETIRED) <dertobi123>
Status: RESOLVED FIXED    
Severity: normal CC: netmon
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Christian Theune 2010-08-23 19:24:05 UTC
The init script for npcd depensd on net and nagios although it doesn't require any of the services to run for the daemon to function.

Even worse, once nagios gets restarted (for reconfiguration) the npcd will be stopped and not started again.

I think we should just drop those other service dependencies.

Reproducible: Always

Steps to Reproduce:
1. Install pnp4nagios, configure npcd usage
2. Start npcd
3. Restart nagios

Actual Results:  
npcd gets stopped when nagios is restarted

Expected Results:  
npcd should just continue running. I don't event think it should stop/restart together with nagios. This dependency is just wrong.
Comment 1 Christian Theune 2010-08-25 14:23:59 UTC
Hmm. Classification for "major" was crash. I find this to be a crash.
Comment 2 Tobias Scherbaum (RETIRED) gentoo-dev 2010-10-20 16:38:24 UTC
Fixed InCVS.