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
Fedora Release Engineering
94d5a2f113
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-02 10:55:59 +00:00
Petr Písař
28c6e8b39b
Rename rpmlint configuration file
2018-08-23 12:57:25 +02:00
Petr Písař
bfc729c3dc
Fix file descriptor leaks in error code paths
2018-08-23 12:12:35 +02:00
Petr Písař
599891fece
Update license annotation
2018-07-24 15:28:54 +02:00
Petr Písař
47a961a4db
Distinguish between none quota limits and no allocated resources in quota(1) tool output
2018-07-24 12:24:15 +02:00
Fedora Release Engineering
467928d37f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 03:17:17 +00:00
Petr Písař
84b2b0185d
Fix current block usage limit in RPC client
2018-05-30 13:54:10 +02:00
Petr Písař
56368a413c
Listen-on-a-TCP-socket.patch accepted
2018-05-30 13:19:59 +02:00
Petr Písař
706ef8f2c4
Fix busy loop in rpc.rquotad
2018-05-22 14:10:20 +02:00
Fedora Release Engineering
fd1c8496db
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 12:36:38 +00:00
Petr Písař
cd4ae93ee7
Report an error if quota file magic is invalid
2018-02-05 17:36:34 +01:00
Petr Písař
361e07183a
Report an error when quotacheck fails to cache quota files
2018-02-05 17:31:02 +01:00
Petr Písař
182a0dd855
Avoid questions in quotacheck non-interactive mode
2018-02-05 17:28:18 +01:00
Petr Písař
6903144869
Mark accepted patches
2018-02-05 17:19:51 +01:00
Petr Písař
046a421658
Fix mistakes in warnquota reported by GCC 8
2018-02-05 11:41:23 +01:00
Petr Písař
edad676d2a
Do not iterate over negative UIDs in repquota
2018-02-05 09:21:45 +01:00
Petr Písař
6202ce97bd
Pass TIRPC header files location to all RPC compilation units
2018-02-05 09:15:12 +01:00
Petr Písař
7ab9b9e9c6
rpcgen tool split from glibc-common package
2018-02-05 09:07:19 +01:00
Petr Písař
6c6a774fe1
Corret a typo
2018-02-05 08:51:33 +01:00
Petr Písař
00675767a6
Disable TCP wrappers
2017-11-30 12:12:58 +01:00
Petr Písař
576bbc0a18
4.04 bump
2017-09-06 16:53:51 +02:00
Petr Písař
707fbd56f1
Fix memory leaks when running quotacheck on ext file systems
2017-08-28 09:30:24 +02:00
Fedora Release Engineering
a013e2f553
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
2017-08-03 07:28:17 +00:00
Fedora Release Engineering
b4e71a79f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
2017-07-27 12:51:49 +00:00
Petr Písař
ca339568be
Make netlink support build-conditional
2017-07-04 16:30:41 +02:00
Petr Písař
070965ce07
Check for failures when duplicating a file handle
2017-07-04 15:33:06 +02:00
Petr Písař
d80c97b2f2
Check for failures when reading edquota input
2017-07-04 15:32:41 +02:00
Petr Písař
342168313d
Check for setuid and setgid calls failure in edquota tool
2017-07-04 15:32:10 +02:00
Petr Písař
464dafff94
Fix an undefined behavior on parsing yes-no answer
2017-07-04 15:31:40 +02:00
Petr Písař
b5980682f1
Fix a race between checking for and opening a directory to be scanned
2017-07-04 15:31:05 +02:00
Petr Písař
61c205a8ad
Do not install quota_nld.8 when netlink support is disabled
2017-07-04 15:29:45 +02:00