Package: pmount
Version: 0.9.19-1
Severity: minor

+ pumount 
/dev/disk/by-id/usb-WD_10EACS_External_57442D574341553438393238333532-0:0
umount: /dev/mapper/_dev_sdc: not mounted
Error: umount failed

As a consequence, /dev/mapper/_dev_sdc is not removed. I think thet
luks_release should be called unconditionally after the umount. In
the above case, the mapping would have been removed. If the umount
failed due to other reasons, e.g. EBUSY, then luks_release would
just also fail. Alternatively, luks_release could be called in
special cases only, or maybe better would be a list of errors when
luks_release should not be called, defaulting to calling it in all
other cases.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-rc3-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pmount depends on:
ii  libblkid1                     2.16-3     block device id library
ii  libc6                         2.9-25     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.0.7-1  configures encrypted block devices
ii  hal                           0.5.13-3   Hardware Abstraction Layer

-- no debconf information


-- 
 .''`.   martin f. krafft <madd...@d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)

Reply via email to