When using lxc 2.0.6 version to start unpriviliged container with lxc-execute in embedded linux.Container is failed to start.

We have enabled lxc.cap.keep in lxc configuration.

init.lxc.static is failing to read libcap and giving permission denied error

whole /lib and libcap libraries are exposed inside container environment but still it is giving the error as

/init.lxc.static: error while loading shared libraries: libcap.so.2: cannot open shared object file: Permission denied

We have given 777 permission for libcap and its dependency libraries but still we are getting permission denied.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.