Package: pmount
Version: 0.9.21-1
Severity: normal

Hi,

when doing a pumount, the crypto device remains opened. Debug output
looks like cryptsetup luksClose is called, but returns exit code 1 for
some reason. A manual cryptsetup luksClose immediately afterwards
works, and cryptsetup's error message (if there is one) is not printed
by pmount.

Greetings
Marc

$ pumount -d /media/centos/
checking whether /media/centos/ is a mounted directory
resolved mount point /media/centos/ to device 
/dev/mapper/_dev_mapper_swivel-c_centos
resolved /dev/mapper/_dev_mapper_swivel-c_centos to device 
/dev/mapper/_dev_mapper_swivel-c_centos
Checking for device '/dev/mapper/_dev_mapper_swivel-c_centos' in '/etc/fstab'
 -> not found
Checking for device '/dev/mapper/_dev_mapper_swivel-c_centos' in '/etc/mtab'
 -> found as '/dev/mapper/_dev_mapper_swivel-c_centos'
policy check passed
spawnv(): executing /bin/umount '/bin/umount' 
'/dev/mapper/_dev_mapper_swivel-c_centos'
spawn(): /bin/umount terminated with status 0
spawnv(): executing /sbin/cryptsetup 'luksClose' 
'/dev/mapper/_dev_mapper_swivel-c_centos'
spawn(): /sbin/cryptsetup terminated with status 1
Removing luks lockfile 
'/var/lock/pmount_luks/_dev_mapper__dev_mapper_swivel-c_centos' for device 
'/dev/mapper/_dev_mapper_swivel-c_centos'
$ sudo cryptsetup luksClose /dev/mapper/_dev_mapper_swivel-c_centos
$ echo $?
0
$


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

Kernel: Linux 2.6.33.3-zgws1 (SMP w/2 CPU cores; 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.2-0   block device id library
ii  libc6                         2.10.2-8   Embedded GNU C Library: Shared lib
ii  libdbus-1-3                   1.2.24-1   simple interprocess messaging syst
ii  libhal-storage1               0.5.14-2   Hardware Abstraction Layer - share
ii  libhal1                       0.5.14-2   Hardware Abstraction Layer - share

pmount recommends no packages.

Versions of packages pmount suggests:
ii  cryptsetup                   2:1.1.0-2.1 configures encrypted block devices
ii  hal                          0.5.14-2    Hardware Abstraction Layer

-- Configuration Files:
/etc/pmount.allow changed:
/dev/mapper/swivel-c_centos
/dev/mapper/swivel-c_centos2
/dev/mapper/swivel-marte
/dev/mapper/swivel-c_temp2


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