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

2014-11-14 Thread Simon McVittie
On 14/11/14 16:46, Stef Walter wrote: > On 14.11.2014 16:39, Lennart Poettering wrote: >> The services like hostnamed explicitly provide stable object >> paths and suchlike so that clients can completely ignore when >> the services go away and come back... > > Most DBus services are not like that,

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

2014-11-14 Thread Lennart Poettering
On Fri, 14.11.14 16:46, Stef Walter (st...@redhat.com) wrote: > > If you use proxies like that you should simply make sure they are > > not invalidated when the service goes away. > > > > The services like hostnamed explicitly provide stable object paths > > and suchlike so that clients can compl

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

2014-11-14 Thread Stef Walter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 14.11.2014 16:39, Lennart Poettering wrote: > On Fri, 14.11.14 16:06, Stef Walter (st...@redhat.com) wrote: > >>> I guess the idea is that many clients (e.g. >>> gnome-settings-daemon) would make a few calls on startup and >>> then continue running

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

2014-11-14 Thread Lennart Poettering
On Fri, 14.11.14 16:06, Stef Walter (st...@redhat.com) wrote: > > 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. > > > > What are the actual problems caused by

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

2014-11-14 Thread Lennart Poettering
On Fri, 14.11.14 16:41, Mantas Mikulėnas (graw...@gmail.com) wrote: > On Fri, Nov 14, 2014 at 3:43 PM, Stef Walter 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 i

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

2014-11-14 Thread Lennart Poettering
On Fri, 14.11.14 14:43, Stef Walter (st...@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

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

2014-11-14 Thread Stef Walter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 14.11.2014 14:41, Mantas Mikulėnas wrote: > On Fri, Nov 14, 2014 at 3:43 PM, Stef Walter > wrote: > > Is it intentional (or just laziness :D) that systemd DBus services > like hostnamed, timedated and friends all exit aft

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

2014-11-14 Thread Mantas Mikulėnas
On Fri, Nov 14, 2014 at 3:43 PM, Stef Walter 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 servi

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

2014-11-14 Thread Stef Walter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 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 wh