more on quotas

Jure Pe_ar pegasus at nerv.eu.org
Sun Nov 28 17:15:42 EST 2004


On Fri, 26 Nov 2004 00:22:45 -0200
Henrique de Moraes Holschuh <hmh at debian.org> wrote:

> Debugger time!  Maybe a strace and ltrace would be enough, but...

So, findings:

qouta utility thinks it reached the end of user list, displays stats and
exits in case it encounters an entry in mailboxes.db that does not exist on
disk.

Which is wrong imho, it should report an error and exit appropriately. The
only way to figure out the problematic mailbox is to run it under strace
-eopen -o outfile (or equivalent) and check the last line in the outfile
when it exits.

One would argue that "entry in mailboxes.db but not on disk" should not
happen at all ... but on a system that went through many "events" and had
mailboxes.db rebuilt from on-disk mailboxes many times, things like that
happen. More robustness from cyrus would give better impression ...


-- 

Jure Pečar
http://jure.pecar.org/

---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list