From 67c4238e8e9dd2f8b874afd23b1bdbdc78a8fb60 Mon Sep 17 00:00:00 2001 From: Alexander Miroshnichenko Date: Tue, 14 Jul 2020 13:33:43 +0300 Subject: [PATCH] openvpn: update file context regex for ipp.txt Signed-off-by: Alexander Miroshnichenko --- policy/modules/services/openvpn.fc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/policy/modules/services/openvpn.fc b/policy/modules/services/openvpn.fc index f6a497c5b..c09500885 100644 --- a/policy/modules/services/openvpn.fc +++ b/policy/modules/services/openvpn.fc @@ -1,5 +1,5 @@ /etc/openvpn(/.*)? gen_context(system_u:object_r:openvpn_etc_t,s0) -/etc/openvpn/([^/]*/)?ipp\.txt -- gen_context(system_u:object_r:openvpn_etc_rw_t,s0) +/etc/openvpn/([^/]+/)?ipp\.txt -- gen_context(system_u:object_r:openvpn_etc_rw_t,s0) /etc/openvpn/openvpn-status\.log.* -- gen_context(system_u:object_r:openvpn_status_t,s0) /etc/rc\.d/init\.d/openvpn -- gen_context(system_u:object_r:openvpn_initrc_exec_t,s0)