<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>46636</bug_id>
          
          <creation_ts>2004-04-02 13:21 0000</creation_ts>
          <short_desc>Some issues with quota</short_desc>
          <delta_ts>2004-10-07 20:19:01 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>1.4</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>max@gentoo.org</reporter>
          <assigned_to>base-system@gentoo.org</assigned_to>
          <cc>mario@liehr.org</cc>

      

      
          <long_desc isprivate="0">
            <who>max@gentoo.org</who>
            <bug_when>2004-04-02 13:21:51 0000</bug_when>
            <thetext>1) there&apos;s a new version (3.11).

2) rpc.quotad --port doesn&apos;t bind to the port that is passed in because the port isn&apos;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 &amp;&amp; servp != NULL)
                                port = servp-&gt;s_port;
                }
+       } else {
+               port = htons(port);
        }

        if (port) {

3) Should this thing live in sys-fs by chance?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>max@gentoo.org</who>
            <bug_when>2004-04-02 13:30:14 0000</bug_when>
            <thetext>Created an attachment (id=28594)
the patch described in the ebuild
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>max@gentoo.org</who>
            <bug_when>2004-04-05 08:49:41 0000</bug_when>
            <thetext>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?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2004-10-03 03:32:19 0000</bug_when>
            <thetext>3.12 is now in portage and in sys-fs</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2004-10-07 20:19:01 0000</bug_when>
            <thetext>*** Bug 53401 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>28594</attachid>
            <date>2004-04-02 13:30 0000</date>
            <desc>the patch described in the ebuild</desc>
            <filename>rquotad-port.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIHN2Y19zb2NrZXQuYyAgICAgICAgMjAwMy0xMi0wMSAxMDowMjozOS4wMDAwMDAwMDAgLTA4
MDAKKysrIHN2Y19zb2NrZXQuYyAgICAgICAgMjAwNC0wNC0wMiAxMTo1NzoxNy4wMDAwMDAwMDAg
LTA4MDAKQEAgLTcyLDYgKzcyLDggQEAKIAkJCWlmIChyZXQgPT0gMCAmJiBzZXJ2cCAhPSBOVUxM
KQogCQkJCXBvcnQgPSBzZXJ2cC0+c19wb3J0OwogCQl9CisJfSBlbHNlIHsKKwkJcG9ydCA9IGh0
b25zKHBvcnQpOwogCX0KIAogCWlmIChwb3J0KSB7Cg==
</data>        

          </attachment>
    </bug>

</bugzilla>