- Package:
- dovecot-core
- Source:
- dovecot
- Description:
- secure POP3/IMAP server - core files
- Submitter:
- karl156
- Date:
- 2021-02-01 00:21:04 UTC
- Severity:
- normal
Quotas stopped working after upgrade to buster and syslog is spammed with error messages like this one Aug 27 12:34:56 hostname dovecot: imap(username)<xxx><xxx>: Error: Failed to get quota resource STORAGE: quota-fs: quotactl(Q_GETQUOTA, /dev/volumename) failed: No such file or directory this command works "# doveadm quota get -u username" Problem seems to be systemd PrivateDevices=true in dovecot.service: https://www.dovecot.nl/pipermail/dovecot/2019-March/115121.html
This bug is almost a year old and still unfixed. Worse than that I did not get a single comment on the issue. Is this package dead? When fixing it you should also fix this: Aug 1 12:34:56 hostname systemd[1]: /lib/systemd/system/dovecot.service:9: PIDFile= references path below legacy directory /var/run/, updating /var/run/dovecot/master.pid → /run/dovecot/master.pid; please update the unit file accordingly.
Have the same problem on 2021-01-31 Workarround: create /etc/systemd/system/dovecot.service, and override PrivateDevices to "no". A (maybe safer) official fix would be welcome. Regards Javier