On 05/31/2011 12:33 PM, Ramez Hanna wrote:
> it seems that lxc cannot handle cgroups when capabilities are not all in the
> same mount
> it fails now because it cannot write the devices.deny in the cgroup
> if i comment out all the lxc.cgroup.devices lines in the config of the
> container then i can actually start it
>
> I would think that the way lxc identifies the cgroup mount might be the part
> that needs patching

Thanks for investigating.

The main problem is lxc is cgroup agnostic, so we should find a solution 
where we don't break that.

Maybe one solution would be to collect all the mount points found for 
the cgroup and try to find the right path when writing or reading from 
one cgroup file.

Does systemd run lxc within a cgroup which is not the root cgroup ?


------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to