forked from cockpit/cockpit
Adam Majer
7645ad081d
- Port SLE selinux bug fix from SLE Micro 5.5 * Copied selinux_libdir.patch from SLEM package OBS-URL: https://build.opensuse.org/request/show/1112609 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:cockpit/cockpit?expand=0&rev=147
29 lines
1.7 KiB
Diff
29 lines
1.7 KiB
Diff
--- 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 @@
|
|
/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)
|
|
+
|
|
+# 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)
|
|
+/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/lib/cockpit-pcp -- 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)
|
|
/usr/libexec/cockpit-ssh -- gen_context(system_u:object_r:cockpit_session_exec_t,s0)
|
|
+/usr/lib/cockpit-ssh -- gen_context(system_u:object_r:cockpit_session_exec_t,s0)
|
|
|
|
/usr/share/cockpit/motd/update-motd -- gen_context(system_u:object_r:cockpit_ws_exec_t,s0)
|
|
|