[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87r4n1buuw.fsf@xmission.com>
Date: Fri, 07 Dec 2012 10:05:59 -0800
From: ebiederm@...ssion.com (Eric W. Biederman)
To: Glauber Costa <glommer@...allels.com>
Cc: Serge Hallyn <serge.hallyn@...onical.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Rui Xiang <leo.ruixiang@...il.com>, <netdev@...r.kernel.org>,
<containers@...ts.linux-foundation.org>
Subject: Re: [PATCH RFC 0/5] Containerize syslog
Glauber Costa <glommer@...allels.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
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists