Sorry, there were two issues: 1) The condition that the fix was testing for (EBADF on read before dropping privileges) was not a reliable indicator of the underlying problem. I should really have tested for EPERM on read after dropping privileges. 2) I only applied the fix to imkmsg, it also needed to be applied to imklog.
I've submitted an new pull request upstream: https://github.com/rsyslog/rsyslog/pull/138 ** Patch added: "imklog.patch" https://bugs.launchpad.net/ubuntu/+source/rsyslog/+bug/1366829/+attachment/4294218/+files/imklog.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1366829 Title: 7.4.4-1ubuntu2.1 makes rsyslogd to take all the CPU in OpenVZ To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rsyslog/+bug/1366829/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
