logrotate ownership problems

Adam Funk a24061 at ducksburg.com
Thu Sep 4 09:13:13 UTC 2014


Yesterday I upgraded rsyslog from 7.4.4-1ubuntu2 to 7.4.4-1ubuntu2.1
on two machines running 14.04 (logrotate was already at
3.8.7-1ubuntu1), & both of them gave me loads of "insecure
permissions" errors in this morning's anacron output. 

I found a bug report [1] from April 2014 for this problem associated
with the logrotate 3.8.7-1ubuntu1 package, but I've been using that
package for a while now & only with the rsyslog update seen the
problem.

What is the correct workaround for this --- adding su lines to the
logrotate.conf.d/* files, or changing the ownership of the /var/log
directories & files?

Thanks,
Adam


[1] https://bugs.launchpad.net/ubuntu/+source/logrotate/+bug/1278193





More information about the ubuntu-users mailing list