Receiving an "incorrect mount option" message when trying to mount an NFS filesystem with selinux context
Issue
- My
/etc/fstabfile contains:
server:/share /mountpoint nfs context=system_u:object_r:httpd_sys_content_t 0 0
- I receive the following error:
mount.nfs: an incorrect mount option was specified
Environment
- Red Hat Enterprise Linux 6.4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.