From f6e420f73602db3f8e33a8e8135c95e6a75b62b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 1 Mar 2024 22:55:20 +0100 Subject: [PATCH] Sync from SUSE:ALP:Source:Standard:1.0 cockpit revision ade3c2109dc91778220be32b6bb93871 --- cockpit.changes | 6 ++++++ selinux_libdir.patch | 7 +++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/cockpit.changes b/cockpit.changes index d170ebe..a6cf4f4 100644 --- a/cockpit.changes +++ b/cockpit.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Feb 28 16:00:00 UTC 2024 - Cathy Hu + +- Remove SELinux file context for /usr/bin/cockpit-bridge, this + is already defined in the main selinux-policy package (bsc#1220385). + ------------------------------------------------------------------- Thu Feb 15 12:21:55 UTC 2024 - Adam Majer diff --git a/selinux_libdir.patch b/selinux_libdir.patch index 3b8ba31..5f74f3e 100644 --- a/selinux_libdir.patch +++ b/selinux_libdir.patch @@ -1,6 +1,6 @@ ---- selinux_bak/cockpit.fc 2023-09-11 15:16:38.603758530 +0200 -+++ selinux/cockpit.fc 2023-09-12 09:03:09.539025240 +0200 -@@ -2,11 +2,25 @@ +--- selinux_bak/cockpit.fc 2024-02-28 13:34:16.748028079 +0100 ++++ selinux/cockpit.fc 2024-02-28 13:35:10.425549063 +0100 +@@ -2,11 +2,24 @@ /etc/systemd/system/cockpit.* -- gen_context(system_u:object_r:cockpit_unit_file_t,s0) /usr/libexec/cockpit-ws -- gen_context(system_u:object_r:cockpit_ws_exec_t,s0) @@ -11,7 +11,6 @@ +/usr/lib/cockpit-wsinstance-factory -- gen_context(system_u:object_r:cockpit_ws_exec_t,s0) + +# missing libexec transition on SLE Micro -+/usr/bin/cockpit-bridge -- gen_context(system_u:object_r:bin_t,s0) +/usr/lib/cockpit-askpass -- gen_context(system_u:object_r:bin_t,s0) +/usr/lib/cockpit-certificate-ensure -- gen_context(system_u:object_r:bin_t,s0) +/usr/lib/cockpit-certificate-helper -- gen_context(system_u:object_r:bin_t,s0)