Red Hat Bugzilla – Bug 1164957
The default installed autofs.conf doesn't have default nfs protocol set to 4
Last modified: 2015-03-05 08:24:28 EST
Description of problem: The recent update to autofs fails to overwrite the default installed /etc/autofs.conf with its customized one. This results in the configuration entry mount_nfs_default_protocol not being set to 4. This can cause mount problems in NFSv4 only environments that that block NFSv3 via firewall rules. Version-Release number of selected component (if applicable): autofs-5.0.7-47. How reproducible: always. Steps to Reproduce: 1. Install rhel-7.1 autofs. 2. Check mount_nfs_default_protocol in /etc/autofs.conf. Actual results: mount_nfs_default_protocol is commented out in /etc/autofs.conf leading to mount_nfs_default_protocol = 3 being the setting used. Expected results: mount_nfs_default_protocol = 4 present in /etc/autofs.conf.
I communicated with Ian today, we should fix this bug in RHEL7.1.
autofs-5.0.7-47.el7's /etc/autofs.conf # #mount_nfs_default_protocol = 3 # # append_options - append to global options instead of replace. # autofs-5.0.7-48.el7's /etc/autofs.conf # the default automatically we need to # set it in our configuration. # #mount_nfs_default_protocol = 3 mount_nfs_default_protocol = 4 also, got this like in autofs.SPEC of autofs-5.0.7-48.el7: install -m 644 redhat/autofs.conf $RPM_BUILD_ROOT/etc/autofs.conf So I think the status of this problem can be verified.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-0525.html