!106 修复bind包安装卸载及启动问题

From: @jiangheng12 
Reviewed-by: @zengwefeng 
Signed-off-by: @zengwefeng
This commit is contained in:
openeuler-ci-bot 2022-07-29 02:00:32 +00:00 committed by Gitee
commit b5303d01f8
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 11 additions and 2 deletions

View File

@ -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.23 Version: 9.16.23
Release: 5 Release: 6
Epoch: 32 Epoch: 32
Url: https://www.isc.org/downloads/bind/ Url: https://www.isc.org/downloads/bind/
# #
@ -89,6 +89,7 @@ Requires: shadow-utils
Requires: glibc-common Requires: glibc-common
Requires: grep Requires: grep
Requires: bind-libs%{?_isa} = %{epoch}:%{version}-%{release} Requires: bind-libs%{?_isa} = %{epoch}:%{version}-%{release}
Requires: systemd
# This wild require should satisfy %%selinux_set_boolean macro only # This wild require should satisfy %%selinux_set_boolean macro only
# in case it needs to be used # in case it needs to be used
Requires: policycoreutils-python-utils libselinux-utils Requires: policycoreutils-python-utils libselinux-utils
@ -104,6 +105,8 @@ BuildRequires: python3-devel
BuildRequires: python3-ply BuildRequires: python3-ply
BuildRequires: findutils sed BuildRequires: findutils sed
BuildRequires: libuv-devel BuildRequires: libuv-devel
BuildRequires: systemd
BuildRequires: libnsl2
%if %{with DLZ} %if %{with DLZ}
BuildRequires: openldap-devel, libpq-devel, sqlite-devel, mariadb-connector-c-devel BuildRequires: openldap-devel, libpq-devel, sqlite-devel, mariadb-connector-c-devel
%endif %endif
@ -1099,6 +1102,13 @@ fi;
%endif %endif
%changelog %changelog
* Mon Jul 25 2022 jiangheng<jiangheng14@huawei.com> - 32:9.16.23-6
- Type:bugfix
- CVE:
- SUG:NA
- DESC:add missing dependencies
remove geopip-directory in named.conf
* Mon Jun 13 2022 jiangheng<jiangheng14@huawei.com> - 9.16.23-5 * Mon Jun 13 2022 jiangheng<jiangheng14@huawei.com> - 9.16.23-5
- Type:bugfix - Type:bugfix
- CVE: - CVE:

View File

@ -33,7 +33,6 @@ options {
dnssec-validation yes; dnssec-validation yes;
managed-keys-directory "/var/named/dynamic"; managed-keys-directory "/var/named/dynamic";
geoip-directory "/usr/share/GeoIP";
pid-file "/run/named/named.pid"; pid-file "/run/named/named.pid";
session-keyfile "/run/named/session.key"; session-keyfile "/run/named/session.key";