From 103776cf2fea23c9ede378f5448ca98c77e60a66 Mon Sep 17 00:00:00 2001 From: Steve Grubb Date: Tue, 9 Apr 2019 19:26:53 +0200 Subject: [PATCH] Fixed 1698130 - removing audit.rpm doesn't stop auditd --- audit.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/audit.spec b/audit.spec index 97d56a4..bdbdcdb 100644 --- a/audit.spec +++ b/audit.spec @@ -3,7 +3,7 @@ Summary: User space tools for 2.6 kernel auditing Name: audit Version: 3.0 -Release: 0.7.20190326git03e7489%{?dist} +Release: 0.8.20190326git03e7489%{?dist} License: GPLv2+ URL: http://people.redhat.com/sgrubb/audit/ Source0: http://people.redhat.com/sgrubb/audit/%{name}-%{version}-alpha7.tar.gz @@ -163,6 +163,9 @@ fi %preun %systemd_preun auditd.service +if [ $1 -eq 0 ]; then + /sbin/service auditd stop > /dev/null 2>&1 +fi %postun if [ $1 -ge 1 ]; then @@ -264,6 +267,9 @@ fi %attr(750,root,root) /sbin/audispd-zos-remote %changelog +* Tue Apr 09 2019 Steve Grubb 3.0-0.8.20190326git03e7489 +- Fixed 1698130 - removing audit.rpm doesn't stop auditd + * Tue Mar 26 2019 Steve Grubb 3.0-0.7.20190326git03e7489 - New upstream git snapshot prerelease which fixes a memory leak