diff --git a/audit.spec b/audit.spec index ed80ab1..94a43a4 100644 --- a/audit.spec +++ b/audit.spec @@ -2,7 +2,7 @@ Summary: User space tools for kernel auditing Name: audit Version: 3.1.5 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ URL: http://people.redhat.com/sgrubb/audit/ Source0: http://people.redhat.com/sgrubb/audit/%{name}-%{version}.tar.gz @@ -155,6 +155,10 @@ rm -f rules/Makefile* %post %systemd_post auditd.service +# Do not perform service start/restart when running during an rpm-ostree compose +if [ -f /run/ostree-booted ] ; then + exit 0 +fi # Copy default rules into place on new installation files=`ls /etc/audit/rules.d/ 2>/dev/null | wc -w` @@ -288,6 +292,10 @@ fi %attr(750,root,root) %{_sbindir}/audispd-zos-remote %changelog +* Mon Feb 03 2025 Attila Lakatos - 3.1.5-3 +- Don't do "live" operations during rpm-ostree composes + Resolves: RHEL-69033 + * Wed Jan 08 2025 Attila Lakatos - 3.1.5-2 - Disable ProtectKernelModules=true in service file Resolves: RHEL-59570