From b4ef3f335f3df12a37b57ec0fa78ffd9de3126b7 Mon Sep 17 00:00:00 2001 From: bauen1 Date: Sat, 8 Feb 2020 16:43:38 +0100 Subject: [PATCH] ntp: watch systemd networkd runtime dirs This is required for correct function after linux 5.4 --- policy/modules/services/ntp.te | 2 ++ 1 file changed, 2 insertions(+) diff --git a/policy/modules/services/ntp.te b/policy/modules/services/ntp.te index 34b442452..18b256871 100644 --- a/policy/modules/services/ntp.te +++ b/policy/modules/services/ntp.te @@ -157,6 +157,8 @@ ifdef(`init_systemd',` # for /run/systemd/netif/state systemd_read_networkd_runtime(ntpd_t) + systemd_watch_networkd_runtime_dirs(ntpd_t) + optional_policy(` chronyd_enabledisable(ntpd_t) chronyd_startstop(ntpd_t)