Package: pmount
Version: 0.9.20-2
Severity: normal

Hi,

in current sid, pmount fails ("Internal error: cryptsetup luksOpen
failed"). I have listed /dev/mapper/vg0-c_centos in /etc/pmount.allow,
and this is the output of pmount --debug /dev/mapper/vg0-c_centos
/media/centos:
resolved /dev/mapper/vg0-c_centos to device /dev/mapper/vg0-c_centos
Checking for device '/dev/mapper/vg0-c_centos' in '/etc/fstab'
 -> not found
mount point to be used: /media/centos
no iocharset given, current locale encoding is UTF-8
locale encoding uses UTF-8, setting iocharset to 'utf8'
locale encoding uses UTF-8: will mount FAT with utf8 optionCleaning lock 
directory /var/lock/pmount_dev_mapper_vg0-c_centos
Checking for device '/dev/mapper/vg0-c_centos' in '/etc/mtab'
 -> not found
Checking for device '/dev/mapper/vg0-c_centos' in '/proc/mounts'
 -> not found
device_whitelist: checking /etc/pmount.allow...
comparing /dev/mapper/vg0-c_centos against whitelisted 
'/dev/mapper/vg0-c_centos'
device_whitelisted(): /dev/mapper/vg0-c_centos matches, returning 1
policy check passed
spawnv(): executing /sbin/cryptsetup '/sbin/cryptsetup' 'isLuks' 
'/dev/mapper/vg0-c_centos'
spawn(): /sbin/cryptsetup terminated with status 0
spawnv(): executing /sbin/cryptsetup '/sbin/cryptsetup' 'luksOpen' 
'/dev/mapper/vg0-c_centos' '_dev_mapper_vg0-c_centos'
spawn(): /sbin/cryptsetup terminated with status 234
Internal error: cryptsetup luksOpen failed mh$

(please note the missing carriage return at the end of the error
message).

However, manually invoking cryptsetup works just fine:
$ sudo cryptsetup luksOpen /dev/mapper/vg0-c_centos _dev_mapper_vg0-c_centos
[sudo] password for mh on swivel:
Enter passphrase for /dev/mapper/vg0-c_centos:
Key slot 0 unlocked.
$ echo $?
0
$

This might also help:
$ which-pkg-broke pmount
Package <debconf-2.0> has no install time info
sensible-utils                                         Wed Apr  8 03:33:52 2009
libdbus-1-3                                            Thu Jul 23 10:12:13 2009
passwd                                                 Sun Jul 26 12:22:47 2009
libhal1                                                Wed Aug 19 08:45:45 2009
debianutils                                            Wed Aug 19 08:46:37 2009
libhal-storage1                                        Wed Aug 19 08:51:31 2009
libdb4.7                                               Sun Sep 27 09:18:19 2009
libpam0g                                               Sun Sep 27 09:19:08 2009
libpam-modules                                         Sun Sep 27 09:19:51 2009
pmount                                                 Sun Sep 27 09:27:48 2009
libc-bin                                               Fri Oct  2 19:14:58 2009
libc6                                                  Fri Oct  2 19:15:04 2009
gcc-4.4-base                                           Sat Oct 10 19:23:46 2009
libgcc1                                                Sat Oct 10 19:23:48 2009
libuuid1                                               Fri Oct 16 19:10:26 2009
libblkid1                                              Fri Oct 16 19:10:34 
2009libselinux1                                            Fri Oct 16 19:10:37 
2009

Greetings
Marc

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

Kernel: Linux 2.6.31.4-zgws1 (SMP w/1 CPU core; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages pmount depends on:
ii  libblkid1                     2.16.1-4   block device id library
ii  libc6                         2.9-27     GNU C Library: Shared libraries
ii  libdbus-1-3                   1.2.16-2   simple interprocess messaging syst
ii  libhal-storage1               0.5.13-3   Hardware Abstraction Layer - share
ii  libhal1                       0.5.13-3   Hardware Abstraction Layer - share

pmount recommends no packages.

Versions of packages pmount suggests:
ii  cryptsetup                 2:1.1.0~rc2-1 configures encrypted block devices
ii  hal                        0.5.13-3      Hardware Abstraction Layer

-- 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