Comment 18 for bug 940030

Revision history for this message
Marcelo Fernandez (fernandezm) wrote :

I also can confirm adding "create 640 syslog adm" to /etc/logrotate.d/rsyslog fixes the problem.

@Gustavo, you should change the /etc/logrotate.d/rsyslog file from this:

/var/log/syslog
{
        rotate 7
        daily
        missingok
        notifempty
        delaycompress
        compress
        postrotate
                reload rsyslog >/dev/null 2>&1 || true
        endscript
}

to this:

/var/log/syslog
{
        rotate 7
        daily
        missingok
        notifempty
        delaycompress
        compress
        create 640 syslog adm
        postrotate
                reload rsyslog >/dev/null 2>&1 || true
        endscript
}

and now you're ok.

And for the record, I also moved away from syslog-ng to rsyslog, so I think it may cause this bug (perhaps a package's install/uninstall script).

Regards