Logrotate improvement

Peter Welter peter.welter at gmail.com
Sat Sep 3 16:47:01 CEST 2005


Hello Henrik (or rpm-maintainers?!),

The current hobbit.logrotate file contains a minor error. The last section is:

        postrotate
                su -c "/etc/init.d/hobbit rotate" hobbit
        endscript

I think two things are mixed up because this command asks for a
password (running a root-script). It should be:

                /etc/init.d/hobbit rotate
-or-
             su - hobbit -c"/usr/lib/hobbit/server/hobbit.sh rotate"

regards,

Peter



More information about the Xymon mailing list