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

Bug 542388

Summary: net-analyzer/icinga2-2.2.4 fails to start due to an incorrect ICINGA2_RUN_DIR the init script
Product: Gentoo Linux Reporter: Louis Sautier (sbraz) <sbraz>
Component: [OLD] ServerAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Louis Sautier (sbraz) gentoo-dev 2015-03-07 01:01:15 UTC
Hi, in the init script, ICINGA2_RUN_DIR is incorrectly defined as /run/icinga2 instead of /var/run/icinga2 (which is what is set by the ebuild during compilation).
As a result, icinga2 can not be started with the init script. Prepending /var to the variable fixes the issue as expected.
Comment 1 Louis Sautier (sbraz) gentoo-dev 2015-03-07 01:33:30 UTC
It seems that this is simply caused by /var/run not being a symlink to /run on my system because it had not been rebooted in over a year.