Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 484446 - app-emulation/libvirt-1.1.2-r1 - Linux containers require securityfs support (should check for CONFIG_SECURITYFS)
Summary: app-emulation/libvirt-1.1.2-r1 - Linux containers require securityfs support ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-10 06:23 UTC by ALeX
Modified: 2013-09-10 17:50 UTC (History)
1 user (show)

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


Attachments
log with error (gentoo-amd64.log,1.16 KB, text/x-log)
2013-09-10 17:25 UTC, ALeX
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ALeX 2013-09-10 06:23:36 UTC
After upgrading to latest libvirt-1.1.2-r1 all LXC containers cannot start. 
In logs, I found that libvirt uses securityfs to work properly with the LXC, which is not enabled in my kernel.
Need to add checking CONFIG_SECURITYFS to libvirt ebuild when lxc USE-flag enabled

Reproducible: Always

Steps to Reproduce:
1. Build default/custom kernel without CONFIG_SECURITYFS
2. Build libvirt with LXC support
3. Run any existing or new LXC container with virsh or virt-manager

Actual Results:  
Got error. LXC container cannot start

Expected Results:  
LXC container should start
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-09-10 14:31:52 UTC
Please attach / post all relevant information here so that we are not required to depend on external sites.
Comment 2 ALeX 2013-09-10 17:25:31 UTC
Created attachment 358426 [details]
log with error

Please see log with error(/var/log/libvirt/lxc/gentoo-amd64.log) in attachment
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2013-09-10 17:50:41 UTC
Fixed in tree. Thanks for the report.