* src/login/logind-user.c (user_start): Don't start slices and
systemd-user services.
* src/login/logind-dbus.c (method_create_session): Send a reply directly
instead of waiting on systemd that isn't there.
* configure.ac: Bump version.
# FIXME: Update to proper web page
AC_INIT([elogind],
- [219.3],
+ [219.5],
[http://bugs.freedesktop.org/enter_bug.cgi?product=elogind],
[elogind],
[http://www.freedesktop.org/wiki/Software/elogind])
* created. We send the reply back from
* session_send_create_reply(). */
+ /* Elogind note: replying directly, since we're not actually
+ starting slices and thus we aren't waiting on systemd. */
+
+ r = session_send_create_reply(session, NULL);
+ if (r < 0)
+ goto fail;
+
+ session_save(session);
+
return 1;
fail:
if (r < 0)
return r;
+#if 0
/* Create cgroup */
r = user_start_slice(u);
if (r < 0)
r = user_start_service(u);
if (r < 0)
return r;
+#endif
if (!dual_timestamp_is_set(&u->timestamp))
dual_timestamp_get(&u->timestamp);