[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-dbus
Subject:    Re: [patch] Make dbus-launch always (if possible) save
From:       Sjoerd Simons <sjoerd () luon ! net>
Date:       2007-11-20 9:24:35
Message-ID: 20071120092435.GA8237 () spring ! luon ! net
[Download RAW message or body]

On Tue, Nov 20, 2007 at 09:06:06AM +0000, Simon McVittie wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Tue, 20 Nov 2007 at 07:49:37 +0100, Thiago Macieira wrote:
> > And it shouldn't start a new bus if that information is available.
> > 
> > That will make overriding a bit difficult (i.e., intentionally launching a 
> > second bus daemon).
> 
> If you do this, please provide some reliable way to start a new session
> bus - perhaps `dbus-launch --new` or `dbus-new-session` - for running
> regression tests on things that use D-Bus. Telepathy, for instance,
> would really benefit from this.

I think it's fair to expect that dbus-launch without the autolaunch arguments
does indeed launch a new session bus. So my patch doesn't change that semantic
and i'm pretty sure we shouldn't.

What the patch does allow is to do dbus-launch --autolaunch <machine id> <app>,
which does indeed only start a new bus if needed. Which is nice for wrapper
scripts of programs using a native binding for dbus that does't implement
autolaunching..

  Sjoerd
-- 
If you keep anything long enough, you can throw it away.
_______________________________________________
dbus mailing list
dbus@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dbus
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic