Comment 70 for bug 865158

Revision history for this message
In , Cyberbat83 (cyberbat83) wrote :

Created attachment 350230
jabberd logrotate script with fixed user issue

We need to run logrotate from jabber user or get error:

error: skipping "/var/log/jabber/c2s.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
error: skipping "/var/log/jabber/s2s.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
error: skipping "/var/log/jabber/sm.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
error: skipping "/var/log/jabber/router.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
run-parts: /etc/cron.daily/logrotate.cron exited with return code 1
Job /bin/run-parts /etc/cron.daily 1> /dev/null terminated (exit status: 1) (mailing output)

Please mark attachment 267511 as obsolete.