Bug#531734: gnome-terminal: yet even more information

sean finney seanius at debian.org
Mon Jun 8 23:20:49 UTC 2009


Package: gnome-terminal
Version: 2.26.2-1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hello again,

simply commenting out the offending code in src/terminal.c makes the
problem go away, with no perceived ill effects (i.e. the terminal opens,
does not explode or kill kittens, etc).

- --- gnome-terminal-2.26.2.orig/src/terminal.c
+++ gnome-terminal-2.26.2/src/terminal.c
@@ -444,16 +444,6 @@
   g_free (argv_copy);
   g_free (factory_name);
 
- -  /* If the gconf daemon isn't available (e.g. because there's no dbus
- -   * session bus running), we'd crash later on. Tell the user about it
- -   * now, and exit. See bug #561663.
- -   */
- -  if (!gconf_ping_daemon ())
- -    {
- -      g_printerr ("Failed to contact the GConf daemon; exiting.\n");
- -      exit (1);
- -    }
- -
   gtk_window_set_default_icon_name (GNOME_TERMINAL_ICON_NAME);
 
   gtk_about_dialog_set_url_hook (about_url_hook, NULL, NULL);


the lines were apparently put there to prevent a hypothetically ugly
death later on due to not being able to talk to a gconf process.  however,
the ping function itself is flawed and doesn't work when the uid doesn't
match up with a running/accessible dbus session (and i guess gconf is
now using dbus somewhere deeper in the plumbing).

however, if the check is removed, gnome-terminal successfully spawns a
gconf session for the new uid and starts up, so i fail to see the point
of the check at all.



- -- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.29-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/bash

Versions of packages gnome-terminal depends on:
ii  gnome-terminal-data           2.26.2-1   Data files for the GNOME terminal 
ii  libatk1.0-0                   1.26.0-1   The ATK accessibility toolkit
ii  libc6                         2.9-13     GNU C Library: Shared libraries
ii  libdbus-glib-1-2              0.80-4     simple interprocess messaging syst
ii  libgconf2-4                   2.26.2-1   GNOME configuration database syste
ii  libglib2.0-0                  2.20.3-1   The GLib library of C routines
ii  libgtk2.0-0                   2.16.2-1   The GTK+ graphical user interface 
ii  libice6                       2:1.0.5-1  X11 Inter-Client Exchange library
ii  libpango1.0-0                 1.24.2-1   Layout and rendering of internatio
ii  libsm6                        2:1.1.0-2  X11 Session Management library
ii  libstartup-notification0      0.10-1     library for program launch feedbac
ii  libvte9                       1:0.20.1-1 Terminal emulator widget for GTK+ 
ii  libx11-6                      2:1.2.1-1  X11 client-side library

Versions of packages gnome-terminal recommends:
ii  gvfs                          1.2.3-1    userspace virtual filesystem - ser
ii  yelp                          2.24.0-2   Help browser for GNOME 2

gnome-terminal suggests no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFKLZzKynjLPm522B0RAiWGAJ9Rl6tXeJN8n3pig10MhdvYBwU/YQCggK+C
/C06sZL6x3F2CBimiyzciFE=
=OCJa
-----END PGP SIGNATURE-----






More information about the pkg-gnome-maintainers mailing list