Bug 1210751 - Wrong args for rpc-gssd and rpc-svcgssd in scripts and service files.
Summary: Wrong args for rpc-gssd and rpc-svcgssd in scripts and service files.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: nfs-utils
Version: 22
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Steve Dickson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-10 13:36 UTC by Andrei Amuraritei
Modified: 2015-06-18 13:21 UTC (History)
5 users (show)

Fixed In Version: nfs-utils-1.3.2-8.fc22
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-18 13:21:50 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Andrei Amuraritei 2015-04-10 13:36:25 UTC
Description of problem:

As with https://bugzilla.redhat.com/show_bug.cgi?id=1170354, there's still wrong variable names used withing nfs-utils for the rpc-gssd and rpc-svcgssd services.

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

Fedora 22 x86_64.

nfs-utils-1.3.2-3.fc22

How reproducible:

Modify /etc/sysconfig/nfs, add start options to either RPCGSSDARGS or RPCSVCGSSDARGS,  they don't get used when rpc-gssd.service or rpc-svcgssd.service units start because they use different variables for options.

[root@client ~]# systemctl cat rpc-gssd.service
# /usr/lib/systemd/system/rpc-gssd.service
[Unit]
Description=RPC security service for NFS client and server
DefaultDependencies=no
Conflicts=umount.target
Requires=var-lib-nfs-rpc_pipefs.mount
After=var-lib-nfs-rpc_pipefs.mount

ConditionPathExists=/etc/krb5.keytab

PartOf=nfs-utils.service

Wants=nfs-config.service
After=nfs-config.service

[Service]
EnvironmentFile=-/run/sysconfig/nfs-utils

Type=forking
ExecStart=/usr/sbin/rpc.gssd $GSSDARGS
[root@client ~]# 

Instead ExecStart line should contain $RPCGSSDARGS.

Same for rpc-svcgssd.service unit.

Steps to Reproduce:
1. Edit /etc/sysconfig/nfs, add -vvv to $RPCGSSDARGS.
2. Restart nfs-config.service to write options to /run/sysconfig/nfs-utils script.
3. Restart rpc-gssd.service.

Actual results:

systemctl status -l rpc-gssd.service shows rpc.gssd with no arguments.

Expected results:

systemctl status -l rpc-gssd.service shows rpc.gssd with specified arguments.

Additional info:

Comment 1 Fedora Update System 2015-06-10 16:07:34 UTC
nfs-utils-1.3.2-8.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/nfs-utils-1.3.2-8.fc22

Comment 2 Fedora Update System 2015-06-11 18:40:08 UTC
Package nfs-utils-1.3.2-8.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing nfs-utils-1.3.2-8.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-9828/nfs-utils-1.3.2-8.fc22
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2015-06-18 13:21:50 UTC
nfs-utils-1.3.2-8.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.


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