Bug 683667 - lxc-start: failed to cap_get_flag: Invalid argument
Summary: lxc-start: failed to cap_get_flag: Invalid argument
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: lxc
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Thomas Moschny
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-10 00:14 UTC by Lennart Poettering
Modified: 2012-07-25 09:38 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-07-25 09:38:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.