similar to: How to enable SELinux driver for libvirt?

Displaying 20 results from an estimated 6000 matches similar to: "How to enable SELinux driver for libvirt?"

2014 Aug 22
1
Re: How to enable SELinux driver for libvirt?
于 2014年08月21日 20:58, Eric Blake 写道: > On 08/21/2014 01:38 AM, Qiang Guan wrote: >> Hi guys, >> >> It seems libvirt disable SELinux driver by default. > You need to provide more details to substantiate your claim. What > platform are you running on, and what version of libvirt? Did you build > it yourself or are you using the pre-built distro version? > >
2013 Aug 07
2
Is there any virsh command to setup cpusettune for lxc?
Hi Gao feng, I noticed one of your patch which adds cpuset cgroup support for lxc have been merged in libvirt 1.0.4. But I can't find any virsh command to set cpusettune for lxc container. Is there anyone? And how can I configure cpusettune for lxc container lively? Thanks ------------------ Best regards! GuanQiang
2014 Jul 08
2
Re: How to get uuid info inside a lxc container created by libvirt_lxc
于 2014年07月08日 12:06, Eric Blake 写道: > On 07/07/2014 10:02 PM, Qiang Guan wrote: >> Hi , >> >> Is there anyway to get uuid info inside a lxc container which is created >> by libvirt_lxc? >> >> For kvm, we can use dmidecode or lshw to get this info inside vm. Is >> there any tools >> to do this thing for libvirt lxc? > Per the docs: >
2014 Jul 08
2
How to get uuid info inside a lxc container created by libvirt_lxc
Hi , Is there anyway to get uuid info inside a lxc container which is created by libvirt_lxc? For kvm, we can use dmidecode or lshw to get this info inside vm. Is there any tools to do this thing for libvirt lxc? Thanks for any help~ -- ------------ Jackie Best Regards
2013 Jul 16
2
Re: Hotplug of disk devices in LXC failed with libvirt of version 1.0.2
于 2013/7/15 17:32, Gao feng 写道: > On 07/15/2013 05:18 PM, hzguanqiang wrote: >> Hi, Gao Feng >> >> I've tried what you said, but still exists the problem: >> >> ubuntu@lxc:~$ vir attach-disk instance-0000002c /dev/dm-0 sdb >> error: Failed to attach disk >> error: Unable to create device /proc/10366/root/dev/sdb: Permission denied >>
2014 Aug 29
1
Unable to find security driver for label selinux
Hi experts, I want to have a test on security driver for libvirt lxc on my debian system. What I do is as the following steps: 1) download the source code from git://libvirt.org/libvirt.git 2) compile and install with the source code as following: ./autogen.sh --system ./configure --with-selinux=yes --with-secdriver-selinux=yes make -j8 & make install root@debian:~/github/libvirt.git/tools#
2013 Jul 17
1
Re: Hotplug of disk devices in LXC failed with libvirt of version 1.0.2
On 07/17/2013 04:15 PM, Gao feng wrote: > On 07/16/2013 01:29 PM, Guan Qiang wrote: >> 于 2013/7/15 17:32, Gao feng 写道: >>> On 07/15/2013 05:18 PM, hzguanqiang wrote: >>>> Hi, Gao Feng >>>> >>>> I've tried what you said, but still exists the problem: >>>> >>>> ubuntu@lxc:~$ vir attach-disk instance-0000002c
2014 May 27
2
How to build and install python-libvirt
ubuntu@host-192-168-0-7:~/github$ git clone git://libvirt.org/libvirt-python.git ubuntu@host-192-168-0-7:~/github$ cd libvirt-python/ ubuntu@host-192-168-0-7:~/github/libvirt-python$ python setup.py build Package libvirt was not found in the pkg-config search path. Perhaps you should add the directory containing `libvirt.pc' to the PKG_CONFIG_PATH environment variable No package
2013 Nov 14
2
Re: Problem about lxc-enter-namespace interface
On 11/14/2013 02:57 PM, hzguanqiang@corp.netease.com wrote: > On 2013-11-14 14:17 , Gao feng <mailto:gaofeng@cn.fujitsu.com> wrote: > > On 11/14/2013 01:52 PM, hzguanqiang@corp.netease.com wrote: > > On 2013-11-14 13:41 , Gao feng <mailto:gaofeng@cn.fujitsu.com> wrote: > > > > On 11/14/2013 01:24 PM, Gao feng wrote: > > >
2013 Nov 14
2
Re: Problem about lxc-enter-namespace interface
On 11/14/2013 03:09 PM, hzguanqiang@corp.netease.com wrote: > On 2013-11-14 15:03 , Gao feng <mailto:gaofeng@cn.fujitsu.com> wrote: > > On 11/14/2013 02:57 PM, hzguanqiang@corp.netease.com wrote: > > On 2013-11-14 14:17 , Gao feng <mailto:gaofeng@cn.fujitsu.com> wrote: > > > > On 11/14/2013 01:52 PM, hzguanqiang@corp.netease.com wrote:
2013 Nov 14
2
Re: Problem about lxc-enter-namespace interface
On 11/14/2013 01:52 PM, hzguanqiang@corp.netease.com wrote: > On 2013-11-14 13:41 , Gao feng <mailto:gaofeng@cn.fujitsu.com> wrote: > > On 11/14/2013 01:24 PM, Gao feng wrote: > > On 11/14/2013 10:59 AM, hzguanqiang@corp.netease.com wrote: > >> Hi experts, > >> > >> When I test lxc-enter-namespace interface, it turned out such
2013 Nov 14
2
Re: Problem about lxc-enter-namespace interface
On 11/14/2013 01:24 PM, Gao feng wrote: > On 11/14/2013 10:59 AM, hzguanqiang@corp.netease.com wrote: >> Hi experts, >> >> When I test lxc-enter-namespace interface, it turned out such an error: >> >> hzguanqiang@debian:~$ <mailto:hzguanqiang@debian:~$> vir version >> Compiled against library: libvirt 1.1.4 >> Using library: libvirt 1.1.4
2013 Dec 09
2
Re: Question about setns recognising in libvirt autoconf
On 2013-12-09 13:18 , Gao feng wrote: On 12/09/2013 01:06 PM, hzguanqiang@corp.netease.com wrote: > Hi experts, > > When I test lxc container with lxc-enter-namespace command, It reported an error as > following: > root@debian:~/github/libvirt# vir lxc-enter-namespace lxc --noseclabel /bin/df -hl > error: Cannot get namespaces for 3145: Function not implemented > > It
2013 Nov 14
2
Problem about lxc-enter-namespace interface
Hi experts, When I test lxc-enter-namespace interface, it turned out such an error: hzguanqiang@debian:~$ vir version Compiled against library: libvirt 1.1.4 Using library: libvirt 1.1.4 Using API: LXC 1.1.4 Running hypervisor: LXC 3.9.6 hzguanqiang@debian:~$ vir list Id Name State ---------------------------------------------------- 1544 instance-00000015
2013 Aug 07
0
Re: Is there any virsh command to setup cpusettune for lxc?
Hi Guan Qiang, On 08/07/2013 05:04 PM, hzguanqiang@corp.netease.com wrote: > Hi Gao feng, > > I noticed one of your patch which adds cpuset cgroup support for lxc have been merged in libvirt 1.0.4. > But I can't find any virsh command to set cpusettune for lxc container. > Is there anyone? And how can I configure cpusettune for lxc container lively? > numatune doesn't
2014 Aug 21
0
Re: How to enable SELinux driver for libvirt?
On 08/21/2014 01:38 AM, Qiang Guan wrote: > Hi guys, > > It seems libvirt disable SELinux driver by default. You need to provide more details to substantiate your claim. What platform are you running on, and what version of libvirt? Did you build it yourself or are you using the pre-built distro version? Fedora-based distributions (and that includes RHEL and CentOS) ship the distro
2013 Dec 09
2
Question about setns recognising in libvirt autoconf
Hi experts, When I test lxc container with lxc-enter-namespace command, It reported an error as following: root@debian:~/github/libvirt# vir lxc-enter-namespace lxc --noseclabel /bin/df -hl error: Cannot get namespaces for 3145: Function not implemented It seems that setns is not supported by my kernel. But from the following info, It seemed the reason is just libvirt/autoconf doesn't
2015 Sep 08
2
How to ifup nic automaticly after hotplug nic for lxc
Hi experts, When I hotplug nic into lxc, the nic in lxc seemed to be down status as following: 1224: vnet0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000 link/ether fa:16:3e:fc:e5:96 brd ff:ff:ff:ff:ff:ff It seems mechanism such as udev is needed here. But I found udev is not supported well in lxc. So how can I get a 'up' nic after hotplug into lxc ? Very
2013 Nov 14
0
Re: Problem about lxc-enter-namespace interface
On 2013-11-14 16:40 , Gao feng wrote: On 11/14/2013 03:09 PM, hzguanqiang@corp.netease.com wrote: > On 2013-11-14 15:03 , Gao feng <mailto:gaofeng@cn.fujitsu.com> wrote: > > On 11/14/2013 02:57 PM, hzguanqiang@corp.netease.com wrote: > > On 2013-11-14 14:17 , Gao feng <mailto:gaofeng@cn.fujitsu.com> wrote: > > > > On 11/14/2013 01:52 PM,
2013 Nov 14
0
Re: Problem about lxc-enter-namespace interface
On 2013-11-14 15:03 , Gao feng wrote: On 11/14/2013 02:57 PM, hzguanqiang@corp.netease.com wrote: > On 2013-11-14 14:17 , Gao feng <mailto:gaofeng@cn.fujitsu.com> wrote: > > On 11/14/2013 01:52 PM, hzguanqiang@corp.netease.com wrote: > > On 2013-11-14 13:41 , Gao feng <mailto:gaofeng@cn.fujitsu.com> wrote: > > > > On 11/14/2013 01:24 PM,