Bug 27416 - quota does not work with 32bits UID
quota does not work with 32bits UID
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: kernel (Show other bugs)
7.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Michael K. Johnson
Brock Organ
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-02-13 11:25 EST by Gustav Foseid
Modified: 2007-04-18 12:31 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-02-13 18:48:12 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Gustav Foseid 2001-02-13 11:25:51 EST
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 11:57:00 EST
You need a new quota userspace rpm for high UID quotas to work.
Comment 2 Gustav Foseid 2001-02-13 12:38:11 EST
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 18:48:08 EST
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-13 19:53:35 EST
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.