Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 508496 - app-emulation/libvirt-1.2.3 USE=lxc - Requested operation is not valid: System lacks NETNS support
Summary: app-emulation/libvirt-1.2.3 USE=lxc - Requested operation is not valid: Syste...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Doug Goldstein (RETIRED)
URL: http://libvirt.org/git/?p=libvirt.git...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-04-23 13:14 UTC by ALeX
Modified: 2014-10-31 12:35 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Upstream fix in git (0001-LXC-Fix-return-code-evaulation-in-lxcCheckNetNsSuppo.patch,1.14 KB, patch)
2014-07-11 04:09 UTC, Christopher Byrne
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.