Bug#836402: italc: please don't run dbus-launch

Simon McVittie smcv at debian.org
Fri Sep 2 15:42:35 UTC 2016


Source: italc
Version: 2.0.2+dfsg1-4
Severity: normal
Tags: upstream
User: dbus at packages.debian.org
Usertags: dbus-launch dbus-launch-for-infra

As described in <https://lists.debian.org/debian-devel/2016/08/msg00554.html>
I'm trying to reduce how much dbus-launch is used in Debian.
italc seems to contain a copy of x11vnc, with the same bug that I
reported there: if I'm reading ica/x11/x11vnc/ssltools.h correctly,
x11vnc currently runs `dbus-launch --exit-with-session gnome-session`
if both dbus-launch and gnome-session are found.

gnome-session already knows how to re-exec itself under dbus-launch if
necessary, so it is never necessary to run

    dbus-launch --exit-with-session gnome-session

and always sufficient to just run gnome-session.

In addition, the way x11vnc invokes it would force a new D-Bus session bus
to be started, even if the system administrator has opted to use the
"D-Bus session = user-session" model by installing dbus-user-session.
This could result in a "split brain" problem where some services are
available on the per-user bus, and some on the per-login-session bus.

I would recommend simply removing all mentions of dbus-launch and
dbus_launch from the startup script.

Thanks,
    S



More information about the Debian-edu-pkg-team mailing list