user-runtime-dir: fix selinux regression
authorAlan Jenkins <alan.christopher.jenkins@gmail.com>
Mon, 3 Sep 2018 10:10:24 +0000 (11:10 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 3 Sep 2018 12:09:21 +0000 (14:09 +0200)
commit81375d802672f34205bef9f301c58854af5fc568
treeb0e3bc60b287c1a68fd0a2c69be4af9c178048bf
parent7dd05e947200e69513ca19e52d5c05f8799a7df4
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")
src/login/user-runtime-dir.c