From 2b6f0513a706a3a5488117750731bce1850641d0 Mon Sep 17 00:00:00 2001 From: Marc Schiffbauer Date: Fri, 6 Dec 2024 11:59:42 +0100 Subject: [PATCH] dnsmasq: add rules required for incus Signed-off-by: Marc Schiffbauer --- policy/modules/services/dnsmasq.te | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/policy/modules/services/dnsmasq.te b/policy/modules/services/dnsmasq.te index 2e492954d..7b23ba877 100644 --- a/policy/modules/services/dnsmasq.te +++ b/policy/modules/services/dnsmasq.te @@ -102,6 +102,12 @@ optional_policy(` cobbler_read_lib_files(dnsmasq_t) ') +optional_policy(` + container_manage_var_lib_files(dnsmasq_t) + container_manage_log_files(dnsmasq_t) + container_search_var_lib(dnsmasq_t) +') + optional_policy(` dbus_connect_system_bus(dnsmasq_t) dbus_system_bus_client(dnsmasq_t)