How to add mount option 'nodev' for /var/lib/nfs/rpc_pipefs partition on RHEL 6

Solution Verified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content