diff --git a/bind.spec b/bind.spec index a7d1ae9..07a8476 100644 --- a/bind.spec +++ b/bind.spec @@ -80,7 +80,7 @@ License: MPL-2.0 AND ISC AND MIT AND BSD-3-Clause AND BSD-2-Clause # Before rebasing bind, ensure bind-dyndb-ldap is ready to be rebuild and use side-tag with it. # Updating just bind will cause freeipa-dns-server package to be uninstallable. Version: 9.18.33 -Release: 7%{?dist} +Release: 8%{?dist} Epoch: 32 Url: https://www.isc.org/downloads/bind/ # @@ -923,6 +923,9 @@ fi; %endif %changelog +* Fri Sep 12 2025 Petr Menšík <> - 32:9.18.33-8 +- logrotate: skip if empty and remove old variants (RHEL-113942) + * Wed Jul 09 2025 Petr Menšík - 32:9.18.33-7 - Add runtime tunable limit by environment NAMED_MAXADDITIONAL (RHEL-84006) diff --git a/named.logrotate b/named.logrotate index 5df448f..5934e52 100644 --- a/named.logrotate +++ b/named.logrotate @@ -2,11 +2,9 @@ missingok su named named create 0644 named named + notifempty postrotate /usr/bin/systemctl reload named.service > /dev/null 2>&1 || true /usr/bin/systemctl reload named-chroot.service > /dev/null 2>&1 || true - /usr/bin/systemctl reload named-sdb.service > /dev/null 2>&1 || true - /usr/bin/systemctl reload named-sdb-chroot.service > /dev/null 2>&1 || true - /usr/bin/systemctl reload named-pkcs11.service > /dev/null 2>&1 || true endscript }