¡Hola 张!

El 2018-06-07 a las 10:35 +0000, 张 敬强 escribió:

Hi,
 Does it make any difference? What's the rationale behind this request?

According to dbus NEWS file, dbus-user-session provides systemd units for
a per-user bus listening (in effect, treating all concurrent graphical and
non-graphical login sessions as one large session)

dbus-session-bus is a virtual package, which is also provided by dbus, so
that's most likely going be fulfilled by dbus if used as a dependency, also
dependencies against virtual packages need to be given a non virtual
preference. Probably depending on: dbus | dbus-session-bus would work.

The recommended way seems to be:
default-dbus-session-bus | dbus-session-bus
, which is already used by cinnamon-session, but not by gnome-session-bin.

And the binary package dbus itself doesn't provide dbus-session-bus.

But breaking the session dbus for our users wouldn't be nice so this needs
a somewhat thorough testing, in an enviroment with only dbus installed, with
only dbus-user-session installed, with only dbus-x11 installed, etc, checking
for differences in each session.

So now we only have to test dbus-x11 and dbus-user-session.
There is a check for dbus-user-session in dbus-x11 file
/etc/X11/Xsession.d/75dbus_dbus-launch, so in theory dbus-user-session
replace dbus-x11 if they both get installed.
I haven't encountered any difference when using only one graphical session.

Ok, you convinced me. Thanks for the report and follow up. For future reports, whenever possible, please add this level of information.

Happy hacking,
--
"Politicians and diapers have one thing in common. They should both be changed regularly, and for the same reason."
-- José Maria de Eça de Queiroz
Saludos /\/\ /\ >< `/

Attachment: signature.asc
Description: PGP signature

Reply via email to