bind:fix output expected information when install bing-sdborbind-sdb-chroot
This commit is contained in:
parent
1097df008e
commit
d334366f8a
10
bind.spec
10
bind.spec
@ -30,7 +30,7 @@ Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv
|
|||||||
Name: bind
|
Name: bind
|
||||||
License: MPLv2.0
|
License: MPLv2.0
|
||||||
Version: 9.16.37
|
Version: 9.16.37
|
||||||
Release: 1
|
Release: 2
|
||||||
Epoch: 32
|
Epoch: 32
|
||||||
Url: https://www.isc.org/downloads/bind/
|
Url: https://www.isc.org/downloads/bind/
|
||||||
#
|
#
|
||||||
@ -813,7 +813,7 @@ fi
|
|||||||
%define chroot_fix_devices() \
|
%define chroot_fix_devices() \
|
||||||
if [ $1 -gt 1 ]; then \
|
if [ $1 -gt 1 ]; then \
|
||||||
for DEV in "%{1}/dev"/{null,random,zero}; do \
|
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 \
|
then \
|
||||||
/bin/chmod 0664 "$DEV" \
|
/bin/chmod 0664 "$DEV" \
|
||||||
/bin/chgrp named "$DEV" \
|
/bin/chgrp named "$DEV" \
|
||||||
@ -1086,6 +1086,12 @@ fi;
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Feb 09 2023 zhanghao<zhanghao383@huawei.com> - 32:9.16.37-2
|
||||||
|
- Type:bugfix
|
||||||
|
- CVE:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:fix output expected information when install bing-sdborbind-sdb-chroot
|
||||||
|
|
||||||
* Tue Feb 07 2023 zhanghao<zhanghao383@huawei.com> - 32:9.16.37-1
|
* Tue Feb 07 2023 zhanghao<zhanghao383@huawei.com> - 32:9.16.37-1
|
||||||
- Type:requirement
|
- Type:requirement
|
||||||
- CVE:NA
|
- CVE:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user