Bug 33258 - rc2: quotaon fails
Summary: rc2: quotaon fails
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: quota
Version: 7.1
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Preston Brown
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-03-26 16:29 UTC by Randy Russell
Modified: 2007-04-18 16:32 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-03-26 16:29:36 UTC
Embargoed:


Attachments (Terms of Use)

Description Randy Russell 2001-03-26 16:29:32 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.75 [en] (X11; U; Linux 2.2.16-22 i686)


One should be able to enable quota enforcement using quotaon /home or
quotaon -a.  These commands fail when run on rc2.



Reproducible: Always
Steps to Reproduce:
1.  Install system with separate /home filesystem
2.  Edit /etc/fstab, replace "defaults"  with "usrquota"
3.  mount -o remount /home
4.  Verify that /home is mounted as quota-capable: mount
5.  Run quotacheck /home to create /home/quota.user
6.  quotaon /home (it fails)
7.  edquota <some user>, set a limit
8.  repquota /home or quota <some user> should show quotas (so it really
did fail)

Actual Results:  [root@station5 /root]# quotaon -a
quotaon: using /home/quota.user on /dev/hda7: Invalid argument


Expected Results:  successful completion of quotaon;
ability to assign quotas

Output from strace:

quotactl(Q_QUOTAON|USRQUOTA, "/dev/hda7", 0, {1836017711, 1970351973,
778138735, 1919251317, 0, 17, 1986356271, 1633970223}) = -1 EINVAL (Invalid
argument)
...
write(2, "/dev/hda7: Invalid argument\n", 28/dev/hda7: Invalid argument) =
28

Comment 1 Preston Brown 2001-03-26 22:37:21 UTC
fixed with quota 3.00 in current rawhide trees.



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