[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1117068: keyman: please don't depend on dbus-x11



Package: keyman
Severity: normal
User: dbus@packages.debian.org
Usertags: dbus-launch

keyman has a dependency on the dbus-x11 package, and runs dbus-launch if 
the DBUS_SESSION_BUS_ADDRESS environment variable is not set. This is 
rarely helpful, and sometimes harmful: when using either the 
dbus.service systemd service (dbus-user-session) or X11 autolaunching 
(dbus-x11), it will often be possible to connect to the D-Bus session 
bus without DBUS_SESSION_BUS_ADDRESS being set. Second-guessing how the 
OS works and starting a second copy of the session bus will just cause 
confusion.

The dbus-x11 package is unnecessary on typical Debian desktop systems 
which have systemd and dbus-user-session installed, and it has some 
backwards-compatibility side-effects which are not ideal, so I'm trying to 
reduce direct dependencies on it.

If keyman needs a D-Bus session bus, the correct dependency is:

    default-dbus-session-bus | dbus-session-bus

which in practice can be satisfied by either dbus-user-session or dbus-x11.

Thanks,
    smcv


Reply to: