Re: libvirt and dmesg

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Pierre-Jacques,

First note that you posted your message on the developer's mailing list.
For such user questions, rather email: https://www.redhat.com/mailman/listinfo/libvirt-users

According to https://linuxcontainers.org/lxc/manpages//man5/lxc.container.conf.5.html
lxc.kmsg is only used to symlink /dev/kmsg to /dev/console. Thus setting
this to 0 only results in the lack of that symlink. libvirt doesn't setup
this link at all, may be it is coming from the lxc domain root file system.

On Wed, 2017-03-15 at 08:49 +0100, Michel Pierre-Jacques wrote:
> Hi all, il try to find the way to obtain the same use as in the
> lxc config file lxc.kmsg=0
> 
> how to do that, with the xml of a lxc domain, i make lot of try without
> success . 
> 
> is there another way to deny access to the dmesg for a libvirt lxc
> domain ? 

>From what I see, dmesg doesn't necessarily requires /dev/kmsg (at least
on opensuse). So blocking it may be more tricky. May be you should tell
us more how you setup your container.

--
Cedric

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux