diff --git a/harden_tpm2-abrmd.service.patch b/harden_tpm2-abrmd.service.patch index 7720a35..a0cf1c5 100644 --- a/harden_tpm2-abrmd.service.patch +++ b/harden_tpm2-abrmd.service.patch @@ -1,7 +1,7 @@ -Index: tpm2-abrmd-2.4.0/dist/tpm2-abrmd.service.in +Index: tpm2-abrmd-3.0.0/dist/tpm2-abrmd.service.in =================================================================== ---- tpm2-abrmd-2.4.0.orig/dist/tpm2-abrmd.service.in -+++ tpm2-abrmd-2.4.0/dist/tpm2-abrmd.service.in +--- tpm2-abrmd-3.0.0.orig/dist/tpm2-abrmd.service.in ++++ tpm2-abrmd-3.0.0/dist/tpm2-abrmd.service.in @@ -6,6 +6,17 @@ After=dev-tpm0.device Requires=dev-tpm0.device @@ -20,3 +20,16 @@ Index: tpm2-abrmd-2.4.0/dist/tpm2-abrmd.service.in Type=dbus BusName=com.intel.tss2.Tabrmd ExecStart=@SBINDIR@/tpm2-abrmd +Index: tpm2-abrmd-3.0.0/selinux/tabrmd.te +=================================================================== +--- tpm2-abrmd-3.0.0.orig/selinux/tabrmd.te ++++ tpm2-abrmd-3.0.0/selinux/tabrmd.te +@@ -9,7 +9,7 @@ gen_tunable(`tabrmd_connect_all_unreserv + + type tabrmd_t; + type tabrmd_exec_t; +-init_daemon_domain(tabrmd_t, tabrmd_exec_t) ++init_nnp_daemon_domain(tabrmd_t, tabrmd_exec_t) + + allow tabrmd_t self:unix_dgram_socket { create_socket_perms }; + diff --git a/tpm2.0-abrmd.changes b/tpm2.0-abrmd.changes index cb861a8..32923e2 100644 --- a/tpm2.0-abrmd.changes +++ b/tpm2.0-abrmd.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Aug 1 09:39:15 UTC 2024 - Johannes Segitz + +- Update harden_tpm2-abrmd.service.patch to contain necessary SELinux + changes (bsc#1209831) + ------------------------------------------------------------------- Tue May 23 12:31:21 UTC 2023 - Alberto Planas Dominguez diff --git a/tpm2.0-abrmd.spec b/tpm2.0-abrmd.spec index 3062bc9..8e07b0b 100644 --- a/tpm2.0-abrmd.spec +++ b/tpm2.0-abrmd.spec @@ -1,7 +1,7 @@ # # spec file for package tpm2.0-abrmd # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed