From 3180fd91dae6cad5367e850eabf765d442a7bd08 Mon Sep 17 00:00:00 2001
From: HuaxinLuGitee <1539327763@qq.com>
Date: Tue, 8 Dec 2020 19:12:03 +0800
Subject: [PATCH] add allow systemd timedated to unlink etc link

---
 policy/modules/system/systemd.te | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/policy/modules/system/systemd.te b/policy/modules/system/systemd.te
index 0a65c1d..6e69517 100644
--- a/policy/modules/system/systemd.te
+++ b/policy/modules/system/systemd.te
@@ -877,6 +877,8 @@ allow systemd_timedated_t self:fifo_file rw_fifo_file_perms;
 allow systemd_timedated_t self:unix_stream_socket create_stream_socket_perms;
 allow systemd_timedated_t self:unix_dgram_socket create_socket_perms;
 
+allow systemd_timedated_t etc_t:lnk_file unlink;
+
 allow systemd_timedated_t systemd_timedated_unit_file_t:service manage_service_perms;
 
 manage_dirs_pattern(systemd_timedated_t, systemd_timedated_var_run_t, systemd_timedated_var_run_t)
-- 
1.8.3.1

