Remove %systemd_preun from %preun scriptlet
As it was causing troubles when removing audit. Related: RHEL-14896 Signed-off-by: Sergio Correia <scorreia@redhat.com>
This commit is contained in:
parent
568c9abb5f
commit
3d2d297e67
@ -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 <scorreia@redhat.com> - 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 <scorreia@redhat.com> - 3.1.2-1
|
||||
- New upstream release, 3.1.2
|
||||
Resolves: RHEL-14896
|
||||
|
Loading…
Reference in New Issue
Block a user