Bug#536880: dovecot: quota plugin broken

2009-07-14 Thread Timo Sirainen

On Jul 14, 2009, at 8:25 AM, Marc Dequènes (Duck) wrote:

Restarting IMAP/POP3 mail server: dovecotILoading modules from  
directory: /usr/lib/dovecot/modules/imap
Edlopen(/usr/lib/dovecot/modules/imap/lib10_quota_plugin.so)  
failed: /usr/lib/dovecot/modules/imap/lib10_quota_plugin.so:  
undefined symbol: xdr_ext_getquota_args


This is because the Debian package is built with automake 1.9. 1.10  
would work, or you could apply this patch:


http://hg.dovecot.org/dovecot-1.2/rev/66040bffc1a5




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#536880: dovecot: quota plugin broken

2009-07-14 Thread Marc Dequènes (Duck)

Package: dovecot
Version: 1:1.2.1-1
Severity: important

Coin,

Starting dovecot leads to:
Restarting IMAP/POP3 mail server: dovecotILoading modules from  
directory: /usr/lib/dovecot/modules/imap
Edlopen(/usr/lib/dovecot/modules/imap/lib10_quota_plugin.so) failed:  
/usr/lib/dovecot/modules/imap/lib10_quota_plugin.so: undefined symbol:  
xdr_ext_getquota_args

FCouldn't load required plugins
Error: imap dump-capability process returned 89

Deactivating quota plugin for imap only, leads to problems later:
Jul 14 13:16:48 Orfeo dovecot: POP3(kilobug): Loading modules from  
directory: /usr/lib/dovecot/modules/pop3
Jul 14 13:16:48 Orfeo dovecot: POP3(kilobug):  
dlopen(/usr/lib/dovecot/modules/pop3/lib10_quota_plugin.so) failed:  
/usr/lib/dovecot/modules/pop3/lib10_quota_plugin.so: undefined symbol:  
xdr_ext_getquota_args
Jul 14 13:16:48 Orfeo dovecot: POP3(kilobug): Fatal: Couldn't load  
required plugins


The only way to get dovecot working was to deactivate the quota plugin  
completely.


According to /usr/include/sys/quota.h there is no rquota group support  
available with the xdr_ext_* functions, so i guess the test in  
'src/plugins/quota/quota-fs.c' using EXT_RQUOTAVERS is broken because  
EXT_RQUOTAVERS should not be set. I then tried to fool the test and  
rebuilt dovecot with this only change, and got a fully working quota  
plugin. Deeper investigation is needed, but i wanted users to see this  
report before upgrading.


Regards.

--
Marc Dequènes (Duck)


pgprlUKuME8p7.pgp
Description: PGP Digital Signature