Restorecon fails with "error: operation not supported" on NFS
Issue
- A systemd service is configured to call an executable binary located on an NFS mount (
ExecStart=). An attempt was made to add thebin_tSELinux file context label to this binary to permit execution. However, SELinux blocks this labeling action, which prevents the service from starting successfully.
Environment
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux 8
- SELinux
- NFS
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.