[PATCH 3/3] activation: optionally, use systemd for system bus activation

Colin Walters walters at verbum.org
Fri Jul 9 07:22:05 PDT 2010

On Wed, Jun 23, 2010 at 12:12 PM, Lennart Poettering <mzqohf at 0pointer.de> wrote:
> +            /* systemd is not around, let's "activate" it. */
> +            retval = bus_activation_activate_service (activation, connection, activation_transaction, TRUE,
> +                                                      message, "org.freedesktop.systemd1", error);

If we recurse here, we'll be creating *two* entries in the
activation->entries list, both with the same message, right?  One for
the initial request, and one to activate systemd itself.  Then when
systemd comes online, the bus will send two replies back, right?

Honestly the recursion here, especially trying to think about the OOM
failure cases is making my head hurt =)

More information about the dbus mailing list