From f9776e07845a193249ada725f11ca0d04e889be2 Mon Sep 17 00:00:00 2001 From: renmingshuai Date: Thu, 9 Feb 2023 20:14:36 +0800 Subject: [PATCH] bind:fix output expected information when install bing-sdborbind-sdb-chroot (cherry picked from commit 5a71811b7821dffc39409d0ca4241340c5de5b07) --- bind.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/bind.spec b/bind.spec index 4819397..9d1fc54 100644 --- a/bind.spec +++ b/bind.spec @@ -30,7 +30,7 @@ Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv Name: bind License: MPLv2.0 Version: 9.16.23 -Release: 14 +Release: 15 Epoch: 32 Url: https://www.isc.org/downloads/bind/ # @@ -915,7 +915,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" ]; \ + if [ -e "$DEV" ] && [ "$(/bin/stat --printf="%G %a" "$DEV")" = "root 644" ]; \ then \ /bin/chmod 0664 "$DEV" \ /bin/chgrp named "$DEV" \ @@ -1188,6 +1188,12 @@ fi; %endif %changelog +* Thu Feb 09 2023 zhanghao - 32:9.16.23-15 +- Type:bugfix +- CVE:NA +- SUG:NA +- DESC:fix output expected information when install bing-sdborbind-sdb-chroot + * Fri Feb 03 2023 zhanghao - 32:9.16.23-14 - Type:CVE - CVE:CVE-2022-3736 CVE-2022-3924 CVE-2022-3094 -- Gitee