Use systemctl reload to HUP the KDC during logrotate

Resolves: #1877692
This commit is contained in:
Robbie Harwood 2020-09-10 14:22:32 +00:00
parent d7334ebf68
commit c06ba2920a
3 changed files with 7 additions and 3 deletions

View File

@ -4,6 +4,6 @@
monthly
rotate 12
postrotate
/bin/kill -HUP `cat /var/run/kadmind.pid 2>/dev/null` 2> /dev/null || true
systemctl reload kadmin.service || true
endscript
}

View File

@ -18,7 +18,7 @@ Summary: The Kerberos network authentication system
Name: krb5
Version: 1.18.2
# for prerelease, should be e.g., 0.% {prerelease}.1% { ?dist } (without spaces)
Release: 22%{?dist}
Release: 23%{?dist}
# rharwood has trust path to signing key and verifies on check-in
Source0: https://web.mit.edu/kerberos/dist/krb5/1.18/krb5-%{version}%{prerelease}.tar.gz
@ -633,6 +633,10 @@ exit 0
%{_libdir}/libkadm5srv_mit.so.*
%changelog
* Thu Sep 10 2020 Robbie Harwood <rharwood@redhat.com> - 1.18.2-23
- Use `systemctl reload` to HUP the KDC during logrotate
- Resolves: #1877692
* Wed Sep 09 2020 Robbie Harwood <rharwood@redhat.com> - 1.18.2-22
- Fix input length checking in SPNEGO DER decoding

View File

@ -4,6 +4,6 @@
monthly
rotate 12
postrotate
/bin/kill -HUP `cat /var/run/krb5kdc.pid 2>/dev/null` 2> /dev/null || true
systemctl reload krb5kdc.service || true
endscript
}