From: Christian Göttsche Date: Sat, 5 Sep 2020 15:42:56 +0000 (+0200) Subject: selinux: create /run/user/${USERID}/systemd with default context X-Git-Tag: v247-rc1~289 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e813a74ae8fa0d824f1a86b789f9fb585cb2d6ed;p=thirdparty%2Fsystemd.git selinux: create /run/user/${USERID}/systemd with default context --- diff --git a/src/core/main.c b/src/core/main.c index 4812f309f27..51e04dab43b 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); }