Looking back through the rotated "syslog" I noticed that the PID of
rsyslogd  hasn't changed when it was HUPed:

Aug 21 03:57:00 hush rsyslogd: [origin software="rsyslogd" swVersion="5.8.11" 
x-pid="2647" x-info="http://www.rsyslog.com";] start
Aug 21 03:57:00 hush rsyslogd: rsyslogd's groupid changed to 103
Aug 21 03:57:00 hush rsyslogd: rsyslogd's userid changed to 101
Aug 21 03:57:00 hush rsyslogd-2039: Could not open output pipe '/dev/xconsole' 
[try http://www.rsyslog.com/e/2039 ]
Aug 22 05:29:03 hush rsyslogd: [origin software="rsyslogd" swVersion="5.8.11" 
x-pid="2647" x-info="http://www.rsyslog.com";] rsyslogd was HUPed

But I guess it could have died whilst re-creating the files, which may
lead to it being restarted with the dbus-daemon user "messagebus" user
file-ownership credentials. Then, when it drops its privileges (I
presume it expects it was started as root) it loses access to its own
files.

-- 
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