Date: Tue, 13 Apr 1999 17:54:24 -0500 (CDT) From: Joe Greco <jgreco@ns.sol.net> To: FreeBSD-gnats-submit@freebsd.org Subject: bin/11119: NFS quotas fail to report if alternate file supplied Message-ID: <199904132254.RAA21992@aurora.sol.net>
index | next in thread | raw e-mail
>Number: 11119
>Category: bin
>Synopsis: NFS quotas fail to report if alternate file supplied
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Apr 13 15:50:00 PDT 1999
>Closed-Date:
>Last-Modified:
>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+A<P!T&&:4$61U#;W!UU7TA*B;?UT(4IWDHY!(TN[7]
M<A!YJK%JKER>ZJ#,SK@49",=U[9</&[YZ="^39`_Z#HJ<:Q\1."Z81CP**:U
M*`1A1S!+,:1^@K`7N.\R)1;LHGR[AB'#-"%T%&=$&*I6[12>ZL+`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#/59WR<U(NR)WV\!QZY3G\9]CFUF^-[":K
M/;MI>8Y;6(UTSI(9P6Y&DQG(JFP$%O0(?]-_"W:C+6,.5+M&K&NE6]PU+[86
MV8/*[BO&'E4P=M-`]6)Q.2C6&:/BX<ZQ[?ON\[!1%MZ]&5ST+[_<*Q<]^S42
M:18N;H.(>)#7PN\3VJ^.B;5;X[C1/+=E>=YA>:5X;MORFO:JE&5[25*NF@<E
M>)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:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904132254.RAA21992>
