1
0
selinux-policy/fix_chronyd.patch
Dominique Leuenberger b3cf18cf4d Accepting request 878582 from security:SELinux
big toolchain update, please stage together. so versions change, so this has high potential to break stuff. Probably best to stage it isolated

OBS-URL: https://build.opensuse.org/request/show/878582
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/selinux-policy?expand=0&rev=8
2021-03-24 15:08:51 +00:00

32 lines
1.1 KiB
Diff

Index: fedora-policy-20210309/policy/modules/contrib/chronyd.te
===================================================================
--- fedora-policy-20210309.orig/policy/modules/contrib/chronyd.te
+++ fedora-policy-20210309/policy/modules/contrib/chronyd.te
@@ -140,6 +140,14 @@ systemd_exec_systemctl(chronyd_t)
userdom_dgram_send(chronyd_t)
optional_policy(`
+ networkmanager_read_pid_files(chronyd_t)
+')
+
+optional_policy(`
+ wicked_read_pid_files(chronyd_t)
+')
+
+optional_policy(`
cron_dgram_send(chronyd_t)
')
Index: fedora-policy-20210309/policy/modules/contrib/chronyd.fc
===================================================================
--- fedora-policy-20210309.orig/policy/modules/contrib/chronyd.fc
+++ fedora-policy-20210309/policy/modules/contrib/chronyd.fc
@@ -6,6 +6,7 @@
/usr/sbin/chronyd -- gen_context(system_u:object_r:chronyd_exec_t,s0)
/usr/libexec/chrony-helper -- gen_context(system_u:object_r:chronyd_exec_t,s0)
+/usr/lib/chrony/helper -- gen_context(system_u:object_r:chronyd_exec_t,s0)
/usr/bin/chronyc -- gen_context(system_u:object_r:chronyc_exec_t,s0)