[Pkg-nagios-devel] Bug#831745: Bug#831745: icinga2: file/directory permission issues
Christoph Anton Mitterer
calestyo at scientia.net
Mon Jul 18 23:06:26 UTC 2016
Hey Alex.
Somewhat related to this:
Would you accept a patch that either:
- more clearly documents that /etc/default/icinga2 doesn't work with
systemd (e.g. by inserting "sysvinit" before "scripts").
or alternatively
- one that adds "EnvironmentFile=-/etc/default/icinga2" to the unit
file
?
The later would load that just as with the sysvinit script, though I'm
not sure whether this makes any sense, at least I couldn't find out
whether Icinga2 daemon takes up any such envvars.
I've further seen that you have:
ExecStartPre=/usr/lib/icinga2/prepare-dirs /usr/lib/icinga2/icinga2
I can't expect you'd change this to:
ExecStartPre=/usr/lib/icinga2/prepare-dirs /etc/default/icinga2
?
The
current dir doesn't seem to be used, and having the conf file as
parameter would make it sourced and allow to alter the defaults of
prepare-dirs.
So things would still work out of the box with www-data,
but it would be easily changeable without any more of work for you? :)
Cheers.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5930 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-nagios-devel/attachments/20160719/2cdfda80/attachment.bin>
More information about the Pkg-nagios-devel
mailing list