* avoid DefaultStandardOutput=syslog to have any effect on StandardInput=socket services
+* cgroup_notify_empty(): recursively check groups up the tree, too
+
* fix alsa mixer restore to not print error when no config is stored
* show enablement status in systemctl status
if (!dbus_message_get_args(message, &error,
DBUS_TYPE_STRING, &cgroup,
DBUS_TYPE_INVALID))
- log_error("Failed to parse Released message: %s", error.message);
+ log_error("Failed to parse Released message: %s", bus_error_message(&error));
else
cgroup_notify_empty(m, cgroup);
}
goto fail;
}
- session->pipe_fd = pipe_fds[1];
- pipe_fds[1] = -1;
+ session->pipe_fd = pipe_fds[0];
+ pipe_fds[0] = -1;
if (s) {
r = seat_attach_session(s, session);
DBUS_TYPE_STRING, &session->id,
DBUS_TYPE_OBJECT_PATH, &p,
DBUS_TYPE_STRING, &session->user->runtime_path,
- DBUS_TYPE_UNIX_FD, &pipe_fds[0],
+ DBUS_TYPE_UNIX_FD, &pipe_fds[1],
DBUS_TYPE_INVALID);
free(p);
goto fail;
}
- close_nointr_nofail(pipe_fds[0]);
+ close_nointr_nofail(pipe_fds[1]);
*_reply = reply;
return 0;