NFS share is not getting mounted when services denied in /etc/hosts.deny file

Solution Verified - Updated -

Issue

  • Unable to mount NFS share as version=3 getting 'permission denied error message' but nfs4 works fine
  • showmount -e is showing 'clnt_create: RPC: Port mapper failure - Authentication error'
  • rpcinfo -p <nfs-server> is showing 'rpcinfo: can't contact portmapper: RPC: Authentication error; why = Client credential too weak'

Environment

  • Red Hat Enterprise Linux (RHEL) 7
  • NFS version 3

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