Bug 683667

Summary: lxc-start: failed to cap_get_flag: Invalid argument
Product: [Fedora] Fedora Reporter: Lennart Poettering <lpoetter>
Component: lxcAssignee: Thomas Moschny <thomas.moschny>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: bruno.cornec, greenrd, ramez.hanna
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-07-25 09:38:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Lennart Poettering 2011-03-10 00:14:05 UTC
I wanted to check out what might be necessary to make systemd work inside a LXC container, but the LXC version on F15 didn't really let me.

With this config file:

lxc.utsname=debian
lxc.network.type=phys
lxc.network.link=eth0
lxc.rootfs=/home/lennart/debian-unstable

And a debootstrapped debian unstable in that dir (unfortunately we have no equally nice tool for fedora...) I then started lxc:

[lennart@epsilon] ~$ sudo lxc-start -n debian
lxc-start: failed to cap_get_flag: Invalid argument
lxc-start: failed to clone(0x6c020000): Operation not permitted
lxc-start: Operation not permitted - failed to fork into a new namespace
lxc-start: failed to spawn 'debian'

lxc-0.7.2-2.fc15.x86_64
kernel-2.6.38-0.rc6.git6.1.fc15.x86_64

Comment 1 ramez hanna 2011-05-28 12:20:50 UTC
i think it is related to cgroups
it tries to create the cgroup under /sys/fs/cgroup/systemd which i would expect to be the wrong location

Comment 2 Robin Green 2011-05-28 13:06:51 UTC
This bug is fixed in the latest upstream lxc. However, I still experience a different bug with that version, which I've been experiencing for some time.

Comment 3 Silas Sewell 2011-06-26 01:17:23 UTC
I have orphaned this package.

Comment 4 Fedora Admin XMLRPC Client 2011-07-06 21:44:40 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 5 Fedora Admin XMLRPC Client 2012-01-14 21:42:56 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 6 Robin Green 2012-07-22 07:38:02 UTC
Bug no longer present in Fedora 17, and Fedora 15 is EOL.

Comment 7 Thomas Moschny 2012-07-25 09:38:22 UTC
So, closing.