Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6723 - quota is broken now.
Summary: quota is broken now.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Joachim Blaabjerg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-19 10:39 UTC by Gregg
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gregg 2002-08-19 10:39:33 UTC
I emerged in 3.06 (as per the request by the author of the ebuilt for
 testing), afterword nothing about my quota system worked. So I emerged
 in 3.03 again and unmerged 3.06 and now things are half working, but all
 quota related programs are giving me errors and warnquota isnt working
 at all.
 
 trying to use warnquota:
 
 *[root@localhost:cron.daily] warnquota
 warnquota: Can't open /etc/quotatab: No such file or directory
 *[root@localhost:cron.daily]
 
 trying to use edquota:
 
 *[root@localhost:net-misc] edquota dkny
 edquota: Can't get quotafile name.
 *[root@localhost:cron.daily]
 
 (it came up in the editor, i edited and saved, then got that error)
 
 
 It was working fine before I did this. and it was on 3.03 before I tried
 3.06.

 My crontab job that runs warnquota every night is also reporting this:
warnquota: Can't open /etc/quotatab: No such file or directory
It used to work fine.
Comment 1 Joachim Blaabjerg (RETIRED) gentoo-dev 2002-08-23 01:11:19 UTC
Hm, that look weird. I don't use quota myself, so I just merged 3.03 to take a look 
at what the correct behaviour would be, and I get the warnquota error myself. I 
took a closer look at the ebuild, and realized quotatab is never installed, and it 
wasn't in 3.03 either. I edited the ebuild and added these lines:

    insinto /etc
    insopts -m0644
    doins warnquota.conf quotatab

I resubmitted the quota-3.06 ebuild to CVS, still masked. For the other error, I 
haven't got a clue at the moment. I'll look in to it, though. Thanks!
Comment 2 Gregg 2002-08-23 09:41:30 UTC
I tried making warquota.conf into quotatab but that results in more errors.  Its
not the same file.
Comment 3 Joachim Blaabjerg (RETIRED) gentoo-dev 2002-08-24 09:46:50 UTC
I know they're not. The command `doins warnquota.conf quotatab` installs both of 
those files separately into /etc. Could you test if the new ebuild version fixes at least 
the warnquota problem? Thanks :)
Comment 4 Gregg 2002-08-24 11:43:20 UTC
Put in 3.06 added a couple users (my superadduser is modified to use setquota on
the users at the end), and tried out al the different utils.  No more errors. 
This ebuild seems to fix the problems.  Thanks for your work on this.
Comment 5 Joachim Blaabjerg (RETIRED) gentoo-dev 2002-08-24 11:53:55 UTC
No problem, thanks for reporting/testing!