Auditd is stopping during upgrade (bz 2259610)

This commit is contained in:
Steve Grubb 2024-01-24 12:57:57 -05:00
parent 12a69cde63
commit c8094c553d

View File

@ -2,7 +2,7 @@
Summary: User space tools for kernel auditing Summary: User space tools for kernel auditing
Name: audit Name: audit
Version: 4.0 Version: 4.0
Release: 4%{?dist} Release: 5%{?dist}
License: GPL-2.0-or-later AND LGPL-2.0-or-later License: GPL-2.0-or-later AND LGPL-2.0-or-later
URL: http://people.redhat.com/sgrubb/audit/ URL: http://people.redhat.com/sgrubb/audit/
Source0: http://people.redhat.com/sgrubb/audit/%{name}-%{version}.tar.gz Source0: http://people.redhat.com/sgrubb/audit/%{name}-%{version}.tar.gz
@ -170,7 +170,7 @@ if [ "$files" -eq 0 ] ; then
# Fix up permissions # Fix up permissions
chmod 0600 /etc/audit/rules.d/audit.rules chmod 0600 /etc/audit/rules.d/audit.rules
# Make the new rules active # Make the new rules active
augenrules --load augenrules --load || true
fi fi
%preun %preun
@ -184,7 +184,7 @@ fi
%systemd_preun audit-rules.service %systemd_preun audit-rules.service
# If uninstalling, delete the rules loaded in the kernel # If uninstalling, delete the rules loaded in the kernel
if [ $1 -eq 0 ]; then if [ $1 -eq 0 ]; then
auditctl -D > /dev/null 2>&1 auditctl -D > /dev/null 2>&1 || true
fi fi
%files libs %files libs
@ -286,7 +286,7 @@ fi
%attr(750,root,root) %{_sbindir}/audispd-zos-remote %attr(750,root,root) %{_sbindir}/audispd-zos-remote
%changelog %changelog
* Wed Jan 24 2024 Steve Grubb <sgrubb@redhat.com> 4.0-4 * Wed Jan 24 2024 Steve Grubb <sgrubb@redhat.com> 4.0-5
- Auditd is stopping during upgrade (bz 2259610) - Auditd is stopping during upgrade (bz 2259610)
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.0-3 * Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.0-3