Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 508496

Summary: app-emulation/libvirt-1.2.3 USE=lxc - Requested operation is not valid: System lacks NETNS support
Product: Gentoo Linux Reporter: ALeX <amamlin>
Component: Current packagesAssignee: Doug Goldstein (RETIRED) <cardoe>
Status: RESOLVED OBSOLETE    
Severity: normal CC: amamlin, virtualization
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: AMD64   
OS: Linux   
URL: http://libvirt.org/git/?p=libvirt.git;a=commit;h=21ec87f4f1a538f929c48ecb2bdbf48701022779
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Upstream fix in git

Description ALeX 2014-04-23 13:14:08 UTC
app-emulation/libvirt-1.2.3: LXC containters cannot start because system lacks NETNS support

Reproducible: Always

Steps to Reproduce:
1. Update libvirt to 1.2.3 version
2. Compile kernel with CONFIG_NET_NS=y
3. Reboot and start system with new kernel
4. Start libvirtd daemon
5. Create LXC container and start it
Actual Results:  
Got error: Requested operation is not valid: System lacks NETNS support

Expected Results:  
Container should start

This bug is fixed in upstream by commit 21ec87f4f1a538f929c48ecb2bdbf48701022779 (http://libvirt.org/git/?p=libvirt.git;a=commit;h=21ec87f4f1a538f929c48ecb2bdbf48701022779)
This fix should be applied with app-emulation/libvirt-1.2.3-r1
Comment 1 Andrey Falko 2014-06-25 00:16:17 UTC
I hit this today on version 1.2.3 of libvirt; same repro steps. 

I upgraded to 1.2.5 and was able to get past this.
Comment 2 Christopher Byrne 2014-07-11 04:09:10 UTC
Created attachment 380552 [details, diff]
Upstream fix in git

Also noted in Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=1083030

Upstream fixed in a later version, I grabbed the commit from the git tree. Tested and it works.
Comment 3 Olliver Schinagl 2014-08-12 22:12:40 UTC
Confirmed, running ~amd64 fixes it, so a later version would need to be stablized, 1.2.3 is broken (with lxc and networking).
Comment 4 Matthias Maier gentoo-dev 2014-10-31 12:35:29 UTC
Version 1.2.9 is now stable.