[libvirt-users] LXC and syslog seperation (/dev/log)

Sven Schwedas sven.schwedas at tao.at
Fri Apr 10 14:13:45 UTC 2015


On 2015-04-10 15:16, Daniel P. Berrange wrote:
> On Fri, Apr 10, 2015 at 08:09:58AM -0500, James Leu wrote:
>> Hello,
>>
>> I'm seeing syslog messages "bleed" from the host and other LXC into
>> the messages, maillog, secure  logs of other LXCs.
>>
>> I'm using libvirt 1.0.0 on a host with systemd and kernel 3.9.10.
>> Each LXC is running an older non-systemd linux distribution
>>
>> Is this a known issue?  Is there a work around?
> 
> There is no syslog separation in the kernel namespaces. Libvirt does
> not even create /dev/log device in the container by default. So I'm
> curious how you've configured the guest - could be something missing
> that allows cross-pollution

I suspect bind-mounting the host's /dev/ – it's a common suggestion I've
seen in chrooting tutorials.

> 
> Regards,
> Daniel
> 

-- 
Mit freundlichen Grüßen, / Best Regards,
Sven Schwedas
Systemadministrator
TAO Beratungs- und Management GmbH | Lendplatz 45 | A - 8020 Graz
Mail/XMPP: sven.schwedas at tao.at | +43 (0)680 301 7167
http://software.tao.at

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 648 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20150410/8b4640ec/attachment.sig>


More information about the libvirt-users mailing list