[lxc-devel] lxc-start: Failed to find current cgroup
Harald Dunkel
harri at afaics.de
Sat Aug 17 14:40:57 UTC 2013
Hi Serge,
On 08/17/13 15:29, Serge Hallyn wrote:
> Quoting Harald Dunkel (harri at afaics.de):
>> Hi folks,
>>
>> Using the current (d24d56d7ee3420bb79238ff84cad07c20cf4757d)
>> version lxc-start gives me
>>
>> # lxc-start -n lxc0
>> lxc-start: Failed to find current cgroup
>> lxc-start: Out of memory reading cgroups
>> lxc-start: failed to spawn 'lxc0'
>>
>> The same container worked before for the lxc version checked out
>> on 130811. Unfortunately I don't have the ID for git.
>>
>>
>> ???
>> Every helpful hint is highly appreciated.
>
> Sounds like my fault then. Can you please show:
>
> grep cgroup /proc/self/mountinfo
> cat /proc/self/cgroup
> cat /proc/cgroups
>
> and then do
>
> lxc-start -n lxc0 -l info -o debug.out
>
> and attach debug.out?
>
{root at cecil:result 385} lxc-start -n lxc0
lxc-start: Failed to find current cgroup
lxc-start: Out of memory reading cgroups
lxc-start: failed to spawn 'lxc0'
{root at cecil:result 385} grep cgroup /proc/self/mountinfo
25 19 0:18 / /cgroup rw,relatime - cgroup cgroup rw,perf_event,blkio,net_cls,freezer,devices,memory,cpuacct,cpu,cpuset,clone_children
{root at cecil:result 386} cat /proc/self/cgroup
1:perf_event,blkio,net_cls,freezer,devices,memory,cpuacct,cpu,cpuset:/
{root at cecil:result 387} cat /proc/cgroups
#subsys_name hierarchy num_cgroups enabled
cpuset 1 2 1
cpu 1 2 1
cpuacct 1 2 1
memory 1 2 1
devices 1 2 1
freezer 1 2 1
net_cls 1 2 1
blkio 1 2 1
perf_event 1 2 1
{root at cecil:result 388} lxc-start -n lxc0 -l info -o debug.out
lxc-start: Failed to find current cgroup
lxc-start: Out of memory reading cgroups
lxc-start: failed to spawn 'lxc0'
See attachment
2bcontinued
Harri
-------------- next part --------------
lxc-start 1376750272.667 INFO lxc_start_ui - using rcfile /var/lib/lxc/lxc0/config
lxc-start 1376750272.668 INFO lxc_apparmor - aa_enabled set to 0
lxc-start 1376750272.668 INFO lxc_conf - tty's configured
lxc-start 1376750272.668 INFO lxc_start - 'lxc0' is initialized
lxc-start 1376750272.681 INFO lxc_conf - opened /export/storage/lxc/lxc0/rootfs.hold as fd 20
lxc-start 1376750272.682 ERROR lxc_cgroup - Failed to find current cgroup
lxc-start 1376750272.682 ERROR lxc_cgroup - Out of memory reading cgroups
lxc-start 1376750272.707 ERROR lxc_start - failed to spawn 'lxc0'
More information about the lxc-devel
mailing list