[Lxc-users] cgroups permission problem

John john at neutrondawn.com
Thu Oct 10 14:00:14 UTC 2013


Serge,
Sorry for the confusion, both files have been created and are in fact 
empty.  This is after having removed any configuration constraint on 
processors in GE.conf.

On 2013-10-10 10:03, Serge Hallyn wrote:
> Quoting John (john at neutrondawn.com):
>> I am in fact able to write to the file.  its initial state is empty.
> 
> The initial state of which file is empty -
> /cgroup/cpuset/lxc/cpuset.cpus, or /cgroup/cpuset/lxc/GE/cpuset.cpus?
> If the former, then that's the problem.  That file should have been
> initialized earlier.  /x/y/z/ is not allowed to use cpus which are
> not authorized for use by /x/y.
> 
>> On 2013-10-10 09:24, Serge Hallyn wrote:
>> >Quoting John (john at neutrondawn.com):
>> >>Greetings LXC,
>> >>im having problems getting my container operational on centos.
>> >>cgconfig
>> >>and cgred are both running. the error is as follows during startup
>> >>attempts:
>> >>
>> >>  lxc-start 1381364626.764 DEBUG    lxc_cgroup -
>> >>cgroup_path_get: called
>> >>for subsys cpuset name lxc/GE
>> >>
>> >>       lxc-start 1381364626.764 DEBUG    lxc_cgroup - using cgroup
>> >>mounted at '/cgroup/cpuset'
>> >>       lxc-start 1381364626.764 DEBUG    lxc_cgroup - cgroup_path_get:
>> >>returning /cgroup/cpuset/lxc/GE for subsystem cpuset.cpus
>> >>       lxc-start 1381364626.764 ERROR    lxc_cgroup - Permission
>> >>denied -
>> >>write /cgroup/cpuset/lxc/GE/cpuset.cpus : Permission denied
>> >>       lxc-start 1381364626.764 ERROR    lxc_conf - Error setting
>> >>cpuset.cpus to 0,1,2,3,4,5,6 for lxc/GE
>> >
>> >Whatis in /cgroup/cpuset/lxc/cpuset.cpus?  Are you able to manually
>> >write to that file?




More information about the lxc-users mailing list