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

This commit is contained in:
renmingshuai 2023-02-09 21:33:46 +08:00
parent 6475dafe93
commit 37b82b9ba8

View File

@ -19,7 +19,7 @@ Name: bind
Summary: Domain Name System (DNS) Server (named)
License: MPLv2.0
Version: 9.11.21
Release: 14
Release: 15
Epoch: 32
Url: http://www.isc.org/products/BIND/
Source0: https://ftp.isc.org/isc/bind9/9.11.21/bind-%{version}.tar.gz
@ -972,7 +972,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 \
@ -1300,6 +1300,12 @@ rm -rf ${RPM_BUILD_ROOT}
%changelog
* Thu Feb 09 2023 zhanghao <zhanghao383@huawei.com> - 32:9.11.21-15
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:fix output expected information when install bing-sdborbind-sdb-chroot
* Tue Oct 11 2022 huangyu <huangyu106@huawei.com> - 32:9.11.21-14
- Type:CVE
- ID:CVE-2022-2906 CVE-2022-38177 CVE-2022-38178 CVE-2022-2795 CVE-2022-2881