#909044 quota: Running quotacheck -cmug / fails with buster version but not with stretch version on lxc container

Package:
quota
Source:
quota
Description:
disk quota management tools
Submitter:
Adrian Almenar
Date:
2019-12-20 16:03:06 UTC
Severity:
important
#909044#5
Date:
2018-09-17 20:15:23 UTC
From:
To:
Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

Running debian buster on a LXC container with quotas enabled "quotacheck -cmug /" to enable the creation of aquota.user and aquota.group fails:

lxc ~# quotacheck -cmug /
quotacheck: error (1) while opening /dev/mapper/pve-vm--9002--disk--0

but installing stretch version works perfectly:

root@test-lxc ~ # dpkg -i quota_4.03-2+deb9u1_amd64.deb
dpkg: warning: downgrading quota from 4.04-2 to 4.03-2+deb9u1
(Reading database ... 45469 files and directories currently installed.)
Preparing to unpack quota_4.03-2+deb9u1_amd64.deb ...
Unpacking quota (4.03-2+deb9u1) over (4.04-2) ...
Setting up quota (4.03-2+deb9u1) ...
Processing triggers for systemd (239-9) ...
Processing triggers for man-db (2.8.4-2) ...
root@test-lxc ~ # quotacheck -cmug /
root@test-lxc ~ # repquota -a
*** Report for user quotas on device /dev/mapper/pve-vm--9002--disk--0
Block grace time: 7days; Inode grace time: 7days
                        Block limits                File limits
User            used    soft    hard  grace    used  soft  hard  grace
----------------------------------------------------------------------
root      -- 1198096       0       0          50733     0     0
man       --    1136       0       0            140     0     0
_apt      --      12       0       0              3     0     0
postfix   --      60       0       0             44     0     0


I`ve been checking the diff between quota 4.03 and 4.04 but cannot find anything related to this.


*** End of the template - remove these template lines ***

#909044#12
Date:
2018-09-25 08:14:39 UTC
From:
To:
This is not correct imo as the package seems to work nicely on all non-lxc
installations. Therefore I downgraded the bug to important.

Michael

#909044#17
Date:
2019-12-20 15:51:33 UTC
From:
To:
Dear Maintainer,

Also, I have tested with 4.05-1+b1 from testing and it fails with same error, inside LXC.