From jgreco@aurora.sol.net Tue Apr 13 15:43:28 1999 Return-Path: Received: from aurora.sol.net (aurora.sol.net [206.55.65.76]) by hub.freebsd.org (Postfix) with ESMTP id DD05014C9C for ; Tue, 13 Apr 1999 15:43:22 -0700 (PDT) (envelope-from jgreco@aurora.sol.net) Received: (from jgreco@localhost) by aurora.sol.net (8.9.2/8.9.2/SNNS-1.02) id RAA21992; Tue, 13 Apr 1999 17:54:24 -0500 (CDT) Message-Id: <199904132254.RAA21992@aurora.sol.net> Date: Tue, 13 Apr 1999 17:54:24 -0500 (CDT) From: Joe Greco Sender: jgreco@aurora.sol.net Reply-To: jgreco@solaria.sol.net To: FreeBSD-gnats-submit@freebsd.org Subject: NFS quotas fail to report if alternate file supplied X-Send-Pr-Version: 3.2 >Number: 11119 >Category: bin >Synopsis: NFS quotas fail to report if alternate file supplied >Confidential: no >Severity: serious >Priority: medium >Responsible: mikeh >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Apr 13 15:50:00 PDT 1999 >Closed-Date: Mon Oct 1 22:25:22 PDT 2001 >Last-Modified: Mon Oct 01 22:25:41 PDT 2001 >Originator: Joe Greco >Release: FreeBSD 3.1-RELEASE i386 >Organization: sol.net Network Services - Solaria Public Access UNIX >Environment: NFS server, quotas enabled, alternate quota file specified i.e. fstab reads something like /dev/ccd4e /export/home/u2 ufs rw,nodev,noexec,nosuid,userquota=/var/quotas/u2 2 2 /dev/ccd5e /export/home/u1 ufs rw,nodev,noexec,nosuid,userquota=/var/quotas/u1 2 2 >Description: rpc.rquotad scans for a filesystem where st_dev of the NFS filesystem matches that of the filesystem the quota file resides on. This is an error. It _should_ look for a match of the filesystem the quota file is responsible for. >How-To-Repeat: configure NFS server/client as described, enable quotas and rquotad. type "quota" on client. Response will be "none." >Fix: Patch included. Examine the mount point instead of the quota file to determine correct st_dev in rpc.rquotad. Obvious fix. Hopefully it is even correct. ;-) begin 644 patch.gz M'XL(".#%$S<"`W!A=&-H`-56;6_:,!#^''[%M5*G)`TT+ZP44"MU72M5ZEA7 MRC:MJE`(3HD&2;`=-E;UO^]L)R1T5-H'IFT(B<0^GY^7\QG3-('.LX3[XT:@ M?2)CZ"4+<`_!=CJ>TW&:X+3;K5J]7B_#&K%VFQ$X32DX'CBMCF=WG",1V*Z9 MZQ_Q#DW':K9`O@(LDF@,*8UB3B@=4I).ES`<7NMZ_^/9Y^N;6S`Y]6.6&D:W MB([BB(=,18D!-849X('@A(2E9J=)_`#1V()@XE,P4Y]/+&"<9@&'\7PT_0JF M_!$9=F2&B5]=GX>&C/LC,$-6)#+G8>S/2`X*OP>""IAY[HP2")*8^XA4`(C# MA,Y\'B4Q`W^49!PRQ!]&4\*6C),9DWHJ6?"I_K_+4GD?D\7V5-I43*[C62Y6 MFQP0,JJ!=B&DM@([1+AZJ#,SK@49",=U[9ZL+`5R6O7Y=( M\S1M33G]N6(&S/SI-`ET%OT@2?AL7M2`=,=UD-^JS/\&/_F2^_7'N&[TUG,M MUSM:>5O9I'Y2XL,-U[.+&C/PV(AMIB36*U;!/CCJ>&FBPH)TJ6].:D%EE62Y M(Y?X7%]3AO$\6S4-XT/4"W$QWE#/59WR8Y;6(UTSI(9P6Y&DQG(JFP$%O0(?]-_"W:C+6,.5+M&K&NE6]PU+[86 MV8/*[BO&'E4P=M-`]6)Q.2C6&:/BX)#7PN\3VJ^.B;5;X[C1/+=E>=YA>:5X;MORFO:JE&5[25*NF@)7%H-NJF,1DD(K^A:BU'*\L&=F^Q'VFBJZ@AW-!VEU+Y:A43Q*Z_!<0Z@@; M>]X>.]ACC3VV:U436O!A\/[V].+RZKQW^NY<*(QU2F*&E^G=H'\C9^\-*62) 5"#/*;2I`BJ%U($^UGZ+@TR`7"@`` ` end >Release-Note: >Audit-Trail: State-Changed-From-To: open->feedback State-Changed-By: mikeh State-Changed-When: Tue Jun 19 17:28:28 PDT 2001 State-Changed-Why: Can you test whether the fix in PR bin/4949, which has been committed to -current, works? Responsible-Changed-From-To: freebsd-bugs-> mikeh Responsible-Changed-By: mikeh Responsible-Changed-When: Tue Jun 19 17:28:28 PDT 2001 Responsible-Changed-Why: I committed the fix for 4949. http://www.FreeBSD.org/cgi/query-pr.cgi?pr=11119 State-Changed-From-To: feedback->closed State-Changed-By: mikeh State-Changed-When: Mon Oct 1 22:25:22 PDT 2001 State-Changed-Why: Feedback timeout. http://www.FreeBSD.org/cgi/query-pr.cgi?pr=11119 >Unformatted: