Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 261368 - sys-fs/quota reports negative grace time for RPC xfs quota that has expired
Summary: sys-fs/quota reports negative grace time for RPC xfs quota that has expired
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-05 21:52 UTC by Kamil Kisiel
Modified: 2019-03-30 11:03 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.