user-runtime-dir: fix selinux regression
authorAlan Jenkins <alan.christopher.jenkins@gmail.com>
Mon, 3 Sep 2018 10:10:24 +0000 (11:10 +0100)
committerFelipe Sateler <fsateler@debian.org>
Thu, 6 Dec 2018 00:03:34 +0000 (00:03 +0000)
commit74e3797629d8ac879c294b48390bc57ad3215b6d
treeec947932252f721389b7648ca2adb44dd81d382f
parent601bac491bb1c71a51642b635870399967d9de0a
user-runtime-dir: fix selinux regression

Fix #9993.  When this code was split out to user-runtime-dir, it forgot to
include the call to mac_selinux_init().  So mkdir_label() stopped working.

Fixes: a9f0f5e50104 ("logind: split %t directory creation to a helper
unit")

(cherry picked from commit 81375d802672f34205bef9f301c58854af5fc568)

Gbp-Pq: Name user-runtime-dir-fix-selinux-regression.patch
src/login/user-runtime-dir.c