Skip to content

Commit

Permalink
Allow initrc_t create /run/chronyd-dhcp directory with a transition
Browse files Browse the repository at this point in the history
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
  • Loading branch information
zpytela committed Oct 15, 2020
1 parent f1598fb commit 52e7166
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions policy/modules/system/init.te
Original file line number Diff line number Diff line change
Expand Up @@ -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)
')
Expand Down

0 comments on commit 52e7166

Please sign in to comment.