chiark / gitweb /
Fix logind startup
authorAndy Wingo <wingo@pobox.com>
Tue, 18 Aug 2015 06:42:11 +0000 (08:42 +0200)
committerAndy Wingo <wingo@pobox.com>
Tue, 18 Aug 2015 06:42:11 +0000 (08:42 +0200)
* src/login/logind.c (manager_connect_bus): Warn instead of error if we
  can't subscribe to updates from systemd.  Perhaps we should remove
  this entirely.

src/login/logind.c

index efc37a12eeb60fcf6f866a9bd7531c45b3b847ce..59ee2e6d44582906564e7752fa22b6e2f6765b0b 100644 (file)
@@ -675,8 +675,8 @@ static int manager_connect_bus(Manager *m) {
                         &error,
                         NULL, NULL);
         if (r < 0) {
-                log_error("Failed to enable subscription: %s", bus_error_message(&error, r));
-                return r;
+                log_warning("Failed to subscribe to org.freedesktop.systemd1.Manager: %s",
+                            bus_error_message(&error, r));
         }
 
         r = sd_bus_request_name(m->bus, "org.freedesktop.login1", 0);