[Pkg-utopia-maintainers] Bug#602195: gnome-disk-utility: Wrongly tells the device locking failed

intrigeri at boum.org intrigeri at boum.org
Tue Nov 2 12:46:51 UTC 2010


Package: gnome-disk-utility
Version: 2.30.1-2
Severity: normal

Steps to reproduce:

1. Plug in a USB stick.
2. Run g-d-u.
3. Select the USB stick in the sidebar.
4. Select an existing volume on this USB stick.
5. Click on "Format Volume", choose type FAT and tick the "Encrypt
   underlying device" checkbox.
6. Confirm the formatting operation, enter and verify a passphrase,
   click "Create" => the operation succeeds and the encrypted device
   is left unlocked (both the UI and "ls /dev/mapper" agree on this
   at this point).
7. Click the "Lock Volume" button, wait a bit => a dialog opens and
   says:

   Error locking LUKS volume
   An error occurred while performing an operation on [...]: The
   operation failed
   Details
   Error locking luks device: timeout (10s) waiting for cleartext
   device to be removed

At this point:

- the g-d-u UI says the volume is locked (the "Lock Volume" button
  has been replaced with a "Unlock Volume" one)
- the LUKS device is effectively unlocked, i.e. its cleartext mapping
  has been removed from /dev/mapper.

In short, g-d-u succeeds and all is well *but* g-d-u tries to scary
the user by misleadingly informing her the volume could not be locked.

I could find no commit in upstream Git that would seem likely to fix
this. I don't know whether the actual bug is in g-d-u or in the
backends used by it.

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

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gnome-disk-utility depends on:
ii  libatasmart4          0.17+git20100219-2 ATA S.M.A.R.T. reading and parsing
ii  libatk1.0-0           1.30.0-1           The ATK accessibility toolkit
ii  libavahi-client3      0.6.27-2           Avahi client library
ii  libavahi-common3      0.6.27-2           Avahi common library
ii  libavahi-glib1        0.6.27-2           Avahi glib integration library
ii  libavahi-ui0          0.6.27-2           Avahi GTK+ User interface library
ii  libc6                 2.11.2-6+squeeze1  Embedded GNU C Library: Shared lib
ii  libcairo2             1.8.10-6           The Cairo 2D vector graphics libra
ii  libdbus-1-3           1.2.24-3           simple interprocess messaging syst
ii  libdbus-glib-1-2      0.88-2             simple interprocess messaging syst
ii  libfontconfig1        2.8.0-2.1          generic font configuration library
ii  libfreetype6          2.4.2-1            FreeType 2 font engine, shared lib
ii  libgdu-gtk0           2.30.1-2           GTK+ standard dialog library for l
ii  libgdu0               2.30.1-2           GObject based Disk Utility Library
ii  libglib2.0-0          2.24.2-1           The GLib library of C routines
ii  libgnome-keyring0     2.30.1-1           GNOME keyring services library
ii  libgtk2.0-0           2.20.1-2           The GTK+ graphical user interface 
ii  libnautilus-extension 2.30.1-2           libraries for nautilus components 
ii  libnotify1 [libnotify 0.5.0-2            sends desktop notifications to a n
ii  libpango1.0-0         1.28.3-1           Layout and rendering of internatio
ii  libunique-1.0-0       1.1.6-1.1          Library for writing single instanc
ii  libx11-6              2:1.3.3-3          X11 client-side library
ii  zlib1g                1:1.2.3.4.dfsg-3   compression library - runtime

gnome-disk-utility recommends no packages.

gnome-disk-utility suggests no packages.

-- no debconf information

--
  intrigeri <intrigeri at boum.org>
  | GnuPG key @ https://gaffer.ptitcanardnoir.org/intrigeri/intrigeri.asc
  | OTR fingerprint @ https://gaffer.ptitcanardnoir.org/intrigeri/otr-fingerprint.asc
  | Did you exchange a walk on part in the war
  | for a lead role in the cage?





More information about the Pkg-utopia-maintainers mailing list