From 688db3e9c2304bc133138887b4722449021ca51e Mon Sep 17 00:00:00 2001 From: eaglegai Date: Fri, 6 Nov 2020 11:50:36 +0800 Subject: [PATCH] fix output unexpected information when install bind-sdb or bind-sdb-chroot --- bind.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/bind.spec b/bind.spec index 8f0f69e..b4b447b 100644 --- a/bind.spec +++ b/bind.spec @@ -21,7 +21,7 @@ Name: bind Summary: Domain Name System (DNS) Server (named) License: MPLv2.0 Version: 9.11.21 -Release: 2 +Release: 3 Epoch: 32 Url: http://www.isc.org/products/BIND/ Source0: https://ftp.isc.org/isc/bind9/9.11.21/bind-%{version}.tar.gz @@ -840,7 +840,7 @@ fi %define chroot_fix_devices() \ if [ $1 -gt 1 ]; then \ for DEV in "%{1}/dev"/{null,random,zero}; do \ - if [ -e "$DEV" -a "$(/bin/stat --printf="%G %a" "$DEV")" = "root 644" ]; then \ + if [ -e "$DEV" ] && [ "$(/bin/stat --printf="%G %a" "$DEV")" = "root 644" ]; then \ /bin/chmod 0664 "$DEV" \ /bin/chgrp named "$DEV" \ fi \ @@ -1185,6 +1185,12 @@ rm -rf ${RPM_BUILD_ROOT} %changelog +* Fri Nov 06 2020 gaihuiying - 9.11.21-3 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:fix output unexpected information when install bind-sdb or bind-sdb-chroot + * Tue Sep 22 2020 lunankun - 9.11.21-2 - Type:CVE - ID:CVE-2020-8622CVE-2020-8623 CVE-2020-8624 -- Gitee