Commit Graph

264 Commits

Author SHA1 Message Date
Troy Dawson
afa5b2b3eb Bump release for June 2024 mass rebuild 2024-06-24 09:21:40 -07:00
Fedora Release Engineering
d0815b7e68 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-26 14:31:05 +00:00
Fedora Release Engineering
f5fe8c88e6 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-22 10:26:44 +00:00
Fedora Release Engineering
f92aa4f0eb Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-21 16:23:03 +00:00
Fedora Release Engineering
0521830804 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-20 19:20:36 +00:00
Lukas Czerner
31917e75a5 New upstream release 4.09
Signed-off-by: Lukas Czerner <lczerner@redhat.com>
2022-09-26 10:58:38 +02:00
Lukas Czerner
6f002e8e5f New upstream release 4.08
Previous release 4.07 was missing some crucial files in the tarball and
so the maintainer released fixed version right after that.

Unfortunately the new release has a bug where it would duplicate manual
pages on make install so we have to carry a custom patch to fix that
ATM.

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
2022-09-21 11:31:21 +02:00
Lukas Czerner
76d06b5384 New upstream release 4.07
Signed-off-by: Lukas Czerner <lczerner@redhat.com>
2022-09-21 11:29:31 +02:00
Fedora Release Engineering
56e3765bbd Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-23 00:21:37 +00:00
Lukas Czerner
dd6cc934a9 Sync with upstream
Signed-off-by: Lukas Czerner <lczerner@redhat.com>
2022-01-21 13:30:08 +01:00
Fedora Release Engineering
0f7111b4d1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 11:02:43 +00:00
Petr Písař
4ce08cf6c0 Fix sa_mask initialization when registering PID file removal 2021-03-17 09:36:13 +01:00
Zbigniew Jędrzejewski-Szmek
85565d7b88 Rebuilt for updated systemd-rpm-macros
See https://pagure.io/fesco/issue/2583.
2021-03-02 16:12:54 +01:00
Fedora Release Engineering
84c08cdb36 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 14:55:50 +00:00
Petr Písař
96c8603e67 Do not use a pointless compiler-internal __P() macro 2020-12-14 16:48:22 +01:00
Petr Písař
3c3fbd0f85 Warn when kernel XFS large time stamp does fit into (32-bit) user-space time_t 2020-12-14 16:42:37 +01:00
Petr Písař
2c6fe2906d Fix a compilation warning in quotaops.c 2020-12-14 16:37:54 +01:00
Petr Písař
d814f10a3e Remove a dead code from process_file() 2020-12-14 16:34:44 +01:00
Petr Písař
46caab5068 4.06 bump 2020-11-10 12:54:39 +01:00
Petr Písař
917fd267da Complain that ext4 external quota files are deprecated 2020-11-06 12:16:31 +01:00
Petr Písař
67fdd80764 Add a --filesystem option to the quota tool 2020-11-06 12:13:54 +01:00
Petr Písař
6a6022b86d Add a synopsis for a project quota option in the quota tool 2020-11-06 12:11:31 +01:00
Petr Písař
5cf058e49c Support grace period expirations past 2038 year for XFS 2020-11-06 12:08:31 +01:00
Petr Písař
716ce4c86c Require libtirpc-devel by quota-devel because of rpc/rpc.h
rpc/rpc.h was provided by glibc-devel and requiring glibc* is
prohibited. The file was moved to libtirpc-devel, so we can declare
the dependency now.
2020-09-02 14:17:14 +02:00
Petr Písař
935de57c60 Modernize systemd unit packaging 2020-08-24 10:23:39 +02:00
Petr Písař
a6ce046f13 Fix setting individual limits for XFS 2020-08-24 10:09:51 +02:00
Fedora Release Engineering
ba1d88bcb7 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-08-01 07:42:00 +00:00
Fedora Release Engineering
cd6174ad98 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 05:22:25 +00:00
Petr Písař
05f92155b5 Set kernel option when setting XFS grace times 2020-05-18 12:44:19 +02:00
Petr Písař
8b6f8d5665 Pass quota type for Q_XFS_GETQSTAT 2020-05-13 11:36:55 +02:00
Petr Písař
a79338e43d Use an upstream's patch for ignoring disabled quotas 2020-03-26 16:54:18 +01:00
Petr Písař
467ef82fdb Fix ignoring disabled quotas 2020-02-21 10:41:19 +01:00
Fedora Release Engineering
7275d7d7be - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-30 17:09:52 +00:00
Petr Písař
6e9d785e8c Remove a patch for freeing a parsed configuration in warnquota
Upstream claims that the allocation happens only once and then the
program exits, thus no need for free().

Also annotate accepted patches.
2019-11-06 11:06:18 +01:00
Petr Písař
c9c99ce66b Modernize a spec file 2019-11-05 15:15:28 +01:00
Petr Písař
e2c93dbf20 Free parsed configuration in warnquota 2019-11-05 15:14:21 +01:00
Petr Písař
5865da5790 Initialize all members of a configparams structure in warnquota 2019-11-05 14:56:00 +01:00
Petr Písař
0c47f5f1ee Document CC_TO in warquota.conf is looked up with LDAP 2019-11-05 12:52:28 +01:00
Petr Písař
a2a7378815 Report detailed LDAP failures 2019-11-05 12:48:53 +01:00
Petr Písař
09b6e2dfe6 Fix checking for the LDAP failures in the warnquota tool 2019-11-05 12:04:20 +01:00
Petr Písař
8cf703609d Fix warnquota --help output 2019-11-05 12:00:55 +01:00
Petr Písař
9e26235974 Optimize out useless checking of file systems with hidden quota files 2019-11-05 11:58:24 +01:00
Petr Písař
796c4e4310 Make-a-directory-for-quota_nld-PID-file-configurable.patch accepted by upstream 2019-11-05 09:38:44 +01:00
Fedora Release Engineering
376b09c204 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-26 18:02:49 +00:00
Petr Písař
cd5d62685c Move quota_nld.pid file to /run
"systemctl start quota_nld" complained about a deprecated /var/run path
into a syslog.
2019-05-30 13:53:14 +02:00
Petr Písař
6787f00c45 Run quota_nld service as tty group
quota_nld daemon writes to /dev/pts/N files thag has 0620 mode and
some_user:tty ownership.

If the daemon runs as a systemd service, SELinux denies DAC_OVERRIDE
capability that allows a root user to access files without matching
permissions.

We could fix it by adding a special SELinux rule, but SELinux
considers DAC_OVERRIDE harmful and prefers fixing the file permissions
instead.

We could patch quota_nld source to setgid() to tty group, but the
exact group name or ID is varies among distributions. This is not
upstreamable.

We could patch quota_nld to fork and setgid() to a group equaled to the
targeted device group. But that seems way to complicated if we can
simply patch systemd unit file to change group to "tty". Thus
I selected this approach.
2019-05-29 14:05:55 +02:00
Petr Písař
57e1da2761 Teach rpmlint that no setgroups() call is fine 2019-05-29 09:08:51 +02:00
Petr Písař
0d36e5c387 Fix Free Software Foundation's postal address 2019-05-29 07:52:44 +02:00
Petr Písař
5eda098e50 Report an error if an RPC fails on an explicitly requested file system 2019-05-29 07:41:48 +02:00
Petr Písař
70e3c0c1f2 4.05 bump 2019-04-02 11:56:30 +02:00