[Lxc-users] note on using rsyslog in a container

Ulli Horlacher framstag at rus.uni-stuttgart.de
Mon Nov 7 17:44:56 UTC 2011


On Tue 2011-01-11 (02:54), Mike wrote:

> I noticed netfilter messages getting trashed in the various 
> /var/log/messages on a system with two containers, netfilter rules on 
> the host, and each container and the host running rsyslog.  On closer 
> inspection, I realized that only every other character or so of the 
> message was appearing in a given log file. 

Today I fall into the same pit, thanks to the list archive I found your
workaround:

> Disabling kernel logging in the containers, by commenting out "$ModLoad
> imklog" in /etc/rsyslog.conf, straightened out the log files.

Now only the host gets the netfilter (iptables) log messages.
Not quite what I want...
Will this issue be fixed in the future?


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




More information about the lxc-users mailing list