environment of activated services

Scott James Remnant scott at canonical.com
Thu May 8 09:11:15 PDT 2008


On Thu, 2008-05-08 at 10:09 -0400, Colin Walters wrote:

> On Thu, May 8, 2008 at 9:56 AM, Matthias Clasen
> <matthias.clasen at gmail.com> wrote:
> >
> > Some cube discussion made it clear that I am a bit confused here.
> > At least for SESSION_MANAGER, the problem here is that the session bus
> > is not actually running inside the session, so the daemon doesn't have
> > that variable in its environment either. Whats really needed here is
> > some way to selectively pull some parts of the callers environment
> > into the environment of the activated service.
> 
> I think it might be easier to have gnome-session, immediately after
> being launched, inject the crucial environment variables into the
> session bus.  Say org.freedesktop.DBus.SetEnvironment(a{ss})
> 
This is also solved by using a separate service manager to run the D-Bus
services on its behalf.

Scott
-- 
Scott James Remnant
scott at canonical.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/dbus/attachments/20080508/af8fb6a7/attachment.pgp 


More information about the dbus mailing list