diff --git a/unbound.service b/unbound.service index 287fe8dc7b9d632e9fdee387bf5dcd0c179483b8..7fcacf7267aa2781e0e370523ddcbbe9a518c61a 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 30fd1c433ea864ac8a98463d0c0cc2270a259fa0..b8aa00ca343e518c9c4faee6137afab98273141d 100644 --- a/unbound.spec +++ b/unbound.spec @@ -2,7 +2,7 @@ Name: unbound Version: 1.11.0 -Release: 11 +Release: 12 Summary: Unbound is a validating, recursive, caching DNS resolver License: BSD Url: https://nlnetlabs.nl/projects/unbound/about/ @@ -232,6 +232,12 @@ popd %{_mandir}/man* %changelog +* Tue Mar 05 2024 gaihuiying - 1.11.0-12 +- Type:bugfix +- CVE:NA +- SUG:NA +- DESC:change ExecReload to fix reload failure + * Fri Mar 01 2024 gaihuiying - 1.11.0-11 - Type:bugfix - CVE:NA