Pod creation failing with error "Permission denied: '/usr/bin'"
Issue
- From the logs of the pod, we noticed a permission denied error:
OSError: [Errno 13] Permission denied: '/usr/bin'
- SELinux shows some memory violation log as well:
cat ../var/log/audit/audit.log | grep ANOM_ABEND
type=ANOM_ABEND msg=audit(xxxx): auid=xxxx uid=xxx gid=x ses=xxxx subj=system_u:system_r:container_t:s0:c252,c454 pid=xxx comm="python3" reason="memory violation" sig=6
type=ANOM_ABEND msg=audit(xxxx): auid=xxxx uid=xxx gid=x ses=xxxx subj=system_u:system_r:container_t:s0:c252,c454 pid=xxx comm="python3" reason="memory violation" sig=6
Environment
- Red Hat OpenShift Container Platform
- 3.11
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.