Hello,

I'm running LXC 2.0.3 with a CentOS 7 host (Kernel is
3.10.0-327.22.2.el7.x86_64) and I'm encountering a weird issue while
running lxc-attach which occurs only after a reboot of the host:

> lxc-attach: attach.c: lxc_attach_run_shell: 1261 Permission denied -
failed to exec shell

Note that it worked well if I run the lxc-attach before rebooting the host.

I looked at LXC's sources and I think the execlp("/bin/sh", "/bin/sh",
(char *)NULL); fails, but I have no idea why... Do you guys have an idea?

Thanks a lot!
--
Adrien BESNARD
_______________________________________________
lxc-users mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to