[icinga-devel] init-script

Hendrik Baecker andurin at process-zero.de
Wed Oct 7 21:18:37 CEST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Am 07.10.09 20:23, schrieb Christoph Maser:
> In the init script (daemon-init.in) line 135 is:
> 
> su - $IcingaUser -c "touch $IcingaVarDir/icinga.log
> $IcingaRetentionFile"
> 
> What is the use of that? Can it be dropped? "su - $IcingaUser" will not
> work with locked accounts (which is a usual setup for service-accounts)

Might be an historical artefact.
Normally the daemon opens the log after dropping privileges so it
shouldn't be needed.

Question back: Did you try to comment out this 'su' stuff? What happens?
Does it all run properly?

If your answers are: "Not until now.", "All things are working...",
"YES" - send us a patch ;)

- -
Hendrik
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)

iEYEARECAAYFAkrM6Y0ACgkQlI0PwfxLQjm8CwCfb1E35jhxlM+DTW1cg0yTQBlE
oTEAnimoL4vu5q1TQjFKFJrKyYYRGe01
=UZy7
-----END PGP SIGNATURE-----




More information about the icinga-devel mailing list