Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 554132 - net-analyzer/icinga2 - systemd unit should not source conf.d
Summary: net-analyzer/icinga2 - systemd unit should not source conf.d
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-07 09:53 UTC by ben.c.schubert
Modified: 2015-07-15 02:51 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 ben.c.schubert 2015-07-07 09:53:56 UTC
When launching icinga2 with systemd, it will source /etc/conf.d/icinga2 as environment file.

However, this file misses ICINGA2_RUN_DIR="/run/icinga2", which is, for openrc defined in /etc/init.d/icinga2, leading to the creation of a "/icinga2" folder.

I guess "ICINGA2_RUN_DIR" should be added to /etc/conf.d/incinga2.
Comment 2 ben.c.schubert 2015-07-14 09:20:03 UTC
Ok, I see thanks for this I did not know. But then a problem remains : icinga2 sources as environment file a conf.d file, which should not be the case right ?

If so I'll edit the description of the bug, else I will close it.

Thanks !
Comment 3 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2015-07-15 02:51:56 UTC
We don't install a custom unit file, I'd suggest making a bug upstream.  I did add it to the conf.d file though