I'm working with an externally created script that reads from /proc/self/attr/current to get SELinux configuration info. It seems that, even though permissions on the file are 0666
, on some systems this file can be read with no problem while on others generate an "invalid argument" error. Specifically, there is 1 server out of 3 in a Kubernetes cluster where this file cannot be read, while on the other 2 it contains the string "unconfined".
I came across this thread which reported the same issue without resolution.
What could be preventing this file from being read?
OS is Debian 8.