From 234b2c55c3c5f7f2059e7158c68da06938516084 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Hor=C3=A1k?= Date: Mon, 28 Jan 2019 16:42:02 +0100 Subject: [PATCH] - create cpacfstats group needed by cpacfstatsd --- s390utils.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/s390utils.spec b/s390utils.spec index 10dea54..68ee618 100644 --- a/s390utils.spec +++ b/s390utils.spec @@ -4,7 +4,7 @@ Name: s390utils Summary: Utilities and daemons for IBM z Systems Group: System Environment/Base Version: 2.7.1 -Release: 2%{?dist} +Release: 3%{?dist} Epoch: 2 License: MIT ExclusiveArch: s390 s390x @@ -716,6 +716,7 @@ Group: System Environment/Base Requires(post): systemd Requires(preun): systemd Requires(postun): systemd +Requires(pre): shadow-utils BuildRequires: systemd %description cpacfstatsd @@ -731,6 +732,9 @@ and maintain CPACF activity counters. %postun cpacfstatsd %systemd_postun_with_restart cpacfstatsd.service +%pre cpacfstatsd +getent group cpacfstats >/dev/null || groupadd -r cpacfstats + %files cpacfstatsd %{_bindir}/cpacfstats %{_sbindir}/cpacfstatsd @@ -753,6 +757,9 @@ User-space development files for the s390/s390x architecture. %changelog +* Mon Jan 28 2019 Dan Horák - 2:2.7.1-3 +- create cpacfstats group needed by cpacfstatsd + * Thu Jan 10 2019 Dan Horák - 2:2.7.1-2 - load protected key support kernel module early on boot