user-runtime-dir: fix selinux regression
authorAlan Jenkins <alan.christopher.jenkins@gmail.com>
Mon, 3 Sep 2018 10:10:24 +0000 (11:10 +0100)
committerPeter Michael Green <plugwash@raspbian.org>
Thu, 20 Sep 2018 20:22:45 +0000 (21:22 +0100)
commit23818c8ea7dda09aefa3c7d107671f958d7d2e07
tree4d0fb8ec769dc993f8eaeaa91723fc0e2bc0e16a
parentfbc60915b8ec507b78f000622f1f8ed7bfc89a44
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