From daeb5508039f67a4778074df658afbdc4f6ac8f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= Date: Fri, 12 Dec 2025 21:33:31 +0100 Subject: [PATCH] Add missing bind-chroot subdirectories Fix also changelog date ordering. Resolves: RHEL-132054 --- bind-chroot.tmpfiles.d | 18 ++++++++++++------ bind9.18.spec | 7 +++++-- 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/bind-chroot.tmpfiles.d b/bind-chroot.tmpfiles.d index 002bf1b..ba13ee1 100644 --- a/bind-chroot.tmpfiles.d +++ b/bind-chroot.tmpfiles.d @@ -2,25 +2,31 @@ # TODO: these definitions are in different form in rpm spec %files chroot section # find a way to have it defined only once #defattr(0664,root,named,-) -c /var/named/chroot/dev/null 0664 root named 1:3 -c /var/named/chroot/dev/random 0664 root named 1:8 -c /var/named/chroot/dev/urandom 0664 root named 1:9 -c /var/named/chroot/dev/zero 0664 root named 1:5 +c /var/named/chroot/dev/null 0664 root named - 1:3 +c /var/named/chroot/dev/random 0664 root named - 1:8 +c /var/named/chroot/dev/urandom 0664 root named - 1:9 +c /var/named/chroot/dev/zero 0664 root named - 1:5 #defattr(0640,root,named,0750) d /var/named/chroot 0750 root named - d /var/named/chroot/dev 0750 root named - d /var/named/chroot/etc 0750 root named - d /var/named/chroot/etc/named 0750 root named - +d /var/named/chroot/etc/pki 0750 root named - d /var/named/chroot/etc/pki/dnssec-keys 0750 root named - +d /var/named/chroot/etc/crypto-policies 0750 root named - d /var/named/chroot/etc/crypto-policies/back-ends 0750 root named - d /var/named/chroot/var 0750 root named - d /var/named/chroot/run 0750 root named - #defattr(-,root,root,-) d /var/named/chroot/usr - root root - -d /var/named/chroot/lib64/bind - root root - +d /var/named/chroot/usr/lib64 - root root - +d /var/named/chroot/usr/lib64/bind - root root - d /var/named/chroot/usr/share/GeoIP - root root - d /var/named/chroot/usr/share/named - root root - d /var/named/chroot/proc - root root - +d /var/named/chroot/proc/sys - root root - +d /var/named/chroot/proc/sys/net - root root - +d /var/named/chroot/proc/sys/net/ipv4 - root root - #defattr(0660,root,named,01770) d /var/named/chroot/var/named 01770 root named - #defattr(0660,named,named,0770) @@ -28,4 +34,4 @@ d /var/named/chroot/var/tmp 0770 named named - d /var/named/chroot/var/log 0770 named named - #defattr(-,named,named,-) d /var/named/chroot/run/named - named named - -d /var/named/chroot/var/run - named named - +L /var/named/chroot/var/run - named named - ../run diff --git a/bind9.18.spec b/bind9.18.spec index 1db3e2c..a3d97a3 100644 --- a/bind9.18.spec +++ b/bind9.18.spec @@ -77,7 +77,7 @@ License: MPL-2.0 AND ISC AND MIT AND BSD-3-Clause AND BSD-2-Clause # ./lib/isc/tm.c BSD-2-clause and/or MPL-2.0 # ./lib/isccfg/parser.c BSD-2-clause and/or MPL-2.0 Version: 9.18.29 -Release: 9%{?dist} +Release: 10%{?dist} Epoch: 32 Url: https://www.isc.org/downloads/bind/ # @@ -1003,10 +1003,13 @@ fi; %endif %changelog +* Fri Dec 12 2025 Petr Menšík - 32:9.18.29-10 +- Add missing bind-chroot subdirectories + * Fri Dec 12 2025 Petr Menšík - 32:9.18.29-9 - Create /var/named directories for bind-chroot (RHEL-132053) -* Fri Oct 03 2025 Petr Menšík - 32:9.18.29-8 +* Fri Oct 31 2025 Petr Menšík - 32:9.18.29-8 - Copy named.* files from /usr/share/named into var/named * Fri Oct 31 2025 Petr Menšík - 32:9.18.29-7