This service will be undergoing maintenance at 00:00 UTC, 2016-08-01. It is expected to last about 1 hours

Bug 124676

Summary: rpc.rquotad not configurable to a predefined port
Product: [Fedora] Fedora Reporter: Need Real Name <mb/redhat>
Component: nfs-utilsAssignee: Steve Dickson <steved>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 2CC: mattdm, riel
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-06-29 23:28:32 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Bug Depends On:    
Bug Blocks: 133398    
Attachments:
Description Flags
trivial fix none

Description Need Real Name 2004-05-28 09:41:52 EDT
Description of problem:

While mountd, statd and lockd can be tied to a predefined port, the
same is not true of rpc.rquotad. This makes firewalling hard!

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

nfs-utils-1.0.6-22

How reproducible:

Always

Steps to Reproduce:

1. "service nfs restart" a few times
2. watch your partmapper "rpcinfo -p"
3. try firewalling that, matey! :)
  
Actual results:

works, but can't firewall easily

Expected results:

"man rquotad" say it'll accept "-p port", so why not?

Additional info:

Trivial patch to /etc/init.d/nfs to follow..
Comment 1 Need Real Name 2004-05-28 09:43:32 EDT
Created attachment 100663 [details]
trivial fix

Maybe one could include the "-S" functionality of rquotad later, too!
Comment 2 Andrew Taylor 2004-09-02 12:35:40 EDT
The rpc.rquotad from quota-3.10 (latest in fc2) has a bug in it.  The
-p option uses the port without first converting it to network byte
order (htons).  Newer quota packages from upstream have fixed this
bug.  A workaround is to specify the port in big endian (e.g.
"rpc.rquotad -p 39426" for port 666).
Comment 3 Andrew Taylor 2004-09-28 12:27:31 EDT
This bug is no longer blocked now that bug 131594 and bug 131862 are
fixed.
Comment 4 Rik van Riel 2004-09-28 15:23:43 EDT
OK, I guess we should evaluate the patch from comment #1 and merge it,
if it's still nedede with quota-3.12...
Comment 5 Andrew Taylor 2004-10-13 15:21:42 EDT
I've confirmed the patch works "as is" with the quota-3.12-5 RPM from
FC3 test 3.
Comment 6 Steve Dickson 2004-10-14 09:51:31 EDT
Fixed in nfs-utils-1.0.6-38
Comment 7 Matthew Miller 2006-06-29 23:28:32 EDT
An update never went out for FC2, which this was filed against, but FC3 shipped
with 1.0.6-39, which is greater than the version mentioned in comment #6.