[icinga-devel] init-script

Christoph Maser cmr at financial.com
Wed Oct 7 21:54:09 CEST 2009


Am Mittwoch, den 07.10.2009, 21:18 +0200 schrieb Hendrik Baecker:
> -----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 ;)



Well you did already and now I see I did mix up the init-scripts. So you
can close #133 ;)



financial.com AG

Munich head office/Hauptsitz München: Maria-Probst-Str. 19 | 80939 München | Germany
Frankfurt branch office/Niederlassung Frankfurt: Messeturm | Friedrich-Ebert-Anlage 49 | 60327 Frankfurt | Germany
Management board/Vorstand: Dr. Steffen Boehnert | Dr. Alexis Eisenhofer | Dr. Yann Samson | Matthias Wiederwach
Supervisory board/Aufsichtsrat: Dr. Dr. Ernst zur Linden (chairman/Vorsitzender)
Register court/Handelsregister: Munich – HRB 128 972 | Sales tax ID number/St.Nr.: DE205 370 553




More information about the icinga-devel mailing list