[PATCH RFC 0/5] Containerize syslog

Eric W. Biederman ebiederm at xmission.com
Fri Dec 7 18:05:59 UTC 2012


Glauber Costa <glommer at parallels.com> writes:

> I keep asking myself if it isn't the case of forwarding to a container
> all messages printed in process context. That will obviously exclude all
> messages resulting from kthreads - that will always be in the initial
> namespace anyway, interrupts, etc. There is no harm, for instance, in
> delivering the same message twice: one to the container, and the other
> to the host system.

Except that there is harm in double printing.  One of the better
justifications for doing something with the kernel log is that it is
possible to overflow the kernel log with operations performed
exclusively in a container.

I do think the idea of process context printks going to the current
container one worth playing with.

Eric


More information about the Containers mailing list