From 3d2d297e67e32b5ce4c2914cc64169fd0be4ace0 Mon Sep 17 00:00:00 2001 From: Sergio Correia Date: Wed, 8 Nov 2023 09:14:33 +0000 Subject: [PATCH] Remove %systemd_preun from %preun scriptlet As it was causing troubles when removing audit. Related: RHEL-14896 Signed-off-by: Sergio Correia --- audit.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/audit.spec b/audit.spec index ff03beb..fc7a275 100644 --- a/audit.spec +++ b/audit.spec @@ -2,7 +2,7 @@ Summary: User space tools for kernel auditing Name: audit Version: 3.1.2 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ URL: http://people.redhat.com/sgrubb/audit/ Source0: http://people.redhat.com/sgrubb/audit/%{name}-%{version}.tar.gz @@ -154,7 +154,6 @@ fi %systemd_post auditd.service %preun -%systemd_preun auditd.service if [ $1 -eq 0 ]; then /sbin/service auditd stop > /dev/null 2>&1 fi @@ -263,6 +262,10 @@ fi %attr(750,root,root) %{_sbindir}/audispd-zos-remote %changelog +* Wed Nov 08 2023 Sergio Correia - 3.1.2-2 +- Remove %systemd_preun from %preun scriptlet, as it was causing troubles when removing audit + Related: RHEL-14896 + * Fri Oct 27 2023 Sergio Correia - 3.1.2-1 - New upstream release, 3.1.2 Resolves: RHEL-14896