vagrant-projects icon indicating copy to clipboard operation
vagrant-projects copied to clipboard

OCNE: Unable to exec into a container

Open hussam-qasem opened this issue 3 years ago • 0 comments

Describe the issue

In some cases, I'm unable to exec into a container:

$ kubectl -n NAMESPACE exec -it POD -- bash
ERRO[0000] exec failed: unable to start container process: open /dev/pts/0: operation not permitted
command terminated with exit code 255

Environment (please complete the following information):

  • Host OS: Oracle Linux Server release 8.6
  • Kernel version (for Linux host): 5.4.17-2136.310.7.1.el8uek.x86_64
  • OCNE: 1.5.4-3.el8

Additional information

Sometimes it works, but I cannot find a pattern. Searching the error suggests it's SELinux related - but I'm not sure how to overcome it.

hussam-qasem avatar Sep 15 '22 22:09 hussam-qasem