Dovecot >=2.2.29 + Filesystem quota = incorrect storage information

Timo Sirainen tss at iki.fi
Tue Oct 17 22:57:30 EEST 2017


On 17 Oct 2017, at 18.02, Macka <dovecot at macka.pl> wrote:
> 
> I have to resume the thread.
> 
> Apparently the problem is caused by the new /usr/include/sys/quota.h file (glibc-2.25 and newer)
> 
> When I use the quota.h with glibc-headers-2.25, the filesystem quota limits are badly displayed.
> When using the same glibc-2.25 library but replacing ONLY one quota.h file from the older version of glibc-2.24, after compilation, the limits are correct.

Looks like they removed the _LINUX_QUOTA_VERSION define from quota.h. This causes Dovecot to assume it's quota v1. I wonder if there's a way to detect that it's a new quota.h or should we just drop support for _LINUX_QUOTA_VERSION==1..



More information about the dovecot mailing list