Univention Bugzilla – Bug 48315
No userquota is shown for xfs partitions
Last modified: 2019-01-16 13:25:22 CET
No userquota is shown for xfs partitions repquota throws a segmentation fault with option "-F xfs". The umc module does not check the return code and instead just returns an empty list. The filesystem autodetection seems to work fine, the filesystem option can probably removed. The long option would work as well "--format=xfs"
Already fixed in quota-tools 4.04 (ucs is at 4.03) git://git.kernel.org/pub/scm/utils/quota/quota-tools.git commit: ab2bf5b51a1ca14cef63e8a7a88b039f173a210a
Customer administrator can not administer quotas. Using command line is not suitable for them.
Replacing "-F xfs" with "--format=xfs" should be fine.
> Replacing "-F xfs" with "--format=xfs" should be fine. I did exactly that and it works. 4.3 --------------------- Successful build Package: univention-quota Version: 12.0.0-4A~4.3.0.201901091113 Branch: ucs_4.3-0 Scope: errata4.3-3 univention-quota (12.0.0-4) 78ebfa83e950 | Bug #48315: debian changelog univention-quota (12.0.0-3) adafa5018cef | Bug #48315: fix quota umc module for xfs file systems univention-quota.yaml 769b591b0bd7 | Bug #48315: yaml 4.4 --------------------- Successful build Package: univention-quota Version: 13.0.1-2A~4.4.0.201901091119 Branch: ucs_4.4-0 Scope: univention-quota (13.0.1-2) 8ca2729b591d | Bug #48315: debian changelog univention-quota (13.0.1-1) 878b6ad56e2b | Bug #48315: fix quota umc module for xfs file systems univention-quota.yaml 19d2eab002e0 | Bug #48315: yaml
Typo: --version xfs -> --format=xfs And the yaml in 4.4 can be removed
I fixed the typo and removed the yaml univention-quota (12.0.0-4) 78ebfa83e950 | Bug #48315: debian changelog univention-quota (12.0.0-5) 9ce95dfebbd1 | Bug #48315: fix typo ------------- Successful build Package: univention-quota Version: 12.0.0-5A~4.3.0.201901101646 Branch: ucs_4.3-0 Scope: errata4.3-3 Successful build Package: univention-quota Version: 13.0.1-3A~4.4.0.201901101649 Branch: ucs_4.4-0
Looks good :) I modified the quota tests (12_quota) to check xfs quota and use umc calls to check for this in the future. Small yaml change: [4.3-3 7a807fd071] Bug #48315: YAML Tests: OK Merge to 4.4: OK YAML: OK -> Verified
<http://errata.software-univention.de/ucs/4.3/404.html>