Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1422249 - NFS3: cannot map port for rpc-statd
Summary: NFS3: cannot map port for rpc-statd
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: nfs-utils
Version: 25
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Steve Dickson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-02-14 20:50 UTC by Frank Ansari
Modified: 2017-04-19 09:23 UTC (History)
5 users (show)

Fixed In Version: nfs-utils-2.1.1-4.rc1.fc25 nfs-utils-2.1.1-4.rc2.fc26 nfs-utils-2.1.1-4.rc2.fc25
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-04-14 17:20:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Frank Ansari 2017-02-14 20:50:37 UTC
Description of problem:
I tried to configure NFS v3 ports but got a problem with rpc-statd.

Something like

STATDARGS="-p 7010"

in /etc/sysconfig/nfs has no effect.

Why? Is this intended?

But it is possible to edit /usr/lib/systemd/system/rpc-statd.service

and put it here

# ExecStart=/usr/sbin/rpc.statd $STATDARGS
ExecStart=/usr/sbin/rpc.statd -p 7010

and this works.

Also I noticed that ports < 7003 will give a bind permission error when SELinux is in enforcing mode. Originally I wanted to use port 4001.

Port 4001 gives this error (nothing is running at this port):

Feb 13 20:50:00 bat.localdomain rpc.statd[6814]: Could not bind socket: (13) Permission denied
Feb 13 20:50:00 bat.localdomain rpc.statd[6814]: Could not bind socket: (13) Permission denied


Version-Release number of selected component (if applicable):
Name        : nfs-utils
Arch        : x86_64
Epoch       : 1
Version     : 2.1.1
Release     : 1.fc25


How reproducible:
see above

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Fedora Update System 2017-04-10 22:57:05 UTC
nfs-utils-2.1.1-4.rc2.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-bca43e3f7e

Comment 2 Fedora Update System 2017-04-11 00:26:35 UTC
nfs-utils-2.1.1-4.rc2.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-218c78b2e7

Comment 3 Fedora Update System 2017-04-14 17:20:02 UTC
nfs-utils-2.1.1-4.rc2.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.

Comment 4 Fedora Update System 2017-04-19 09:23:27 UTC
nfs-utils-2.1.1-4.rc2.fc25 has been pushed to the Fedora 25 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.