diff --git a/.gitignore b/.gitignore index 1c0a9ce..8ecda15 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/tpm2-abrmd-2.1.0.tar.gz +/tpm2-abrmd-*.tar.gz diff --git a/selinux-allow-fwupd-to-communicate-with-tpm2-abrmd.patch b/selinux-allow-fwupd-to-communicate-with-tpm2-abrmd.patch index bfc5f3c..8b956b8 100644 --- a/selinux-allow-fwupd-to-communicate-with-tpm2-abrmd.patch +++ b/selinux-allow-fwupd-to-communicate-with-tpm2-abrmd.patch @@ -1,6 +1,6 @@ -From f987783e67829394f4da7fe44d6b30bf22869bba Mon Sep 17 00:00:00 2001 +From 0bb388cc57231cb46f5bfa1a52425588fa149e89 Mon Sep 17 00:00:00 2001 From: Javier Martinez Canillas -Date: Fri, 8 Mar 2019 12:44:16 +0100 +Date: Wed, 12 Feb 2020 13:48:29 +0100 Subject: [PATCH] selinux: allow fwupd to communicate with tpm2-abrmd In Fedora, we have the following SELinux AVC error: @@ -15,16 +15,17 @@ Signed-off-by: Javier Martinez Canillas 1 file changed, 1 insertion(+) diff --git a/selinux/tabrmd.te b/selinux/tabrmd.te -index 5f04fc4686b..a6326f659c5 100644 +index 59d7e548051..8996a46a0ea 100644 --- a/selinux/tabrmd.te +++ b/selinux/tabrmd.te -@@ -18,5 +18,6 @@ optional_policy(` +@@ -21,6 +21,7 @@ optional_policy(` dbus_stub() dbus_system_domain(tabrmd_t, tabrmd_exec_t) allow system_dbusd_t tabrmd_t:unix_stream_socket rw_stream_socket_perms; + fwupd_dbus_chat(tabrmd_t) ') + tunable_policy(`tabrmd_connect_all_unreserved',` -- -2.20.1 +2.24.1 diff --git a/sources b/sources index 674713d..6dd440b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (tpm2-abrmd-2.1.0.tar.gz) = a372f1aa5e560a935d6d1641fcb6e352b25beb00f74708559a4925dc3197684201c87473c4c49c5eb527a83632837a7a4525118e9799c2c159c943169a0dc69a +SHA512 (tpm2-abrmd-2.3.1.tar.gz) = 144ab2b147cd18f892f3c05181efdbed2ac422fe8507eb42871ffe571340b6395431743a4f1995a7ce7a914fd5e7afd2b17328062c893a0403708c2c4d92e0cb diff --git a/tpm2-abrmd-selinux-1.3.1-1.fc29.src.rpm b/tpm2-abrmd-selinux-1.3.1-1.fc29.src.rpm deleted file mode 100644 index 336c60e..0000000 Binary files a/tpm2-abrmd-selinux-1.3.1-1.fc29.src.rpm and /dev/null differ diff --git a/tpm2-abrmd-selinux.spec b/tpm2-abrmd-selinux.spec index cf2816a..a16b0f4 100644 --- a/tpm2-abrmd-selinux.spec +++ b/tpm2-abrmd-selinux.spec @@ -5,8 +5,8 @@ %global modulename tabrmd Name: tpm2-abrmd-selinux -Version: 2.1.0 -Release: 4%{?dist} +Version: 2.3.1 +Release: 1%{?dist} Summary: SELinux policies for tpm2-abrmd License: BSD @@ -74,6 +74,9 @@ fi %{_datadir}/selinux/devel/include/%{moduletype}/%{modulename}.if %changelog +* Wed Feb 12 2020 Javier Martinez Canillas - 2.3.1-1 +- Update to 2.3.1 release + * Fri Jan 31 2020 Fedora Release Engineering - 2.1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild