Bug 131594 - rpc.rquotad -p gets port wrong
Summary: rpc.rquotad -p gets port wrong
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: quota
Version: 2
Hardware: i386
OS: Linux
medium
low
Target Milestone: ---
Assignee: Steve Dickson
QA Contact: Brock Organ
URL: http://sourceforge.net/projects/linux...
Whiteboard:
Depends On:
Blocks: FC3BugWeekTracker
TreeView+ depends on / blocked
 
Reported: 2004-09-02 16:42 UTC by Andrew Taylor
Modified: 2007-11-30 22:10 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-09-28 15:23:47 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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