From ee66387c393af77b88c833f5d271efe48036112c Mon Sep 17 00:00:00 2001 From: Joe MacDonald Date: Thu, 28 Mar 2019 16:14:09 -0400 Subject: [PATCH] fc/subs/volatile: alias common /var/volatile paths Ensure /var/volatile paths get the appropriate base file context. Upstream-Status: Inappropriate [embedded specific] Signed-off-by: Xin Ouyang Signed-off-by: Joe MacDonald Signed-off-by: Yi Zhao --- config/file_contexts.subs_dist | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config/file_contexts.subs_dist b/config/file_contexts.subs_dist index ba22ce7e7..23d4328f7 100644 --- a/config/file_contexts.subs_dist +++ b/config/file_contexts.subs_dist @@ -33,3 +33,9 @@ # not for refpolicy intern, but for /var/run using applications, # like systemd tmpfiles or systemd socket configurations /var/run /run + +# volatile aliases +# ensure the policy applied to the base filesystem objects are reflected in the +# volatile hierarchy. +/var/volatile/log /var/log +/var/volatile/tmp /var/tmp -- 2.25.1