[systemd-devel] systemd DBus services exit when they have clients

Lennart Poettering lennart at poettering.net
Fri Nov 14 08:36:21 PST 2014


On Fri, 14.11.14 16:41, Mantas Mikulėnas (grawity at gmail.com) wrote:

> On Fri, Nov 14, 2014 at 3:43 PM, Stef Walter <stefw at redhat.com> wrote:
> 
> > Is it intentional (or just laziness :D) that systemd DBus services
> > like hostnamed, timedated and friends all exit after a timeout even
> > while callers that have invoked their methods are still on the bus?
> >
> > Don't get me wrong, I like services that exit when not in use. But I
> > sorta imagined 'not in use' as 'no more callers around'.
> >
> 
> I guess the idea is that many clients (e.g. gnome-settings-daemon) would
> make a few calls on startup and then continue running for days without ever
> touching the service again.

Not really, they can touch the service anytime they want and it would
be implicitly stated again, user processes really don't have to care
if the service is currently running or not.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list