Bug 1806734

Summary: GSSD dies if -rrr is specified leading to a mount failure
Product: Red Hat Enterprise Linux 7 Reporter: Olga Kornieskaia <kolga>
Component: nfs-utilsAssignee: Steve Dickson <steved>
Status: CLOSED DUPLICATE QA Contact: Yongcheng Yang <yoyang>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.6CC: xzhou
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-02-25 02:46:13 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:

Description Olga Kornieskaia 2020-02-24 21:13:07 UTC
Description of problem:

A kerberos mount is failing when RPCGSSDARGS=-vvvrrr the output was:
 
Feb 21 16:02:08 scspr1843146001 rpc.gssd[21323]: in authgss_destroy()
Feb 21 16:02:08 scspr1843146001 rpc.gssd[21323]: in authgss_destroy_context()
Feb 21 16:02:08 scspr1843146001 rpc.gssd[21323]: authgss_destroy: freeing name 0x7f29f4001400
Feb 21 16:02:08 scspr1843146001 rpc.gssd[21323]: ERROR: event_dispatch() returned!
Feb 21 16:02:08 scspr1843146001 systemd: rpc-gssd.service: main process exited, code=exited, status=1/FAILURE
Feb 21 16:02:08 scspr1843146001 systemd: Unit rpc-gssd.service entered failed state.
Feb 21 16:02:08 scspr1843146001 systemd: rpc-gssd.service failed.

where after successfully establishing context, the gssd would just die and kernel can't do another up call so fails with "incorrect mount option" 


Version-Release number of selected component (if applicable):
[kolga@scspr1843146001 ~]$ uname -a
Linux scspr1843146001 3.10.0-957.27.2.el7.x86_64 #1 SMP Tue Jul 9 16:53:14 UTC 2019 x86_64 GNU/Linux
[kolga@scspr1843146001 ~]$ rpm -aq | grep nfs-utils
nfs-utils-1.3.0-0.65.el7.x86_64

without -rrr option mount works.

Steve pointed out that the upstream commit addresses that issue:
commit 5a004c161ff6c671f73a92d818a502264367a896
Author: Scott Mayhew <smayhew>
Date:   Thu Oct 24 14:02:30 2019 -0400

    gssd: daemonize earlier

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Yongcheng Yang 2020-02-25 02:46:13 UTC
This issue has been tracked by Bug 1645083 now.

*** This bug has been marked as a duplicate of bug 1645083 ***