From 2b640c85f833618e67f3b412d3a5b88f4518c34b Mon Sep 17 00:00:00 2001 From: Paul Wouters Date: Tue, 13 Apr 2021 11:33:09 -0400 Subject: [PATCH] - Fix unbound.service to use After=network-online.target --- unbound.service | 2 +- unbound.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/unbound.service b/unbound.service index 49dc7bd..c59ffbf 100644 --- a/unbound.service +++ b/unbound.service @@ -1,6 +1,6 @@ [Unit] Description=Unbound recursive Domain Name Server -After=network.target +After=network-online.target After=unbound-keygen.service Wants=unbound-keygen.service Wants=unbound-anchor.timer diff --git a/unbound.spec b/unbound.spec index 4811f69..044c2b7 100644 --- a/unbound.spec +++ b/unbound.spec @@ -37,7 +37,7 @@ Summary: Validating, recursive, and caching DNS(SEC) resolver Name: unbound Version: 1.13.1 -Release: 4%{?extra_version:.%{extra_version}}%{?dist} +Release: 5%{?extra_version:.%{extra_version}}%{?dist} License: BSD Url: https://nlnetlabs.nl/projects/unbound/ Source: https://nlnetlabs.nl/downloads/%{name}/%{name}-%{version}%{?extra_version}.tar.gz @@ -462,6 +462,9 @@ popd %attr(0644,root,root) %config %{_sysconfdir}/%{name}/root.key %changelog +* Tue Apr 13 2021 Paul Wouters - 1.13.1-5 +- Fix unbound.service to use After=network-online.target + * Tue Apr 06 2021 Artem Egorenkov - 1.13.1-4 - Don't start unbound-anchor before unbound service if DISABLE_UNBOUND_ANCHOR environment variable equals to "yes"