bind:fix output expected information when install bing-sdborbind-sdb-chroot

(cherry picked from commit 5a71811b7821dffc39409d0ca4241340c5de5b07)
This commit is contained in:
renmingshuai 2023-02-09 20:14:36 +08:00 committed by openeuler-sync-bot
parent 6dac95cbc4
commit 52f85aaf2a

View File

@ -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<zhanghao383@huawei.com> - 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<zhanghao383@huawei.com> - 32:9.16.23-14
- Type:CVE
- CVE:CVE-2022-3736 CVE-2022-3924 CVE-2022-3094