* Containers syslog support?
@ 2009-04-13 21:53 Chris R. Jones
[not found] ` <20090413215315.GA28487-SqNQQPNds68nxqbYAscKCQ@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Chris R. Jones @ 2009-04-13 21:53 UTC (permalink / raw)
To: containers-qjLDD68F18O7TbgM5vRIOg
Hello again,
Another question on containers. This time, for syslog. Is there any
containers support to isolate syslog entries for different containers?
That is, is there any way I can run two different syslogd processes in
two different containers, in such a way that each syslogd process only
sees and logs events generated by processes in it's own container?
Are syslog messages covered under one of the other namespaces (pids, utsname, sysv ipc, network, users), or is there a seperate namespace for them.
Thanks,
Chris
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Containers syslog support?
[not found] ` <20090413215315.GA28487-SqNQQPNds68nxqbYAscKCQ@public.gmane.org>
@ 2009-04-14 14:21 ` Serge E. Hallyn
0 siblings, 0 replies; 2+ messages in thread
From: Serge E. Hallyn @ 2009-04-14 14:21 UTC (permalink / raw)
To: Chris R. Jones; +Cc: containers-qjLDD68F18O7TbgM5vRIOg
Quoting Chris R. Jones (chris-SqNQQPNds68nxqbYAscKCQ@public.gmane.org):
> Hello again,
>
> Another question on containers. This time, for syslog. Is there any
> containers support to isolate syslog entries for different containers?
> That is, is there any way I can run two different syslogd processes in
> two different containers, in such a way that each syslogd process only
> sees and logs events generated by processes in it's own container?
>
> Are syslog messages covered under one of the other namespaces (pids, utsname, sysv ipc, network, users), or is there a seperate namespace for them.
>
> Thanks,
> Chris
You can run syslogd in two different containers if they have different
network namespaces, bc /dev/log should be different for each. So if
user-space software is using syslog(3) it's msgs should stay inside the
container. I haven't played with it, though. If you run a quick
(presumably trivial) test, pls let us know how it goes.
(Of course kernel (printk) messages will go to the klogd in the initial
network namespace, as they should.)
-serge
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-04-14 14:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-13 21:53 Containers syslog support? Chris R. Jones
[not found] ` <20090413215315.GA28487-SqNQQPNds68nxqbYAscKCQ@public.gmane.org>
2009-04-14 14:21 ` Serge E. Hallyn
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.