forked from pool/selinux-policy
23c83e5de5
- Modified fix_systemd.patch to allow systemd gpt generator access to udev files (bsc#1189280) OBS-URL: https://build.opensuse.org/request/show/915716 OBS-URL: https://build.opensuse.org/package/show/security:SELinux/selinux-policy?expand=0&rev=119
36 lines
998 B
Diff
36 lines
998 B
Diff
Index: fedora-policy-20210716/policy/modules/system/systemd.te
|
|
===================================================================
|
|
--- fedora-policy-20210716.orig/policy/modules/system/systemd.te
|
|
+++ fedora-policy-20210716/policy/modules/system/systemd.te
|
|
@@ -352,6 +352,10 @@ userdom_manage_user_tmp_chr_files(system
|
|
xserver_dbus_chat(systemd_logind_t)
|
|
|
|
optional_policy(`
|
|
+ packagekit_dbus_chat(systemd_logind_t)
|
|
+')
|
|
+
|
|
+optional_policy(`
|
|
apache_read_tmp_files(systemd_logind_t)
|
|
')
|
|
|
|
@@ -859,6 +863,10 @@ optional_policy(`
|
|
udev_read_pid_files(systemd_hostnamed_t)
|
|
')
|
|
|
|
+optional_policy(`
|
|
+ nscd_unconfined(systemd_hostnamed_t)
|
|
+')
|
|
+
|
|
#######################################
|
|
#
|
|
# rfkill policy
|
|
@@ -1097,6 +1105,8 @@ systemd_unit_file_filetrans(systemd_gpt_
|
|
systemd_create_unit_file_dirs(systemd_gpt_generator_t)
|
|
systemd_create_unit_file_lnk(systemd_gpt_generator_t)
|
|
|
|
+udev_read_pid_files(systemd_gpt_generator_t)
|
|
+
|
|
#######################################
|
|
#
|
|
# systemd_resolved domain
|