dbus-launch and the fish shell

Thiago Macieira thiago at kde.org
Tue Jan 8 04:24:15 PST 2013

On sexta-feira, 28 de dezembro de 2012 23.04.16, ridiculous_fish wrote:
> My question is, what consequences are likely if the login shell fails to
> understand the shell code emitted by dbus-launch? How could I go about
> reproducing those issues for testing? I haven't been able to reproduce any
> problems by just farting around in openSUSE - I know almost nothing about
> dbus.

In the second best case scenario, the variables will simply not be set 
correctly. The side-effect of that is that the applications will not know how 
to contact the bus server. If you're running a graphical system with X, that 
problem is hidden by the fact that D-Bus also supports finding the server on 
its own, via some X selections and window properties.

But the worst case scenario is that the "eval `dbus-launch`" or equivalent 
command makes the login fail due to syntactically-incorrect commands.
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20130108/9da385e3/attachment.pgp>

More information about the dbus mailing list