[lxc-users] lxc start issue in nested container

Serge E. Hallyn serge at hallyn.com
Wed Jul 13 03:54:05 UTC 2016


On Tue, Jul 12, 2016 at 10:35:22PM +0530, Prasoon Majumdar wrote:
> Hello All,
> 
> I am not able to start the nested container and getting these errors :
> 
> root at p1:/# lxc-start -n p1_nested
> lxc-start: cgfs.c: lxc_cgroupfs_create: 841 Could not find writable mount
> point for cgroup hierarchy 11 while trying to create cgroup.
> lxc-start: start.c: lxc_spawn: 891 failed creating cgroups
> lxc-start: start.c: __lxc_start: 1121 failed to spawn 'p1_nested'
> lxc-start: lxc_start.c: main: 341 The container failed to start.
> lxc-start: lxc_start.c: main: 345 Additional information can be obtained by
> setting the --logfile and --logpriority options.
> 
> 
> I am running p1_nested inside p1 :
> 
> Name:           p1
> State:          RUNNING
> PID:            42141
> IP:             10.0.3.11
> IP:             10.0.4.1
> CPU use:        25.50 seconds
> BlkIO use:      472.06 MiB
> Memory use:     141.44 MiB
> KMem use:       0 bytes
> Link:           vethPLDDUD
>  TX bytes:      8.29 KiB
>  RX bytes:      181.25 KiB
>  Total bytes:   189.54 KiB
> 
> Can someone show me some light here:

cat /proc/self/cgroup and /proc/self/mountinfo.  At least hierarchy 11 (and
probably all of them) are not writeable by your root user.


More information about the lxc-users mailing list