Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1164957 - The default installed autofs.conf doesn't have default nfs protocol set to 4
The default installed autofs.conf doesn't have default nfs protocol set to 4
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: autofs (Show other bugs)
7.1
All Unspecified
unspecified Severity medium
: rc
: ---
Assigned To: Ian Kent
XuWang
: Regression
Depends On:
Blocks: 1164958
  Show dependency treegraph
 
Reported: 2014-11-17 19:53 EST by Ian Kent
Modified: 2015-03-05 08:24 EST (History)
3 users (show)

See Also:
Fixed In Version: autofs-5.0.7-48
Doc Type: Bug Fix
Doc Text:
Cause: The autofs configuration file has changed with the most recent changes but the RedHat customized version of this hasn't been copied during package install. Consequence: Currently the only difference between the default installed configuration is the entry which sets mount_nfs_default_protocol to 4. This can result in NFS version 4 mounts to incorrectly fail. Fix: Copy the RedHat customized configuration file into place during package install. Result: Installed configuration is as expected.
Story Points: ---
Clone Of:
: 1164958 (view as bug list)
Environment:
Last Closed: 2015-03-05 08:24:28 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0525 normal SHIPPED_LIVE autofs bug fix and enhancement update 2015-03-05 11:33:54 EST

  None (edit)
Description Ian Kent 2014-11-17 19:53:44 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.
Comment 2 XuWang 2014-11-27 05:59:34 EST
I communicated with Ian today, we should fix this bug in RHEL7.1.
Comment 4 XuWang 2014-12-19 01:23:41 EST
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.
Comment 6 errata-xmlrpc 2015-03-05 08:24:28 EST
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

Note You need to log in before you can comment on or make changes to this bug.