1
0
forked from cockpit/cockpit
Files
cockpit/selinux_libdir.patch

27 lines
1.5 KiB
Diff
Raw Permalink Normal View History

2024-12-03 12:14:18 +05:30
diff --git a/selinux/cockpit.fc b/selinux/cockpit.fc
2025-02-07 09:08:25 +00:00
index 9fd56a0..17f420f 100644
2024-12-03 12:14:18 +05:30
--- a/selinux/cockpit.fc
+++ b/selinux/cockpit.fc
@@ -2,10 +2,21 @@
/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)
+/usr/lib/cockpit-ws -- gen_context(system_u:object_r:cockpit_ws_exec_t,s0)
/usr/libexec/cockpit-tls -- gen_context(system_u:object_r:cockpit_ws_exec_t,s0)
+/usr/lib/cockpit-tls -- gen_context(system_u:object_r:cockpit_ws_exec_t,s0)
/usr/libexec/cockpit-wsinstance-factory -- gen_context(system_u:object_r:cockpit_ws_exec_t,s0)
+/usr/lib/cockpit-wsinstance-factory -- gen_context(system_u:object_r:cockpit_ws_exec_t,s0)
+
2025-02-07 09:08:25 +00:00
+# missing libexec transition on SLE Micro
+/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)
+/usr/lib/cockpit-client -- gen_context(system_u:object_r:bin_t,s0)
+/usr/lib/cockpit-desktop -- gen_context(system_u:object_r:bin_t,s0)
/usr/libexec/cockpit-session -- gen_context(system_u:object_r:cockpit_session_exec_t,s0)
+/usr/lib/cockpit-session -- gen_context(system_u:object_r:cockpit_session_exec_t,s0)
2025-02-07 09:08:25 +00:00
/usr/share/cockpit/issue/update-issue -- gen_context(system_u:object_r:shell_exec_t,s0)