Package: libpam-mount
Version: 2.8-1
Severity: important

I can mount an encrypted partition with mount.crypt but umount.crypt
refuses to unmount it. umount.crypt gives the error "/tmp/mnt is not
mounted (according to cmtab)" but it does remove the correct line from
/var/run/cmtab.

This bugs means that when I logout all my encrypted partitions are still
mounted and available.

: root@kooka; mount | grep sdc3
: root@kooka; mount.crypt /dev/sdc3 /tmp/mnt
Password:
: root@kooka; cat /var/run/cmtab
/tmp/mnt        /dev/sdc3       -       /dev/mapper/_dev_sdc3
: root@kooka; mount | grep sdc3
/dev/mapper/_dev_sdc3 on /tmp/mnt type ext4 (rw,relatime,barrier=1,data=ordered)
: root@kooka; l /dev/mapper/_dev_sdc3
lrwxrwxrwx 1 root root 8 Jan 16 14:13 /dev/mapper/_dev_sdc3 -> ../dm-31
: root@kooka; umount.crypt /tmp/mnt
/tmp/mnt is not mounted (according to cmtab)
: root@kooka; cat /var/run/cmtab
: root@kooka; umount /tmp/mnt
: root@kooka; cryptsetup remove _dev_sdc3
: root@kooka; l /dev/mapper/_dev_sdc3
/bin/ls: cannot access /dev/mapper/_dev_sdc3: No such file or directory

thanks for any help!
Stuart Pook


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

Kernel: Linux 2.6.37-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libpam-mount depends on:
ii  libc6                       2.11.2-8     Embedded GNU C Library: Shared lib
ii  libcryptsetup1              2:1.1.3-4    libcryptsetup shared library
ii  libhx25                     3.8-1        A library providing queue, tree, I
ii  libpam-runtime              1.1.1-6.1    Runtime support for the PAM librar
ii  libpam0g                    1.1.1-6.1    Pluggable Authentication Modules l
ii  libssl0.9.8                 0.9.8o-4     SSL shared libraries
ii  libxml2                     2.7.8.dfsg-2 GNOME XML library
ii  mount                       2.17.2-7     Tools for mounting and manipulatin

libpam-mount recommends no packages.

Versions of packages libpam-mount suggests:
pn  davfs2                     <none>        (no description available)
ii  fuse-utils                 2.8.4-1.1     Filesystem in USErspace (utilities
ii  lsof                       4.81.dfsg.1-1 List open files
pn  ncpfs                      <none>        (no description available)
ii  openssl                    0.9.8o-4      Secure Socket Layer (SSL) binary a
ii  psmisc                     22.13-1       utilities that use the proc file s
pn  smbfs                      <none>        (no description available)
ii  sshfs                      2.2-1         filesystem client based on SSH Fil
pn  tc-utils                   <none>        (no description available)
pn  xfsprogs                   <none>        (no description available)

-- Configuration Files:
/etc/security/pam_mount.conf.xml changed [not included]

-- debconf-show failed



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to