[Pkg-nagios-devel] Bug#583543: init script hardcoded user

Tom De Cooman tom.decooman at ugent.be
Fri May 28 09:36:10 UTC 2010


Package: icinga-idoutils
Version: 1.0.1-3

The init script uses a hardcoded user to chown /var/run/icinga and the 
pidfile before starting.
So when changing the user in ido2db.cfg, the service won't start anymore 
due to file permissions.

#
# Function that starts the daemon/service
#
do_start()
{
         test -d $(dirname $PIDFILE) || mkdir -p $(dirname $PIDFILE)
         chown nagios:nagios $(dirname $PIDFILE)







More information about the Pkg-nagios-devel mailing list