user-runtime-dir: fix selinux regression
authorAlan Jenkins <alan.christopher.jenkins@gmail.com>
Mon, 3 Sep 2018 10:10:24 +0000 (11:10 +0100)
committerMichael Biebl <biebl@debian.org>
Wed, 12 Sep 2018 17:07:38 +0000 (18:07 +0100)
commit38248c41f09a5775928416d38c34443fe628417b
treedc9d211151ce367b04539cee7a38bfb3201967af
parent8b2483ff8b3b0c903a7fd276fdaf4ed0dc9d09ef
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