[PATCH 8/8] systemd: make remaining dbus_* optional
Jason Zaman <[email protected]>
| Newsgroups | org.kernel.vger.selinux-refpolicy |
|---|---|
| Message-ID | <[email protected]> |
From: Jason Zaman <[email protected]> Almost all calls to dbus_ interfaces were already optional, this makes the remaining one optional_policy so that the modules can be installed / upgraded easier. Signed-off-by: Jason Zaman <[email protected]> Signed-off-by: Jason Zaman <[email protected]> --- policy/modules/system/systemd.te | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/policy/modules/system/systemd.te b/policy/modules/system/systemd.te index 74f3fc55d..a08b83d51 100644 --- a/policy/modules/system/systemd.te +++ b/policy/modules/system/systemd.te @@ -1450,4 +1450,6 @@ userdom_manage_user_runtime_dirs(systemd_user_runtime_dir_t) userdom_mounton_user_runtime_dirs(systemd_user_runtime_dir_t) userdom_relabelto_user_runtime_dirs(systemd_user_runtime_dir_t) -dbus_system_bus_client(systemd_user_runtime_dir_t) +optional_policy(` + dbus_system_bus_client(systemd_user_runtime_dir_t) +') -- 2.26.2