From e70e0f040e080a233ddb2cb5e60c88ceca9e9e82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= Date: Thu, 1 Dec 2022 17:05:37 +0100 Subject: [PATCH] Move unbound user creation to libs (#2149036) libs contains also few key anchor owned by unbound user. It needs to be created also for unbound-libs, which is required by all other packages. --- unbound.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/unbound.spec b/unbound.spec index bda025e..1303e48 100644 --- a/unbound.spec +++ b/unbound.spec @@ -30,7 +30,7 @@ Summary: Validating, recursive, and caching DNS(SEC) resolver Name: unbound Version: 1.17.0 -Release: 1%{?extra_version:.%{extra_version}}%{?dist} +Release: 2%{?extra_version:.%{extra_version}}%{?dist} License: BSD-3-Clause Url: https://nlnetlabs.nl/projects/unbound/ Source: https://nlnetlabs.nl/downloads/%{name}/%{name}-%{version}%{?extra_version}.tar.gz @@ -341,7 +341,7 @@ install -p %{SOURCE11} %{buildroot}%{_sysconfdir}/unbound/local.d/ echo ".so man8/unbound-control.8" > %{buildroot}/%{_mandir}/man8/unbound-control-setup.8 -%pre anchor +%pre libs getent group unbound >/dev/null || groupadd -r unbound getent passwd unbound >/dev/null || \ useradd -r -g unbound -d %{_sysconfdir}/unbound -s /sbin/nologin \ @@ -474,6 +474,9 @@ popd %{_mandir}/man1/unbound-* %changelog +* Thu Dec 01 2022 Petr Menšík - 1.17.0-2 +- Move unbound user creation to libs (#2149036) + * Tue Nov 01 2022 Petr Menšík - 1.17.0-1 - Update to 1.17.0 (#2134348)