Red Hat Bugzilla – Bug 27416
quota does not work with 32bits UID
Last modified: 2007-04-18 12:31:26 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.2.17 i686)
When trying to view quota usage for a user with UID over 65536 no usage is
displayed. When using strace I see that the call to quotactl fails with
EINVAL. For UIDs lower than 65536 it works as expected.
Steps to Reproduce:
1. Have a filesystem with user-quotas mounted with kernel from
2. Add a user with a high UID (over 65536) and set a quota for this user
using edquota. Make som files belonging to the user on the filesystem with
3. Run "quota" as the user or "quota user" as root to see that no usage is
4. Repeat 2 and 3 with a user with UID under 65536 to see the expected
Actual Results: No usage reproted with quota.
The quotactl systemcall fails.
Expected Results: Actual usage reported.
The quotactl systemcall should return 0.
Using kernel from RPM-package kernel-2.4.0-0.26.
You need a new quota userspace rpm for high UID quotas to work.
In that case, the "bug" is that none of these places have an updated quota
The 2.4 stuff is a preview; it's not officially supported. Hence, no
official updates to support it yet.
Arjan, which quota userspace version number is required?