On Sat, Mar 19, 2016 at 7:07 AM, Stéphane Graber <stgra...@ubuntu.com> wrote:
> On Sat, Mar 19, 2016 at 05:47:19AM +0700, Fajar A. Nugraha wrote:
>> On Sat, Mar 19, 2016 at 1:12 AM, B G <bg85...@gmail.com> wrote:
>> > lxc => 2.0.0rc4
>> > lxd => 2.0.0rc4
>> > lxcfs => 2.0.0rc6
>> >
>> > After the latest upgrade to lxc/lxd tools existing and new containers fail
>> > to start, failing on the following stage from the container log:
>> >
>> > lxc 20160318161829.810 INFO     lxc_conf - conf.c:run_script_argv:367 -
>> > Executing script '/usr/share/lxcfs/lxc.mount.hook' for container
>> > 'testcontainer-20160311-0918', config section 'lxc'
>> > lxc 20160318161829.856 ERROR    lxc_conf - conf.c:run_buffer:347 - Script
>> > exited with status 1



>> + ls -la /usr/lib/x86_64-linux-gnu/lxc/sys/fs/cgroup
>> total 0
>> drwxr-xr-x 12 root root 240 Mar 18 16:25 .
>> drwxr-xr-x  7 root root   0 Mar 18 16:15 ..
>> drwxr-xr-x  3 root root  60 Mar 18 16:25 blkio
>> drwxr-xr-x  3 root root  60 Mar 18 16:25 cpu
>> drwxr-xr-x  3 root root  60 Mar 18 16:25 cpuset
>> drwxr-xr-x  3 root root  60 Mar 18 16:25 devices
>> drwxr-xr-x  3 root root  60 Mar 18 16:25 freezer
>> drwxr-xr-x  3 root root  60 Mar 18 16:25 hugetlb
>> drwxr-xr-x  3 root root  60 Mar 18 16:25 memory
>> drwxr-xr-x  3 root root  60 Mar 18 16:25 net_cls
>> drwxr-xr-x  3 root root  60 Mar 18 16:25 perf_event
>> drwxr-xr-x  3 root root  60 Mar 18 16:25 systemd
>
> Can you also extract /proc/self/mountinfo at that time please?

Attached. I also added "cat /proc/self/cgroup" and "ls -la
/sys/fs/cgroup" in case its needed.

This is from starting a container "t" while another container ("r") is
already running.

> It indeed looks like the change to add cgroup and cgroup-full
> lxc.mount.auto support into cgfsng with rc11 is causing some trouble.
>
> I'll need to setup a machine where I can reproduce this as none of my
> systems are running into this, presumably because they all have cgns
> kernels.

ubuntu 15.10, kernel 4.2.0-34-generic, zfs-dkms 0.6.5.5-1~wily, latest
lxc-related-packages from lxd-stable ppa.

-- 
Fajar

Attachment: lxcfs-mount-debug.log.gz
Description: GNU Zip compressed data

_______________________________________________
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to