Bug#298220: gnome-cups-manager: Deals poorly with leftover ~/.gksu.lock

Gavin Hamill Gavin Hamill <gdh@acentral.co.uk>, 298220@bugs.debian.org
Sat, 05 Mar 2005 18:34:38 +0000


Package: gnome-cups-manager
Version: 0.25-2
Severity: normal


Hi - last boot I tried to run synaptic and got as far as the root password prompt, at 
which point my machine froze (hardware failure).

On reboot I ran synaptic as root and installed the various CUPS packages, then went to 
Desktop Preferences -> System Tools -> Printing, but on double clicking 'Add Printer' 
not only is there no indication that any work is happening, but there's also an error to 
stdout that is not drawn to the GUI user's attention... The error is

gdh@plip:~$ gnome-cups-manager

** (gksu:3878): WARNING **: Lock found: /home/gdh/.gksu.lock. Exiting.

I'm guessing this file is a remnant from synaptic's run on the previous boot. Either 
way, shouldn't gnome-cups-manager (or maybe gksu? Please re-assign the bug if you feel 
it more appropriate!) tell the user that a stale lockfile may be present and prompt to 
override?

Once I manually removed the lockfile, I was prompted for the root password in the normal 
manner (I'm also getting the 'env: -- no such file or dir' problem, but I see a patch 
has been posted - thanks for that! :)

Cheers,
Gavin.


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-686
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages gnome-cups-manager depends on:
ii  libart-2.0-2             2.3.17-1        Library of functions for 2D graphi
ii  libatk1.0-0              1.8.0-4         The ATK accessibility toolkit
ii  libbonobo2-0             2.8.1-2         Bonobo CORBA interfaces library
ii  libbonoboui2-0           2.8.1-1         The Bonobo UI library
ii  libc6                    2.3.2.ds1-20    GNU C Library: Shared libraries an
ii  libcupsys2-gnutls10      1.1.23-4        Common UNIX Printing System(tm) - 
ii  libgconf2-4              2.8.1-4         GNOME configuration database syste
ii  libglade2-0              1:2.4.2-1       library to load .glade files at ru
ii  libglib2.0-0             2.6.2-1         The GLib library of C routines
ii  libgnome-keyring0        0.4.1-1         GNOME keyring services library
ii  libgnome2-0              2.8.0-6         The GNOME 2 library - runtime file
ii  libgnomecanvas2-0        2.8.0-1         A powerful object-oriented display
ii  libgnomecups1.0-1        0.1.14-1        GNOME library for CUPS interaction
ii  libgnomecupsui1.0-1      0.25-2          UI extensions to libgnomecups
ii  libgnomeui-0             2.8.0-3         The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0           2.8.3-11        The GNOME virtual file-system libr
ii  libgtk2.0-0              2.6.2-3         The GTK+ graphical user interface 
ii  libice6                  4.3.0.dfsg.1-10 Inter-Client Exchange library
ii  liborbit2                1:2.10.5-0.1    libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0            1.8.0-3         Layout and rendering of internatio
ii  libpopt0                 1.7-5           lib for parsing cmdline parameters
ii  libsm6                   4.3.0.dfsg.1-10 X Window System Session Management
ii  libx11-6                 4.3.0.dfsg.1-10 X Window System protocol client li
ii  libxml2                  2.6.16-3        GNOME XML library
ii  xlibs                    4.3.0.dfsg.1-10 X Keyboard Extension (XKB) configu
ii  zlib1g                   1:1.2.2-3       compression library - runtime

-- no debconf information