[Bug 1196518] Re: lxc-start failed with lxc_cgroup - Invalid argument - write /sys/fs/cgroup/devices/lxc/<NAME>/devices.deny : Invalid argument with kernel 3.10
Jean-Baptiste Lallement
jean-baptiste at ubuntu.com
Thu Jul 4 22:07:48 UTC 2013
Here is a minimal test case to reproduce the problem:
NAME=test-deny-${RANDOM}
echo "lxc.hook.mount = /usr/share/lxc/hooks/mountcgroups" > /tmp/${NAME}.lxc
lxc-create -t ubuntu -n $NAME -f /tmp/${NAME}.lxc -- -r saucy
lxc-start -n $NAME
>From what I understand, setting devices.deny or .allow = a is forbidden in 3.10 when a cgroup has children. And the hook mountcgroup creates a child called NAME.real.
This line comes from a default configuration file in raring.
This is a change in behavior between 3.9 and 3.10 and a bit confusing.
Feel free to close if you think it is not a bug.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1196518
Title:
lxc-start failed with lxc_cgroup - Invalid argument - write
/sys/fs/cgroup/devices/lxc/<NAME>/devices.deny : Invalid argument
with kernel 3.10
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1196518/+subscriptions
More information about the Ubuntu-server-bugs
mailing list