Bug 1272735 - mount should fallback to auth_sys if
mount should fallback to auth_sys if
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: nfs-utils (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Steve Dickson
Yongcheng Yang
Depends On:
Blocks: 1298243
  Show dependency treegraph
Reported: 2015-10-18 06:11 EDT by Ondrej
Modified: 2017-02-06 10:32 EST (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2017-02-06 10:32:27 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Ondrej 2015-10-18 06:11:00 EDT
Description of problem:

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:

Actual results:

Expected results:

Additional info:
Comment 2 Ondrej 2015-10-18 06:36:38 EDT
System which is ready for Kerberized mounts (.i.e. fully configured, rpc.gssd running, nfs-secure service started...) does not seem to "like" to mount NFSv4 share with anything else than krb5p security flavor.
But it can happen, that the share we want to mount is exported with system authentication only.

right now command:
mount netapp:/vol/vol0 /mnt
- fails because /vol/vol0 is not exported with krb5p security flavor

mount -o sec=sys netapp:/vol/vol0 /mnt

mount netapp:/vol/vol0 /mnt
- I would expect mount will try (with nothing specified in /etc/nfsmount.conf) all flavors in this order - krb5p -> if fails then krb5i -> if fails then -> krb5 -> if fails then sys.

Ideally we should somehow "detect" which security flavor the server offers for the requested share. Not sure if that's possible.
Comment 3 Dave Wysochanski 2016-11-29 16:53:15 EST
Steve D - does this bug make sense to you or do you need clarification?
Comment 4 Steve Dickson 2016-12-05 14:33:34 EST
(In reply to Dave Wysochanski from comment #3)
> Steve D - does this bug make sense to you or do you need clarification?


Would it be possible to get a binary wireshark network trace?
Comment 5 Ondrej 2016-12-06 09:56:20 EST
Hi, there is a RHEL support case #01525032 opened regarding this one.
Please reach there for the required packet trace.

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