How to add mount option 'nodev' for /var/lib/nfs/rpc_pipefs partition on RHEL 6
Issue
- Due to Partition Mounting Weakness vulnerabilities, the following issue is discovered:
/var/lib/nfs/rpc_pipefs partition does not have 'nodev' option set
- /var/lib/nfs/rpc_pipefs is mounted with 'rw,relatime'
$ grep rpc /proc/mounts
sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs rw,relatime 0 0
- mount option 'nodev' needs to be added for /var/lib/nfs/rpc_pipefs .
Environment
- Red Hat Enterprise Linux 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.