Package: pmount Version: 0.9.19-1 Severity: normal If pumount is told to be --lazy on a crypto-volume, it essentially calls /sbin/umount -l, but then immediately runs luks_release, which will fail:
% sudo cryptsetup -d $HOME/keys/backup/backupdisk.key luksOpen /dev/sdc
_dev_sdc
key slot 0 unlocked.
Command successful.
% sudo mount /dev/mapper/_dev_sdc /mnt
% (cd /mnt && sleep 300) &
% sudo umount /mnt
umount: /mnt: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
% sudo umount -l /mnt
% sudo cryptsetup luksClose /dev/mapper/_dev_sdc
Command failed: Device busy
[waiting…]
[1] + done (; cd /mnt && sleep 300; )
% sudo cryptsetup luksClose /dev/mapper/_dev_sdc
%
Either pumount should not offer --lazy for crypto-volumes, or it
should spawn a process (or some other means) to release the
crypto-volume as soon as the device has actually been unmounted.
-- 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 <[email protected]> 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
digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)

