[Bug 1795919] Re: fs quota calculation is wrong

2020-05-22 Thread Bryce Harrington
** Changed in: dovecot (Ubuntu Bionic) Status: Triaged => Incomplete ** Summary changed: - fs quota calculation is wrong + [SRU] fs quota calculation is wrong -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1795919] Re: fs quota calculation is wrong

2020-05-22 Thread Bryce Harrington
I'll add that the identified patch still applies to bionic's dovecot, so it doesn't appear that dovecot itself has already been fixed; if the issue is resolved the fix could be in the kernel or elsewhere. I've prepared a PPA with a dovecot package containing the patch, if anyone would like to

[Bug 1795919] Re: fs quota calculation is wrong

2020-05-21 Thread Bryce Harrington
This issue is not reproducing on bionic for me. I've fleshed out the test case in the bug description with a more precise series of steps to set things up in a multipass VM, but the quota values I'm seeing appear to be correct. I'm guessing there's either some additional configuration step, or

[Bug 1795919] Re: fs quota calculation is wrong

2020-05-21 Thread Bryce Harrington
** Description changed: [Impact] - * Dovecot users using the fs quota plugin see wrong quota calculation -(overquota situation) - - * LTS version is affected. Bug would remain for a long time. - - * Patch is simple (1 line) + Dovecot users using the fs quota plugin see wrong quota

[Bug 1795919] Re: fs quota calculation is wrong

2019-02-25 Thread Nick Maynard
Thank you - we have just upgraded our mail system from xenial to bionic, and unexpectedly hit this. It seems it *might* have other side effects, like breaking indexing (checks quota before writing files) and potentially writing to Sent and Drafts (also, checking quota). High priority for us - a

[Bug 1795919] Re: fs quota calculation is wrong

2019-02-19 Thread Robie Basak
Yes, it's on our list to do soon. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1795919 Title: fs quota calculation is wrong To manage notifications about this bug go to:

[Bug 1795919] Re: fs quota calculation is wrong

2019-02-19 Thread Thomas Sommer
But should still be backported to bionic IMHO. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1795919 Title: fs quota calculation is wrong To manage notifications about this bug go to:

[Bug 1795919] Re: fs quota calculation is wrong

2019-02-19 Thread Andreas Hasenack
https://github.com/dovecot/core/commit/39eefc53d06cf9790c6e3180a67b68e89eb71313 #diff-e72982e5f369f46babc0f4b79df68878 is the upstream commit corresponding to the attached patch. I see that this fix is present in the Ubuntu Disco and Cosmic packages, so I'm marking the main task of this bug as

[Bug 1795919] Re: fs quota calculation is wrong

2019-02-19 Thread Andreas Hasenack
https://github.com/dovecot/core/commit/39eefc53d06cf9790c6e3180a67b68e89eb71313 #diff-e72982e5f369f46babc0f4b79df68878 is the upstream commit corresponding to the attached patch. I see that this fix is present in the Ubuntu Disco and Cosmic packages, so I'm marking the main task of this bug as

[Bug 1795919] Re: fs quota calculation is wrong

2018-11-27 Thread Thomas Sommer
I've added the SRU Bug Template. Could you take it from here? ** Description changed: + [Impact] + + * Dovecot users using the fs quota plugin see wrong quota calculation +(overquota situation) + + * LTS version is affected. Bug would remain for a long time. + + * Patch is simple (1

[Bug 1795919] Re: fs quota calculation is wrong

2018-11-27 Thread Robie Basak
** Tags added: bitesize -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1795919 Title: fs quota calculation is wrong To manage notifications about this bug go to:

[Bug 1795919] Re: fs quota calculation is wrong

2018-11-27 Thread Robie Basak
Sorry I missed your previous comment. Please could you see https://wiki.ubuntu.com/StableReleaseUpdates#Procedure and handle as much of that as you can? I'll be happy to help with with the rest. Please could you also verify that this bug is fixed in Ubuntu 18.10 (Cosmic)? ** Also affects: dovecot

[Bug 1795919] Re: fs quota calculation is wrong

2018-11-26 Thread Thomas Sommer
~racb what do you think? Could you release a new version with the patch included? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1795919 Title: fs quota calculation is wrong To manage notifications

[Bug 1795919] Re: fs quota calculation is wrong

2018-10-30 Thread Thomas Sommer
I was away for a while, but in the meantime the patched dovecot was running all the time without any issues. I tried to replicate the service quota-status on a freshly installed ubuntu 16.04.5. I get the same result of DUNNO instead of Mailbox full. So no regression here. May I suggest to

[Bug 1795919] Re: fs quota calculation is wrong

2018-10-09 Thread Thomas Sommer
The patch seems to work. Dovecot now displays the correct quota. Also the command doveadm quota get -u user shows correct values. What I'm unable to verify is the quota-status-service for postfix. I have it configured in dovecot.conf as follows: plugin { quota_grace = 10%% # 10% is the

[Bug 1795919] Re: fs quota calculation is wrong

2018-10-08 Thread Ubuntu Foundations Team Bug Bot
The attachment "quota-fs.diff" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team. [This is an automated message performed by a Launchpad user owned by ~brian-murray,

[Bug 1795919] Re: fs quota calculation is wrong

2018-10-08 Thread Robie Basak
I uploaded a build to my experimental PPA at: https://launchpad.net/~racb/+archive/ubuntu/experimental/ You should be able to try it from there, assuming the build succeeds. You can use "pull-lp-source" (from ubuntu-dev-tools) to grab the Ubuntu sources for any given package and version. Sorry

[Bug 1795919] Re: fs quota calculation is wrong

2018-10-08 Thread Thomas Sommer
Are you able to test the attached patch? I wasn't able to build the package on my current system. Or I just don't know how to do it. With apt source dovecot-core I got the sources for dovecot 2.2.22, but the installed version is 2.2.33.2 ** Patch added: "quota-fs.diff"

[Bug 1795919] Re: fs quota calculation is wrong

2018-10-08 Thread Thomas Sommer
Are you able to test the attached patch? I wasn't able to build the package on my current system. Or I just don't know how to do it. With apt source dovecot-core I got the sources for dovecot 2.2.22, but the installed version is 2.2.33.2 ** Patch added: "quota-fs.diff"

Re: [Bug 1795919] Re: fs quota calculation is wrong

2018-10-07 Thread Robie Basak
On Sun, Oct 07, 2018 at 08:50:21PM -, Thomas Sommer wrote: > Any chance the package is upgraded to version 2.3.3? Not for 18.04. Please see https://wiki.ubuntu.com/StableReleaseUpdates for rationale and policy. The easiest way to fix the quota plugin on 18.04 is to find the minimal patch that

[Bug 1795919] Re: fs quota calculation is wrong

2018-10-07 Thread Thomas Sommer
I think I found the problem when looking at the source which is related to glibc. The fs quota plugin is not compatible with the shipped glibc. Current ubuntu packaged dovecot version v2.2.33: File: core/src/plugins/quota/quota-fs.c

[Bug 1795919] Re: fs quota calculation is wrong

2018-10-04 Thread Thomas Sommer
Somebody already reported it to the dovecot mailing list: https://www.dovecot.org/list/dovecot/2017-June/108423.html It seems it's related to a glibc change. Unfortunately there's no resolution. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed

[Bug 1795919] Re: fs quota calculation is wrong

2018-10-04 Thread Robie Basak
Thank you for taking the time to report this bug and helping to make Ubuntu better. Unfortunately I don't see anything I can do about this in Ubuntu right now. Can you reproduce this problem with a build direct from upstream sources (of this version - 2.2.33.2), without packaging? If so, then