From dabbc85b854187a055895187ef4d0bf890db4fa7 Mon Sep 17 00:00:00 2001 From: eaglegai Date: Tue, 5 Mar 2024 08:18:23 +0000 Subject: [PATCH] change ExecReload to fix reload failure (cherry picked from commit 75d3bdea47ba4e33d9285b527089c6202bf618d9) --- unbound.service | 2 +- unbound.spec | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/unbound.service b/unbound.service index 287fe8d..7fcacf7 100644 --- a/unbound.service +++ b/unbound.service @@ -13,7 +13,7 @@ EnvironmentFile=-/etc/sysconfig/unbound ExecStartPre=/usr/sbin/unbound-checkconf ExecStartPre=-/usr/sbin/unbound-anchor -a /var/lib/unbound/root.key -c /etc/unbound/icannbundle.pem -f /etc/resolv.conf -R ExecStart=/usr/sbin/unbound -d $UNBOUND_OPTIONS -ExecReload=/usr/sbin/unbound-control reload +ExecReload=+/bin/kill -HUP $MAINPID [Install] WantedBy=multi-user.target diff --git a/unbound.spec b/unbound.spec index ce01938..26edfff 100644 --- a/unbound.spec +++ b/unbound.spec @@ -2,7 +2,7 @@ Name: unbound Version: 1.13.2 -Release: 10 +Release: 11 Summary: Unbound is a validating, recursive, caching DNS resolver License: BSD Url: https://nlnetlabs.nl/projects/unbound/about/ @@ -244,6 +244,12 @@ popd %{_mandir}/man* %changelog +* Tue Mar 05 2024 gaihuiying - 1.13.2-11 +- Type:bugfix +- CVE:NA +- SUG:NA +- DESC:change ExecReload to fix reload failure + * Tue Feb 27 2024 gaihuiying - 1.13.2-10 - Type:cves - CVE:CVE-2024-1488 -- Gitee