7 Oct
2009
7 Oct
'09
6:13 p.m.
Hi to everyone.
Timo,
With dovecot-1.2.6 "multiple quota roots" complains: "stat((null)) failed: Bad address" to log file.
My setup is:
plugin { quota = dirsize:dirsize quota quota2 = fs:fs quota:group }
Complains from (plugins/quota/quota-fs.c):
if (stat(root->storage_mount_path, &rst) < 0) { if (_root->quota->set->debug) { i_error("stat(%s) failed: %m", root->storage_mount_path); } return FALSE; }
root->storage_mount_path is NULL here.
But "single quota" setup (dirsize or fs) works fine.
Full log (multiple quota):
Quota root: name=dirsize quota backend=dirsize args= Quota rule: root=dirsize quota mailbox=* bytes=48234496 messages=0 Quota root: name=fs quota backend=fs args=group mbox: data=~/:INBOX=/var/virtual/mail/I/I/koc:INDEX=MEMORY fs: root=/var/virtual/home/I/I/koc, index=, control=, inbox=/var/virtual/mail/I/I/koc fs quota add storage dir = /var/virtual/home/I/I/koc fs quota block device = nfsf:/export fs quota mount point = /mount/m6 stat((null)) failed: Bad address stat((null)) failed: Bad address stat((null)) failed: Bad address ...
Full log (single fs quota):
Quota root: name=fs quota backend=fs args=group Quota rule: root=fs quota mailbox=* bytes=48234496 messages=0 mbox: data=~/:INBOX=/var/virtual/mail/I/I/koc:INDEX=MEMORY fs: root=/var/virtual/home/I/I/koc, index=, control=, inbox=/var/virtual/mail/I/I/koc fs quota add storage dir = /var/virtual/home/I/I/koc fs quota block device = nfsf:/export fs quota mount point = /mount/m6 quota-fs: host=nfsf, path=/export, gid=52304385, bytes quota-fs: gid=52304385, value=48660480, limit=52428800, active=1
=kostik