[libvirt] Lxc support
Daniel P. Berrange
berrange at redhat.com
Fri Oct 29 10:39:20 UTC 2010
On Fri, Oct 29, 2010 at 12:27:59PM +0200, Jean-Philippe Menil wrote:
> Le 29/10/2010 12:00, Osier a écrit :
> >On 10/29/2010 04:42 PM, Jean-Philippe Menil wrote:
> >>Hi,
> >>
> >>i'm trying to test the lxc support in libvirt, but but libvirt failed to
> >>start container with error "lxcContainerAvailable:897 : clone call
> >>returned Operation not permitted, container support is not enabled"
> >>
> >
> >What's the kernel version you use? Just as the error message says, the
> >system call 'clone' failed, It's probly caused by lacking of kernel
> >support.
> >
> >At least you should make sure 'clone' support these flags:
> >
> >CLONE_NEWPID, CLONE_NEWNS, CLONE_NEWUTS, CLONE_NEWIPC, SIGCHLD
> thanks for your response.
> The kernel is a 2.6.36 wit hthe following:
> root at redbreast:/tmp# cat /boot/config-2.6.36-dsiun-1a | grep -i pid
> CONFIG_PROC_PID_CPUSET=y
> CONFIG_PID_NS=y
> # CONFIG_SPI_SPIDEV is not set
> CONFIG_HID_PID=y
You need to check for _NS= here, and want to see the following
$ grep _NS= /boot/config-2.6.34.6-54.fc13.x86_64
CONFIG_CGROUP_NS=y
CONFIG_UTS_NS=y
CONFIG_IPC_NS=y
CONFIG_USER_NS=y
CONFIG_PID_NS=y
CONFIG_NET_NS=y
Daniel
--
|: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
More information about the libvir-list
mailing list