Package: gnome-mount
Version: 0.8-2
Severity: normal

I tried to create an LUKS-encrypted partition with cryptsetup. The partition 
should span the complete /dev/sdd, a 750 GB GPT-based disk. I followed 
http://www.saout.de/tikiwiki/tiki-index.php?page=EncryptedDeviceUsingLUKS which 
worked well. After Step 5 (Mount the Filesystem) the volume showed up in Main 
Menu -> Places and computer:/// with correct size, name, everything fine. Next 
I added the necessary lines to /etc/fstab (for /dev/mapper/sdd1) and 
/etc/crypttab to get the partition mounted on boot with password prompt.

After reboot, the partition is mounted correctly, but Places only shows an 
unmounted 750 GB Medium. Mounting it through Nautilus or Places fails. Removing 
the /etc/fstab entry and rebooting still gives an unmounted, unnamed media, but 
allows to mount it.

Next I tried to remove the crypttab entry as well. After running luksOpen, 
/usr/lib/gvfs/gvfs-hal-volume-monitor spawns gnome-mount for /dev/dm-0 which 
prompts for admin password to mount the disk. If provided, the partition is 
mounted, once again without a label. At this step, an entry for 
/dev/mapper/sdd1 in fstab does not change gnome-mount‘s behavior. Hence I 
determined the UUID of /dev/dm-0 and added an UUID-based fstab entry. Now the 
automatically called gnome-mount fails after luksOpen with a permission error.

Now I re-added the crypttab entry. Along with the UUID fstab entry, I get an 
automatically mounted volume /dev/dm-0 without a name. This is a working, ugly 
workaround.

The main problem is that using crypttab and fstab to automatically mount the 
volume on boot does not work.


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

Kernel: Linux 2.6.30-1-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gnome-mount depends on:
ii  eject        2.1.5+deb1+cvs20081104-6    ejects CDs and operates CD-Changer
ii  gconf2       2.26.2-2                    GNOME configuration database syste
ii  hal          0.5.12~git20090406.46dc48-2 Hardware Abstraction Layer
ii  libatk1.0-0  1.26.0-1                    The ATK accessibility toolkit
ii  libc6        2.9-12                      GNU C Library: Shared libraries
ii  libcairo2    1.8.6-2+b1                  The Cairo 2D vector graphics libra
ii  libdbus-1-3  1.2.16-2                    simple interprocess messaging syst
ii  libdbus-glib 0.80-4                      simple interprocess messaging syst
ii  libfontconfi 2.6.0-4                     generic font configuration library
ii  libfreetype6 2.3.9-4.1                   FreeType 2 font engine, shared lib
ii  libgconf2-4  2.26.2-2                    GNOME configuration database syste
ii  libglade2-0  1:2.6.4-1                   library to load .glade files at ru
ii  libglib2.0-0 2.20.4-1                    The GLib library of C routines
ii  libgnome-key 2.26.1-1                    GNOME keyring services library
ii  libgtk2.0-0  2.16.1-2                    The GTK+ graphical user interface 
ii  libhal-stora 0.5.12~git20090406.46dc48-2 Hardware Abstraction Layer - share
ii  libhal1      0.5.12~git20090406.46dc48-2 Hardware Abstraction Layer - share
ii  libnautilus- 2.26.3-1                    libraries for nautilus components 
ii  libnotify1 [ 0.4.5-1                     sends desktop notifications to a n
ii  libpango1.0- 1.24.5-1                    Layout and rendering of internatio
ii  libxml2      2.7.3.dfsg-2                GNOME XML library

gnome-mount recommends no packages.

Versions of packages gnome-mount suggests:
ii  cryptsetup                  2:1.0.7-1    configures encrypted block devices
ii  ntfs-3g                     1:2009.4.4-1 read-write NTFS driver for FUSE

-- no debconf information



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to