From e813a74ae8fa0d824f1a86b789f9fb585cb2d6ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Sat, 5 Sep 2020 17:42:56 +0200 Subject: [PATCH] selinux: create /run/user/${USERID}/systemd with default context --- src/core/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/main.c b/src/core/main.c index 4812f309f2..51e04dab43 100644 --- a/src/core/main.c +++ b/src/core/main.c @@ -2087,7 +2087,7 @@ static int initialize_runtime( return log_emergency_errno(r, "Failed to determine $XDG_RUNTIME_DIR path: %m"); } - (void) mkdir_p(p, 0755); + (void) mkdir_p_label(p, 0755); (void) make_inaccessible_nodes(p, UID_INVALID, GID_INVALID); }