chiark / gitweb /
logind: apply selinux label to XDG_RUNTIME_DIR
[elogind.git] / src / login / logind-session.c
index f55dca385800ca569aae83548d89ce47461d2d74..108139ce399043d6a58640303c767a880a149d31 100644 (file)
@@ -37,6 +37,8 @@
 #include "bus-util.h"
 #include "bus-error.h"
 #include "logind-session.h"
+#include "formats-util.h"
+#include "terminal-util.h"
 
 #define RELEASE_USEC (20*USEC_PER_SEC)
 
@@ -547,11 +549,9 @@ int session_start(Session *s) {
                 return r;
 
         /* Create cgroup */
-#if 0
         r = session_start_scope(s);
         if (r < 0)
                 return r;
-#endif
 
         log_struct(s->class == SESSION_BACKGROUND ? LOG_DEBUG : LOG_INFO,
                    LOG_MESSAGE_ID(SD_MESSAGE_SESSION_START),