Comment 3 for bug 794230

Revision history for this message
Scott Moser (smoser) wrote :

OK, when running my build, I do get the same messages regarding xconsole that pitti saw in https://bugs.launchpad.net/ubuntu/+source/rsyslog/+bug/775703/comments/8 . It *appears* that the newer syslog is just being overly annoying about the xconsole issue, but what is really happening is its segfaulting and upstart is restarting it.

ie:
$ sudo start rsyslog
$ tail /var/log/syslog
Jun 8 20:07:12 ip-10-68-51-59 kernel: imklog 5.8.1, log source = /proc/kmsg started.
Jun 8 20:07:12 ip-10-68-51-59 rsyslogd: [origin software="rsyslogd" swVersion="5.8.1" x-pid="15174" x-info="http://www.rsyslog.com"] start
Jun 8 20:07:12 ip-10-68-51-59 rsyslogd: rsyslogd's groupid changed to 103
Jun 8 20:07:12 ip-10-68-51-59 rsyslogd: rsyslogd's userid changed to 101
Jun 8 20:07:12 ip-10-68-51-59 rsyslogd-2039: Could no open output pipe '/dev/xconsole' [try http://www.rsyslog.com/e/2039 ]
$ echo "hi" | logger
$ tail /var/log/syslog

Jun 8 20:08:35 ip-10-68-51-59 kernel: imklog 5.8.1, log source = /proc/kmsg started.
Jun 8 20:08:35 ip-10-68-51-59 rsyslogd: [origin software="rsyslogd" swVersion="5.8.1" x-pid="15826" x-info="http://www.rsyslog.com"] start
Jun 8 20:08:35 ip-10-68-51-59 rsyslogd: rsyslogd's groupid changed to 103
Jun 8 20:08:35 ip-10-68-51-59 rsyslogd: rsyslogd's userid changed to 101
Jun 8 20:08:35 ip-10-68-51-59 rsyslogd-2039: Could no open output pipe '/dev/xconsole' [try http://www.rsyslog.com/e/2039 ]

Note, the pid changed.

Debugging this, I installed the debian build of 5.81-1 from the debian archive, and then substituted our rsyslog config in. Everything is fine. I rebuilt the debian build from source in an oneiric sbuild, and the segfault behavior is back.

So, this appears to me to be an issue shown or caused by different build environments of debian versus ubuntu.