Bug 1559295
| Summary: | autofs: can't mount nfs vers=2 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | xiaoli feng <xifeng> | ||||
| Component: | autofs | Assignee: | Ian Kent <ikent> | ||||
| Status: | CLOSED ERRATA | QA Contact: | xiaoli feng <xifeng> | ||||
| Severity: | urgent | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 6.10 | CC: | ikent, mkolaja, rhandlin, thozza, xzhou | ||||
| Target Milestone: | rc | Keywords: | Regression | ||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | autofs-5.0.5-138.el6 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2018-06-19 05:22:12 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
xiaoli feng
2018-03-22 08:43:55 UTC
(In reply to xiaoli feng from comment #0) > Description of problem: > Specify nfs version in /etc/auto.master. It works when vers=3 or vers=4. But > failed for vers=2.0. Oops, I think I added a RHEL-7 patch to RHEL-6 that I shouldn't have for bug 1463004. * Mon Feb 05 2018 Ian Kent <ikent> - 5.0.5-135 - bz1463004 - Server availability probe broke tunneling nfs via localhost - remove some redundant rpc library code. - add port parameter to rpc_ping(). - dont probe NFSv2 by default. - add version parameter to rpc_ping(). - Resolves: rhbz#1463004 Fortunately the "dont probe NFSv2 by default" patch is a one line change so I should be able to drop it without any side effects. I'll have a look at it and make a test build. (In reply to Ian Kent from comment #3) > (In reply to xiaoli feng from comment #0) > > Description of problem: > > Specify nfs version in /etc/auto.master. It works when vers=3 or vers=4. But > > failed for vers=2.0. > > Oops, I think I added a RHEL-7 patch to RHEL-6 that I > shouldn't have for bug 1463004. It looks to me like this change should not cause this problem. It looks like it should work but we can see that the NFS version parameter isn't right: get_nfs_info: called with host nfsserver(10.16.69.154) proto 6 version 0x0 I think version above should be 0x10. Ian Created attachment 1411967 [details]
Patch - fix NFS version mask usage
Found it!
Could you try the scratch build located here please: http://download.eng.pek2.redhat.com/brew_scratch/scratch/ikent/task_15622062/ (In reply to Ian Kent from comment #6) > Could you try the scratch build located here please: > http://download.eng.pek2.redhat.com/brew_scratch/scratch/ikent/task_15622062/ It works fine from my test. Thanks. (In reply to xiaoli feng from comment #9) > (In reply to Ian Kent from comment #6) > > Could you try the scratch build located here please: > > http://download.eng.pek2.redhat.com/brew_scratch/scratch/ikent/task_15622062/ > > It works fine from my test. Great, now all we need is acks! 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://access.redhat.com/errata/RHBA-2018:1917 |