Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 261368

Summary: sys-fs/quota reports negative grace time for RPC xfs quota that has expired
Product: Gentoo Linux Reporter: Kamil Kisiel <kamil>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Kamil Kisiel 2009-03-05 21:52:12 UTC
The quota program reports the grace time incorrectly on an expired grace from an NFS mounted XFS filesystem.

Reproducible: Always

Steps to Reproduce:
1. Create an XFS filesystem that has user quotas
2. Export the filesystem over NFS, make sure rpc.quotad is running
3. Mount the filesystem on a client that has RPC quota support
4. On the client, make sure quota -s correctly reports the user quota
5. Set a quota on a user account and have the user exceed the quota
6. Wait for the grace time to expire.

Actual Results:  
quota -s on the NFS client reports "grace=49706days" or similar.
xfs_quota on the server reports the expired grace time correctly.

Expected Results:  
The quota tool should report the quota has expired, or 0 days remaining, or something else reasonable.

May be more appropriate as an upstream bug. If so, please pass along.