Bug 27416

Summary: quota does not work with 32bits UID
Product: [Retired] Red Hat Linux Reporter: Gustav Foseid <gustavf>
Component: kernelAssignee: Michael K. Johnson <johnsonm>
Status: CLOSED NOTABUG QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-02-13 23:48:12 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Gustav Foseid 2001-02-13 16:25:51 UTC
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.

Reproducible: Always
Steps to Reproduce:
1. Have a filesystem with user-quotas mounted with kernel from
kernel-2.4.0-0.26

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
quotas.

3. Run "quota" as the user or "quota user" as root to see that no usage is
reported.

4. Repeat 2 and 3 with a user with UID under 65536 to see the expected
results.
	

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.

Comment 1 Arjan van de Ven 2001-02-13 16:57:00 UTC
You need a new quota userspace rpm for high UID quotas to work.


Comment 2 Gustav Foseid 2001-02-13 17:38:11 UTC
In that case, the "bug" is that none of these places have an updated quota
userspace RPM:

ftp://ftp.redhat.com/redhat/updates/7.0/i386/
ftp://ftp.redhat.com/redhat/updates/7.0/SRPMS/


Comment 3 Bill Nottingham 2001-02-13 23:48:08 UTC
The 2.4 stuff is a preview; it's not officially supported. Hence, no
official updates to support it yet.

Comment 4 Michael K. Johnson 2001-02-14 00:53:35 UTC
Arjan, which quota userspace version number is required?