diff --git a/qat-service-restorecon.patch b/qat-service-restorecon.patch new file mode 100644 index 0000000..4713500 --- /dev/null +++ b/qat-service-restorecon.patch @@ -0,0 +1,11 @@ +--- a/quickassist/utilities/service/qat.service.in 2023-03-01 19:19:59.000000000 +0100 ++++ b/quickassist/utilities/service/qat.service.in 2026-02-05 07:59:15.379502501 +0100 +@@ -44,6 +44,8 @@ RuntimeDirectoryMode=755 + Environment="POLICY=0" + EnvironmentFile=-/etc/sysconfig/qat + ExecStartPre=/bin/sh -c "test $(getent group qat)" ++# A workaround for RHEL-133797 and RHEL-133799 ++ExecStartPre=/bin/sh -c "restorecon /usr/lib/modules/$(uname -r)/modules.*" + ExecStartPre=@prefix@/sbin/qat_init.sh + ExecStart=@prefix@/sbin/qatmgr --policy=${POLICY} + diff --git a/qatlib.spec b/qatlib.spec index e468dce..62ab767 100644 --- a/qatlib.spec +++ b/qatlib.spec @@ -4,7 +4,7 @@ %global libusdm_soversion 0 Name: qatlib Version: 25.08.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Intel QuickAssist user space library # The entire source code is released under BSD. # For a breakdown of inbound licenses see the INSTALL file. @@ -16,6 +16,8 @@ Recommends: qatlib-service # https://bugzilla.redhat.com/show_bug.cgi?id=1897661 ExcludeArch: %{arm} aarch64 %{power64} s390x i686 riscv64 +Patch0: qat-service-restorecon.patch + %description Intel QuickAssist Technology (Intel QAT) provides hardware acceleration for offloading security, authentication and compression services from the @@ -138,6 +140,9 @@ install -m0644 -D qatlib.sysusers.conf %{buildroot}%{_sysusersdir}/qatlib.conf %{_mandir}/man8/qat_init.sh.8* %changelog +* Mon Feb 02 2026 Vladislav Dronov - 25.08.0-2 +- Add a fix for a depmod issue (RHEL-91079) + * Thu Jan 22 2026 Vladislav Dronov - 25.08.0-1 - Update to qatlib 25.08.0 @ 686d209b (RHEL-91079) - Add autoconf-archive as a dependency