Accepting request 1193691 from security

- Fix SELinux sbin/bin merge (bsc#1229047)
  1229047-fix-bin-sbin-selinux.patch
  Can be dropped once https://github.com/tpm2-software/tpm2-abrmd/pull/846
  is merged upstream (forwarded request 1193685 from cahu)

OBS-URL: https://build.opensuse.org/request/show/1193691
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tpm2.0-abrmd?expand=0&rev=27
This commit is contained in:
Dominique Leuenberger 2024-08-14 12:13:54 +00:00 committed by Git OBS Bridge
commit cd398a7cbe
3 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,8 @@
Index: tpm2-abrmd-3.0.0/selinux/tabrmd.fc
===================================================================
--- tpm2-abrmd-3.0.0.orig/selinux/tabrmd.fc
+++ tpm2-abrmd-3.0.0/selinux/tabrmd.fc
@@ -1,2 +1,3 @@
+/usr/bin/tpm2-abrmd -- gen_context(system_u:object_r:tabrmd_exec_t,s0)
/usr/sbin/tpm2-abrmd -- gen_context(system_u:object_r:tabrmd_exec_t,s0)
/usr/local/sbin/tpm2-abrmd -- gen_context(system_u:object_r:tabrmd_exec_t,s0)

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Aug 13 08:52:59 UTC 2024 - Cathy Hu <cathy.hu@suse.com>
- Fix SELinux sbin/bin merge (bsc#1229047)
1229047-fix-bin-sbin-selinux.patch
Can be dropped once https://github.com/tpm2-software/tpm2-abrmd/pull/846
is merged upstream
-------------------------------------------------------------------
Thu Aug 1 09:39:15 UTC 2024 - Johannes Segitz <jsegitz@suse.com>

View File

@ -43,6 +43,7 @@ Source2: tpm2-abrmd.keyring
Source3: tpm2.0-abrmd.rpmlintrc
Source4: README.SUSE
Patch0: harden_tpm2-abrmd.service.patch
Patch1: 1229047-fix-bin-sbin-selinux.patch
BuildRequires: autoconf-archive
BuildRequires: automake
BuildRequires: checkpolicy