[lxc-users] Unable to launch a LXC container

Serge Hallyn serge.hallyn at ubuntu.com
Mon Apr 25 13:54:14 UTC 2016


Quoting Muneeb Ahmad (muneeb.gandapur at gmail.com):
...
>             lxc 20160421151846.936 ERROR    lxc_utils - utils.c:mkdir_p:253
> - Permission denied - failed to create directory
> '/usr/lib/arm-linux-gnueabihf/lxc/sys/firmware/efi/'
> 
...
>             lxc 20160421151846.937 ERROR    lxc_utils - utils.c:mkdir_p:253
> - Permission denied - failed to create directory
> '/usr/lib/arm-linux-gnueabihf/lxc/sys/fs/pstore'
...
>             lxc 20160421151846.938 ERROR    lxc_utils - utils.c:mkdir_p:253
> - Permission denied - failed to create directory
> '/usr/lib/arm-linux-gnueabihf/lxc/sys/kernel/security'
>             lxc 20160421101847.173 ERROR    lxc_seccomp -

> seccomp.c:lxc_seccomp_load:615 - Error loading the seccomp policy
> 
>             lxc 20160421151847.174 ERROR    lxc_sync -
> sync.c:__sync_wait:52 - An error occurred in another process (expected
> sequence number 4)

I question your kernel support.  Those directories, especially
/sys/kernel/security, should exist - you should be getting EEXIST not
EPERM.  The seccomp policy load could be an architecture related bug
in lxc's code, but given your other errors seems just as likely to
be lack of seccomp support in the kernel.

What does lxc-checkconfig show?


More information about the lxc-users mailing list