chiark / gitweb /
elogind_cgroup_agent registers as elogind.Agent, not systemd1.Agent.
authorSven Eden <yamakuzure@gmx.net>
Tue, 21 Feb 2017 18:15:20 +0000 (19:15 +0100)
committerSven Eden <yamakuzure@gmx.net>
Tue, 14 Mar 2017 09:23:22 +0000 (10:23 +0100)
src/cgroups-agent/cgroups-agent.c
src/login/logind.c

index 47a526b..975ccaa 100644 (file)
@@ -68,8 +68,8 @@ int main(int argc, char *argv[]) {
         }
 
         r = sd_bus_emit_signal(bus,
-                               "/org/freedesktop/systemd1/agent",
-                               "org.freedesktop.systemd1.Agent",
+                               "/org/freedesktop/elogind/agent",
+                               "org.freedesktop.elogind.Agent",
                                "Released",
                                "s", argv[1]);
         if (r < 0) {
index be3274b..8748490 100644 (file)
@@ -681,9 +681,9 @@ static int manager_connect_bus(Manager *m) {
         /* elogind relies on signals from its release agent */
         r = sd_bus_add_match(m->bus, NULL,
                              "type='signal',"
-                             "interface='org.freedesktop.systemd1.Agent',"
+                             "interface='org.freedesktop.elogind.Agent',"
                              "member='Released',"
-                             "path='/org/freedesktop/systemd1/agent'",
+                             "path='/org/freedesktop/elogind/agent'",
                              signal_agent_released, m);
 
         r = sd_bus_add_fallback_vtable(m->bus, NULL, "/org/freedesktop/login1/seat", "org.freedesktop.login1.Seat", seat_vtable, seat_object_find, m);