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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/940030

Title:
  rsyslog stops working after logrotate until restarted

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rsyslog/+bug/940030/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to