Bug#582824: update-manager-gnome: ChangelogViewer sudo gnome-open fails if gksu in 'ui.py' uses 'su mode' (the default)

Dominique Brazziel dbrazziel at snet.net
Sun May 23 22:17:52 UTC 2010


Package: update-manager-gnome
Version: 0.200.3-2
Severity: important
Tags: squeeze

	For the times when clicking on a bug link in the changelog has worked
(it has been broken on and off for various reasons for the past couple of years),
I have had to run with with gksu set to 'sudo mode' in Gconf.  While trying
to the current broken ChangelogViewer.py (see http://bugs.debian.org/546837)
I changed the gksu back to the default 'su mode', but the gnome-open of
the linked bug report failed with the following error:

GConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit,
 or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. 
 (Details -  1: Failed to get connection to session: /usr/bin/dbus-launch terminated abnormally with the following error: No protocol specified
Autolaunch error: X11 initialization failed.

After changing the mode (via Gnome Configuration Editor) back to 'sudo mode'
the links open fine (with the changes I have made to ChangelogViewer.py).

    I have a feeling this is due to the underlying gksu behavior, but the code in update-manager
was changed in how the call to gnome-open was done, and the changes are such that 
gksudo cannot be called (the UID of the originating user is used instead of the
USERNAME from the environment).  

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-3-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages update-manager-gnome depends on:
ii  gconf2                        2.28.1-3   GNOME configuration database syste
ii  gksu                          2.0.2-2+b1 graphical frontend to su
ii  python                        2.5.4-9    An interactive high-level object-o
ii  python-dbus                   0.83.1-1   simple interprocess messaging syst
ii  python-gconf                  2.28.1-1   Python bindings for the GConf conf
ii  python-gobject                2.21.1-1   Python bindings for the GObject li
ii  python-gtk2                   2.17.0-2   Python bindings for the GTK+ widge
ii  python-support                1.0.8      automated rebuilding support for P
ii  python-vte                    1:0.24.1-1 Python bindings for the VTE widget
ii  update-manager-core           0.200.3-2  APT update manager core functional

update-manager-gnome recommends no packages.

Versions of packages update-manager-gnome suggests:
ii  software-properties-gtk  0.60.debian-1.1 manage the repositories that you i
ii  update-notifier          0.99.3debian4   Daemon which notifies about packag

-- no debconf information





More information about the pkg-gnome-maintainers mailing list