From 65b2913874e1884ab3b7bc35fbc92380a7fca77c Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Sat, 25 Mar 2023 20:20:30 +0100 Subject: [PATCH] unbound: Create missing directory for root anchor Signed-off-by: Stefan Schantl --- unbound/unbound.nm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/unbound/unbound.nm b/unbound/unbound.nm index daba56558..dee396f5d 100644 --- a/unbound/unbound.nm +++ b/unbound/unbound.nm @@ -5,7 +5,7 @@ name = unbound version = 1.17.0 -release = 3 +release = 4 groups = System/Daemons url = https://www.nlnetlabs.nl/unbound/ @@ -62,6 +62,9 @@ build # Directory for trusted-keys-file. mkdir -pv %{BUILDROOT}%{sysconfdir}/%{name}/keys.d/ + # Directory for the root anchor. + mkdir -pv %{BUILDROOT}%{sharedstatedir}/%{name} + # Install unbound config file. install -p -m 0664 %{DIR_SOURCE}/%{name}.conf \ %{BUILDROOT}%{sysconfdir}/%{name}/ -- 2.47.3