Bug 131594

Summary: rpc.rquotad -p gets port wrong
Product: [Fedora] Fedora Reporter: Andrew Taylor <ataylor>
Component: quotaAssignee: Steve Dickson <steved>
Status: CLOSED RAWHIDE QA Contact: Brock Organ <borgan>
Severity: low Docs Contact:
Priority: medium    
Version: 2CC: mgarski
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
URL: http://sourceforge.net/projects/linuxquota
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-09-28 15:23:47 UTC Type: ---
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: 133398    

Description Andrew Taylor 2004-09-02 16:42:02 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a3)
Gecko/20040817 Mnenhy/0.6.0.104

Description of problem:
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).


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

How reproducible:
Always

Steps to Reproduce:
1. run rpc.rquotad -p 666
2. run netstat -lp | grep rquotad

    

Actual Results:  rpc.rquotad is listening on port 39426

Expected Results:  rpc.rquotad should be listening on port 666

Additional info:

This bug is fixed upstream

Comment 1 Marcin Garski 2004-09-28 15:23:47 UTC
Rawhide include quota-3.12.
Not reproduced on current versions of the distribution.

Comment 2 Andrew Taylor 2004-09-28 16:30:53 UTC
Now it should be possible to fix bug 124676.