[Pkg-utopia-maintainers] Bug#681241: dbus-x11: prevent dbus-launch if it is already started

Panayiotis Karabassis panayk at gmail.com
Wed Jul 11 16:42:45 UTC 2012


Package: dbus-x11
Version: 1.5.12-1
Severity: normal

Dear Maintainer,

I have been facing problems with DBus on a system running the awesome window
manager. I believe other non-Gnome manager are affected too.

I wanted to have access to the gnome-keyring in my awesome-wm session. Hence I
added "gnome-keyring-daemon --start" to my .xsessionrc. This however did not
work (for example subversion would hang while accessing its key) because
-apparently- gnome-keyring needs DBus to be running when the "--start" command
is executed.

Adding gnome-keyring --start to the $STARTUP variable also does not work,
because certain application such as ssh-agent mistakenly think that this is a
non-gnome-keyring session, and start themselves.

The best I could come up with is this patch, which does resolve the issue for
me and should not intrude on other window managers. It simply disables dbus-
launch if it is already started, e.g. from .xsessionrc.

Please consider it for inclusion or inform me if there is a better solution.

Regards,
Panayiotis



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dbus-x11 depends on:
ii  dbus      1.5.12-1
ii  libc6     2.13-30
ii  libx11-6  2:1.4.99.901-2

dbus-x11 recommends no packages.

dbus-x11 suggests no packages.

-- Configuration Files:
/etc/X11/Xsession.d/75dbus_dbus-launch changed [not included]

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: prevent_start_of_dbus_if_already_running.patch
Type: text/x-diff
Size: 395 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20120711/2bf633c6/attachment.patch>


More information about the Pkg-utopia-maintainers mailing list