forked from pool/selinux-policy
72477b3ac5
- Update to version 20210716 - Remove interfaces for container module before building the package (bsc#1188184) - Updated * fix_init.patch * fix_systemd_watch.patch to adapt to upstream changes - Use tabrmd SELinux modules from tpm2.0-abrmd instead of storing here - Update to version 20210419 - Dropped fix_gift.patch, module was removed - Updated wicked.te to removed dropped interface - Refreshed: * fix_cockpit.patch * fix_hadoop.patch * fix_init.patch * fix_logging.patch * fix_logrotate.patch * fix_networkmanager.patch * fix_nscd.patch * fix_rpm.patch * fix_selinuxutil.patch * fix_systemd.patch * fix_systemd_watch.patch * fix_thunderbird.patch * fix_unconfined.patch * fix_unconfineduser.patch * fix_unprivuser.patch OBS-URL: https://build.opensuse.org/request/show/909369 OBS-URL: https://build.opensuse.org/package/show/security:SELinux/selinux-policy?expand=0&rev=113
26 lines
1.0 KiB
Diff
26 lines
1.0 KiB
Diff
From d63e6cf43bfe32d53b371b6920d4c09431647ddd Mon Sep 17 00:00:00 2001
|
|
From: Ludwig Nussel <ludwig.nussel@suse.de>
|
|
Date: Wed, 28 Apr 2021 17:09:49 +0200
|
|
Subject: [PATCH] cockpit: allow cockpit socket to bind nodes
|
|
|
|
Looks like this setting is implicit with kerberos enabled.
|
|
cockpit.socket fails to start if kerberos_enabled=false
|
|
---
|
|
policy/modules/contrib/cockpit.te | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
Index: fedora-policy-20210628/policy/modules/contrib/cockpit.te
|
|
===================================================================
|
|
--- fedora-policy-20210628.orig/policy/modules/contrib/cockpit.te
|
|
+++ fedora-policy-20210628/policy/modules/contrib/cockpit.te
|
|
@@ -51,7 +51,9 @@ can_exec(cockpit_ws_t,cockpit_session_ex
|
|
dev_read_urand(cockpit_ws_t) # for authkey
|
|
dev_read_rand(cockpit_ws_t) # for libssh
|
|
|
|
+# cockpit-ws allows connections on websm port
|
|
corenet_tcp_bind_websm_port(cockpit_ws_t)
|
|
+corenet_tcp_bind_generic_node(cockpit_ws_t)
|
|
|
|
# cockpit-ws can connect to other hosts via ssh
|
|
corenet_tcp_connect_ssh_port(cockpit_ws_t)
|