Bug#354796: gnome-volume-manager: Prompts for password for already-unlocked encrypted hard drive

2007-03-19 Thread Mike Brodbelt
Package: gnome-volume-manager
Version: 1.5.15-2
Followup-For: Bug #354796

I also see this bug - my encrypted partition is /dev/sda5, and it contains 
filesystems
in LVM. The partition is unlocked at boot, but GVM doesn'y notice this.

Mike

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.20.3
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages gnome-volume-manager depends on:
ii  gconf2 2.16.1-1  GNOME configuration database syste
ii  hal0.5.8.1-9 Hardware Abstraction Layer
ii  libart-2.0-2   2.3.17-1  Library of functions for 2D graphi
ii  libatk1.0-01.12.4-3  The ATK accessibility toolkit
ii  libbonobo2-0   2.14.0-3  Bonobo CORBA interfaces library
ii  libbonoboui2-0 2.14.0-5  The Bonobo UI library
ii  libc6  2.3.6.ds1-13  GNU C Library: Shared libraries
ii  libcairo2  1.2.4-4   The Cairo 2D vector graphics libra
ii  libdbus-1-31.0.2-1   simple interprocess messaging syst
ii  libdbus-glib-1-2   0.71-3simple interprocess messaging syst
ii  libfontconfig1 2.4.2-1.2 generic font configuration library
ii  libgconf2-42.16.1-1  GNOME configuration database syste
ii  libgksuui1.0-1 1.0.7-2   a graphical fronted to su library
ii  libglade2-01:2.6.0-4 library to load .glade files at ru
ii  libglib2.0-0   2.12.6-2  The GLib library of C routines
ii  libgnome-keyring0  0.6.0-3   GNOME keyring services library
ii  libgnome2-02.16.0-2  The GNOME 2 library - runtime file
ii  libgnomecanvas2-0  2.14.0-2  A powerful object-oriented display
ii  libgnomeui-0   2.14.1-2  The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0 1:2.14.2-7GNOME virtual file-system (runtime
ii  libgtk2.0-02.8.20-7  The GTK+ graphical user interface 
ii  libhal10.5.8.1-9 Hardware Abstraction Layer - share
ii  libice61:1.0.1-2 X11 Inter-Client Exchange library
ii  liborbit2  1:2.14.4-1libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0  1.14.8-5  Layout and rendering of internatio
ii  libpopt0   1.10-3lib for parsing cmdline parameters
ii  libsm6 1:1.0.1-3 X11 Session Management library
ii  libx11-6   2:1.0.3-6 X11 client-side library
ii  libxcursor11.1.7-4   X cursor management library
ii  libxext6   1:1.0.1-2 X11 miscellaneous extension librar
ii  libxfixes3 1:4.0.1-5 X11 miscellaneous 'fixes' extensio
ii  libxi6 1:1.0.1-4 X11 Input extension library
ii  libxinerama1   1:1.0.1-4.1   X11 Xinerama extension library
ii  libxml22.6.27.dfsg-1 GNOME XML library
ii  libxrandr2 2:1.1.0.2-5   X11 RandR extension library
ii  libxrender11:0.9.1-3 X Rendering Extension client libra
ii  pmount 0.9.13-1+b1   mount removable devices as normal 

Versions of packages gnome-volume-manager recommends:
pn  gnome-media   none (no description available)
pn  gthumbnone (no description available)
pn  nautilus-cd-burnernone (no description available)
pn  totem none (no description available)

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#354796: gnome-volume-manager: Prompts for password for already-unlocked encrypted hard drive

2006-02-28 Thread Mike Paul
Package: gnome-volume-manager
Version: 1.4.0-4
Severity: normal

When I log into GNOME on my laptop, whose hard drive is encrypted, I get 
a password prompt because gnome-volume-manager has noticed an encrypted 
partition and wants to mount it.  This is inappropriate since the hard 
drive partition in question is already unlocked, mounted, and in 
active use.

This started a few weeks ago -- I believe it's due to the following 
change in HAL 0.5.6-2:

  * Because the addons run with root privs. now, harddisk properties are
available (Closes: #290653)

It seems that g-v-m now notices that there's an encrypted partition on 
the hard drive, which in the past it was unaware of due to HAL not 
having permission to examine the hard drive.

Killing gnome-volume-manager and restarting it from a terminal, I see 
the following output:

  manager.c/1788: mount_all: mounting /dev/sda2
  manager.c/1127: mounting 
  /org/freedesktop/Hal/devices/volume_uuid_1B33_0A00...
  manager.c/568: executing command: /usr/bin/pmount-hal 
  /org/freedesktop/Hal/devices/volume_uuid_1B33_0A00
  Error: device /dev/sda2 is not removable
  Error: could not execute pmount
  manager.c/1788: mount_all: mounting /dev/sda3

/dev/sda3 is the encrypted volume; /dev/sda2 is a service partition that 
came preinstalled on the laptop.  These messages tell me that g-v-m uses 
pmount-hal to actually (attempt to) mount things, but that it's 
prompting for the password on its own initiative *before* running 
pmount-hal for the encrypted partition.  No further messages are 
printed after I cancel the password dialog.

I don't know the details of how g-v-m discovers and handles encrypted 
volumes, so I'm not quite sure whether this is actually a g-v-m bug or a 
HAL bug.  But I think it shouldn't attempt to unlock an encrypted volume 
that's already unlocked and available.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages gnome-volume-manager depends on:
ii  gconf2   2.12.1-9GNOME configuration database syste
ii  hal  0.5.6-4 Hardware Abstraction Layer
ii  libart-2.0-2 2.3.17-1Library of functions for 2D graphi
ii  libatk1.0-0  1.10.3-1The ATK accessibility toolkit
ii  libbonobo2-0 2.10.1-1Bonobo CORBA interfaces library
ii  libbonoboui2-0   2.10.1-2The Bonobo UI library
ii  libc62.3.6-2 GNU C Library: Shared libraries an
ii  libcairo21.0.2-3 The Cairo 2D vector graphics libra
ii  libdbus-1-2  0.61-2  simple interprocess messaging syst
ii  libdbus-glib-1-2 0.61-2  simple interprocess messaging syst
ii  libfontconfig1   2.3.2-2 generic font configuration library
ii  libgconf2-4  2.12.1-9GNOME configuration database syste
ii  libgksuui1.0-1   1.0.7-1 a graphical fronted to su library
ii  libglade2-0  1:2.5.1-2   library to load .glade files at ru
ii  libglib2.0-0 2.8.6-1 The GLib library of C routines
ii  libgnome-keyring00.4.8-1 GNOME keyring services library
ii  libgnome2-0  2.12.0.1-5  The GNOME 2 library - runtime file
ii  libgnomecanvas2-02.12.0-2A powerful object-oriented display
ii  libgnomeui-0 2.12.1-1The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0   2.12.2-6GNOME virtual file-system (runtime
ii  libgtk2.0-0  2.8.12-1The GTK+ graphical user interface 
ii  libhal1  0.5.6-4 Hardware Abstraction Layer - share
ii  libice6  6.9.0.dfsg.1-4  Inter-Client Exchange library
ii  liborbit21:2.12.4-1  libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-01.10.4-1Layout and rendering of internatio
ii  libpopt0 1.7-5   lib for parsing cmdline parameters
ii  libsm6   6.9.0.dfsg.1-4  X Window System Session Management
ii  libx11-6 6.9.0.dfsg.1-4  X Window System protocol client li
ii  libxcursor1  1.1.3-1 X cursor management library
ii  libxext6 6.9.0.dfsg.1-4  X Window System miscellaneous exte
ii  libxi6   6.9.0.dfsg.1-4  X Window System Input extension li
ii  libxinerama1 6.9.0.dfsg.1-4  X Window System multi-head display
ii  libxml2  2.6.23.dfsg.2-2 GNOME XML library
ii  libxrandr2   6.9.0.dfsg.1-4  X Window System Resize, Rotate and
ii  libxrender1  1:0.9.0.2-1 X Rendering Extension client libra
ii  pmount   0.9.8-1