Bug 6723 - quota is broken now.
Bug#: 6723 Product:  Gentoo Linux Version: 1.3 Platform: x86
OS/Version: Linux Status: RESOLVED Severity: major Priority: P2
Resolution: FIXED Assigned To: styx@gentoo.org Reported By: greggscam@hotmail.com
Component: Ebuilds
URL: 
Summary: quota is broken now.
Keywords:  
Status Whiteboard: 
Opened: 2002-08-19 10:39 0000
Description:   Opened: 2002-08-19 10:39 0000
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 From Joachim Blaabjerg 2002-08-23 01:11:19 0000 -------
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 From Gregg 2002-08-23 09:41:30 0000 -------
I tried making warquota.conf into quotatab but that results in more errors. 
Its
not the same file.

------- Comment #3 From Joachim Blaabjerg 2002-08-24 09:46:50 0000 -------
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 From Gregg 2002-08-24 11:43:20 0000 -------
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 From Joachim Blaabjerg 2002-08-24 11:53:55 0000 -------
No problem, thanks for reporting/testing!