Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46636 - Some issues with quota
Summary: Some issues with quota
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 53401 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-04-02 13:21 UTC by Max Kalika (RETIRED)
Modified: 2004-10-07 20:19 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
the patch described in the ebuild (rquotad-port.patch,259 bytes, patch)
2004-04-02 13:30 UTC, Max Kalika (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Max Kalika (RETIRED) gentoo-dev 2004-04-02 13:21:51 UTC
1) there's a new version (3.11).

2) rpc.quotad --port doesn't bind to the port that is passed in because the port isn't converted to network order.  The following patch fixes this problem (I sent it upstream as well).

--- svc_socket.c        2003-12-01 10:02:39.000000000 -0800
+++ ../quota-tools-3.10-new/svc_socket.c        2004-04-02 11:57:17.000000000 -0800
@@ -72,6 +72,8 @@
                        if (ret == 0 && servp != NULL)
                                port = servp->s_port;
                }
+       } else {
+               port = htons(port);
        }

        if (port) {

3) Should this thing live in sys-fs by chance?
Comment 1 Max Kalika (RETIRED) gentoo-dev 2004-04-02 13:30:14 UTC
Created attachment 28594 [details, diff]
the patch described in the ebuild
Comment 2 Max Kalika (RETIRED) gentoo-dev 2004-04-05 08:49:41 UTC
Just got a message from the quota-tools author that the patch was applied upstream -- should be available in the next version.  What about the other issues?
Comment 3 SpanKY gentoo-dev 2004-10-03 03:32:19 UTC
3.12 is now in portage and in sys-fs
Comment 4 SpanKY gentoo-dev 2004-10-07 20:19:01 UTC
*** Bug 53401 has been marked as a duplicate of this bug. ***