Bug 27416 - quota does not work with 32bits UID
Summary: quota does not work with 32bits UID
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kernel
Version: 7.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Michael K. Johnson
QA Contact: Brock Organ
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-02-13 16:25 UTC by Gustav Foseid
Modified: 2007-04-18 16:31 UTC (History)
0 users

(edit)
Clone Of:
(edit)
Last Closed: 2001-02-13 23:48:12 UTC


Attachments (Terms of Use)

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?


Note You need to log in before you can comment on or make changes to this bug.