Don't do "live" operations during rpm-ostree composes
Resolves: RHEL-69033
This commit is contained in:
parent
ff70a3750e
commit
1a3c53f35b
10
audit.spec
10
audit.spec
@ -2,7 +2,7 @@
|
|||||||
Summary: User space tools for kernel auditing
|
Summary: User space tools for kernel auditing
|
||||||
Name: audit
|
Name: audit
|
||||||
Version: 3.1.5
|
Version: 3.1.5
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
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
|
||||||
@ -155,6 +155,10 @@ rm -f rules/Makefile*
|
|||||||
|
|
||||||
%post
|
%post
|
||||||
%systemd_post auditd.service
|
%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
|
# Copy default rules into place on new installation
|
||||||
files=`ls /etc/audit/rules.d/ 2>/dev/null | wc -w`
|
files=`ls /etc/audit/rules.d/ 2>/dev/null | wc -w`
|
||||||
@ -288,6 +292,10 @@ fi
|
|||||||
%attr(750,root,root) %{_sbindir}/audispd-zos-remote
|
%attr(750,root,root) %{_sbindir}/audispd-zos-remote
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Feb 03 2025 Attila Lakatos <alakatos@redhat.com> - 3.1.5-3
|
||||||
|
- Don't do "live" operations during rpm-ostree composes
|
||||||
|
Resolves: RHEL-69033
|
||||||
|
|
||||||
* Wed Jan 08 2025 Attila Lakatos <alakatos@redhat.com> - 3.1.5-2
|
* Wed Jan 08 2025 Attila Lakatos <alakatos@redhat.com> - 3.1.5-2
|
||||||
- Disable ProtectKernelModules=true in service file
|
- Disable ProtectKernelModules=true in service file
|
||||||
Resolves: RHEL-59570
|
Resolves: RHEL-59570
|
||||||
|
Loading…
Reference in New Issue
Block a user