[Lxc-users] In container some syslog lines garbled

Ulli Horlacher framstag at rus.uni-stuttgart.de
Mon Jan 23 20:38:24 UTC 2012


On Mon 2012-01-23 (20:12), U.Mutlu wrote:
> In the container some syslog lines are garbled:
> 
> Jan 23 18:41:41 my1 kernel: imklog 5.8.6, log source = /proc/kmsg started.
> Jan 23 18:41:41 my1 rsyslogd: [origin software="rsyslogd" swVersion="5.8.6" x-pid="323" x-info="http://www.rsyslog.com"] start
> Jan 23 18:41:41 my1 /usr/sbin/cron[353]: (CRON) INFO (pidfile fd = 3)
> Jan 23 18:41:41 my1 /usr/sbin/cron[354]: (CRON) STARTUP (fork ok)
> Jan 23 18:41:41 my1 /usr/sbin/cron[354]: (CRON) INFO (Skipping @reboot jobs -- not system startup)
> Jan 23 19:00:11 my1 kernel: 4276 Y U N U=r R=9.6.41 S=4204.3 E=0TS00 RC00 T=4I=95 FPOOTPST505DT8 IDW160RS00 Y RP0
> Jan 23 19:00:11 my1 kernel: 49.481 Y U N U=r R=9.6.41 S=4204.5 E=0TS00 RC00 T=4I=15 FPOOTPST542DT8 IDW160RS00 Y RP0
> 
> Ie. the last 2 lines above are garbage.
> 
> What's the reason for that?

Bug in LXC.

Has been discussed several times in this list.

My workaround:

Disabling kernel logging in the containers and do forwarding of these
message by host with own daemon (rsyslogfd).


-- 
Ullrich Horlacher              Server- und Arbeitsplatzsysteme
Rechenzentrum                  E-Mail: horlacher at rus.uni-stuttgart.de
Universitaet Stuttgart         Tel:    ++49-711-685-65868
Allmandring 30                 Fax:    ++49-711-682357
70550 Stuttgart (Germany)      WWW:    http://www.rus.uni-stuttgart.de/
REF: <jfkbes$82n$1 at dough.gmane.org>




More information about the lxc-users mailing list