Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 542388 - net-analyzer/icinga2-2.2.4 fails to start due to an incorrect ICINGA2_RUN_DIR the init script
Summary: net-analyzer/icinga2-2.2.4 fails to start due to an incorrect ICINGA2_RUN_DIR...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-07 01:01 UTC by Louis Sautier (sbraz)
Modified: 2015-03-07 01:33 UTC (History)
0 users

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 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.