From 63af325e7b50b144ae6d96292454ff21a3a6672d Mon Sep 17 00:00:00 2001 From: Zdenek Pytela Date: Wed, 14 Oct 2020 22:45:29 +0200 Subject: [PATCH] Allow initrc_t create /run/chronyd-dhcp directory with a transition Chronyd is required to read preferred sources files stored in /run/chronyd-dhcp to be able to get correct time settings from the dhcp server and have them applied. Resolves: rhbz#1880948 --- policy/modules/system/init.te | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/policy/modules/system/init.te b/policy/modules/system/init.te index 50b655bfd6..f72a8efd8c 100644 --- a/policy/modules/system/init.te +++ b/policy/modules/system/init.te @@ -1209,6 +1209,10 @@ ifdef(`distro_redhat',` bind_setattr_zone_dirs(initrc_t) ') + optional_policy(` + chronyd_pid_filetrans(initrc_t) + ') + optional_policy(` cyrus_write_data(initrc_t) ')