From 1e7608b86e7cbc42260b994ac7ccdb85eafac7a9 Mon Sep 17 00:00:00 2001 From: Zdenek Pytela Date: Tue, 9 Aug 2022 20:49:52 +0200 Subject: [PATCH] Allow frr_t create /root/.history_frr with a private type The file can be created when the frr service starts, so a file transition is needed to be defined in the policy. --- frr.te | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frr.te b/frr.te index 307d363..bbafca4 100644 --- a/frr.te +++ b/frr.te @@ -112,3 +112,7 @@ optional_policy(` optional_policy(` networkmanager_read_state(frr_t) ') + +optional_policy(` + userdom_admin_home_dir_filetrans(frr_t, frr_conf_t, file, ".history_frr") +')