Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1431218

Summary: Starting rpc.svcgssd break gssproxy
Product: Red Hat Enterprise Linux 7 Reporter: Steve Dickson <steved>
Component: nfs-utilsAssignee: Steve Dickson <steved>
Status: CLOSED ERRATA QA Contact: Yongcheng Yang <yoyang>
Severity: unspecified Docs Contact:
Priority: urgent    
Version: 7.4CC: chunwang, dwysocha, eguan, jiyin, steved, swhiteho, yoyang, zlang
Target Milestone: rcKeywords: ManPageChange, Reproducer, ZStream
Target Release: ---   
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: nfs-utils-1.3.0-0.46.el7 Doc Type: If docs needed, set a value
Doc Text:
Previously, the NFS scripts, configuration files, and systemd unit files incorrectly referred to the unsupported rpc.svcgssd service instead of the gssproxy service. Consequently, the NFS service sometimes failed during boot and the system entered emergency shell. Additionally, it was not possible to disable the rpc-svcgssd service. With this update, references to rpc.svcgssd have been replaced with gssproxy, and the described problem no longer occurs.
Story Points: ---
Clone Of:
: 1437963 1437964 1591700 (view as bug list) Environment:
Last Closed: 2017-08-01 19:48:51 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:
Bug Depends On:    
Bug Blocks: 1437963, 1437964    

Description Steve Dickson 2017-03-10 16:06:42 UTC
Description of problem:

RHEL 7 has never support rpc.svcgssd instead RHEL7 uses
the gssproxy daemon. Now when rpc.svcgssd is started
it cause the gssproxy daemon. This is wrong. All the remaining
rpc.svcgssd scrips should not be installed 

rhel7srv$ cd /lib/systemd/system
rhel7srv$ grep svcgssd *.service
auth-rpcgss-module.service:# We want to start gss-proxy on kernels that support it and rpc.svcgssd
auth-rpcgss-module.service:Before=gssproxy.service rpc-svcgssd.service rpc-gssd.service
auth-rpcgss-module.service:Wants=gssproxy.service rpc-svcgssd.service rpc-gssd.service
nfs-secure-server.service:ExecStart=/usr/sbin/rpc.svcgssd $SVCGSSDARGS
nfs-server.service:After=rpc-gssd.service gssproxy.service rpc-svcgssd.service
nfs.service:After=rpc-gssd.service gssproxy.service rpc-svcgssd.service
rpc-svcgssd.service:ExecStart=/usr/sbin/rpc.svcgssd $SVCGSSDARGS
rpcsvcgssd.service:ExecStart=/usr/sbin/rpc.svcgssd $SVCGSSDARGS

As well as the the rpc.svcgssd man page

Comment 5 ChunYu Wang 2017-03-30 14:30:36 UTC
By comparing test results between different nfs-utils versions, this problem has been resolved on target nfs-utils version:

- On RHEL-7.3 with nfs-utils-1.3.0-0.33.el7.x86_64

[02:16:37 root@ ~~]# ls /lib/systemd/system | grep svcgssd
rpc-svcgssd.service
rpcsvcgssd.service
[02:16:37 root@ ~~]# rpm -ql nfs-utils | grep svcgssd
/usr/lib/systemd/system/rpc-svcgssd.service
/usr/lib/systemd/system/rpcsvcgssd.service
/usr/sbin/rpc.svcgssd
/usr/share/man/man8/rpc.svcgssd.8.gz
/usr/share/man/man8/svcgssd.8.gz

- On RHEL-7.4 nightly with nfs-utils-1.3.0-0.37.el7.x86_64

[03:12:13 root@ ~~]# ls /lib/systemd/system | grep svcgssd | wc -l
0
[03:12:45 root@ ~~]# rpm -ql nfs-utils | grep svcgssd | wc -l
0

Comment 6 ChunYu Wang 2017-03-30 14:31:40 UTC
Moved to VERIFIED according to comment 5, will keep an eye on this issue during future RHEL-7.4 tests.

Thanks,
ChunYu Wang

Comment 11 Yongcheng Yang 2017-05-10 01:21:59 UTC
The configure file nfs.sysconfig has also removed the rpc.svcgssd setting.

[root@hp-dl385pg8-01 ~]# rpm -q nfs-utils
nfs-utils-1.3.0-0.41.el7.x86_64
[root@hp-dl385pg8-01 ~]# cat /etc/sysconfig/nfs | grep -i svcgssd
# Optional arguments passed to rpc.svcgssd. See rpc.svcgssd(8)
RPCSVCGSSDARGS=""
[root@hp-dl385pg8-01 ~]# rpm -Uvh nfs-utils-1.3.0-0.42.el7.x86_64.rpm 
Preparing...                          ################################# [100%]
Updating / installing...
   1:nfs-utils-1:1.3.0-0.42.el7       ################################# [ 50%]
Cleaning up / removing...
   2:nfs-utils-1:1.3.0-0.41.el7       ################################# [100%]
[root@hp-dl385pg8-01 ~]# cat /etc/sysconfig/nfs | grep -i svcgssd
[root@hp-dl385pg8-01 ~]# rpm -q nfs-utils
nfs-utils-1.3.0-0.42.el7.x86_64
[root@hp-dl385pg8-01 ~]# 

Please update case to cover it.

Comment 12 ChunYu Wang 2017-05-10 09:54:31 UTC
By comparing test results, this additional fix is effective in target version:

- Test on nfs-utils-1.3.0-0.41.el7

[05:34:19 root@ ~~]# grep -i svcgssd /etc/sysconfig/nfs
# Optional arguments passed to rpc.svcgssd. See rpc.svcgssd(8)
RPCSVCGSSDARGS=""

- Test on nfs-utils-1.3.0-0.42.el7

[05:41:27 root@ ~~]# grep -i svcgssd /etc/sysconfig/nfs| wc -l
0

Comment 15 Steve Dickson 2017-06-09 13:56:48 UTC
I believe they are fixed in nfs-utils-1.3.0-0.45.el7

Comment 21 errata-xmlrpc 2017-08-01 19:48:51 UTC
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-2017:2233