* Sun Feb 23 2025 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-5.sme

- enable quota on home partition too if ext or xfs [SME: 12912]
This commit is contained in:
Jean-Philippe Pialasse 2025-02-23 22:55:10 -05:00
parent 72186030e2
commit dd1e3468f4
3 changed files with 10 additions and 6 deletions

View File

@ -1 +0,0 @@
sme10

View File

@ -1,10 +1,12 @@
{
# Change defaults => usrquota,grpquota for / file system
# Change defaults => usrquota,grpquota for /, /home or /home/e-smith ext* file system
# Change defaults => uquota,gquota for /, /home or /home/e-smith xfs file system
@lines = map {
/\s\/\s+ext[234]\s+defaults\s/ && s/defaults/usrquota,grpquota/;
/\s(\/|\/home|\/home\/e-smith)\s+ext[234]\s+defaults\s/ && s/defaults/usrquota,grpquota/;
/^\/dev\/main\/.*\s+ext[234]\s+defaults\s/ && s/defaults/usrquota,grpquota/;
/\s\/\s+xfs\s+defaults\s/ && s/defaults/uquota,gquota/;
/^\/dev\/main\/.*\s+xfs\s+defaults\s/ && s/defaults/uquota,gquota/;
/\s(\/|\/home|\/home\/e-smith)\s+xfs\s+defaults\s/ && s/defaults/uquota,gquota/;
/^\/dev\/main\/.*\s+xfs\s+defaults\s/ && s/defaults/uquota,gquota/;
/^\/dev\/mapper\/(kss-home|kss-root).*\s+xfs\s+defaults\s/ && s/defaults/uquota,gquota/;
$_
} @lines;
"";

View File

@ -4,7 +4,7 @@ Summary: smeserver server and gateway - quota module
%define name smeserver-quota
Name: %{name}
%define version 11.0.0
%define release 4
%define release 5
Version: %{version}
Release: %{release}%{?dist}
License: GPL
@ -25,6 +25,9 @@ Provides: e-smith-quota
smeserver server and gateway software - quota module.
%changelog
* Sun Feb 23 2025 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-5.sme
- enable quota on home partition too if ext or xfs [SME: 12912]
* Thu Apr 04 2024 Brian Read <brianr@koozali.org> 11.0.0-4.sme
- Update createlinks to create smeserver-package-update event[SME: 12579]