https://bugzilla.novell.com/show_bug.cgi?id=671276 https://bugzilla.novell.com/show_bug.cgi?id=671276#c0 Summary: pam_mount leaves stuff in /dev/mapper and does not unmount encrypted partitions Classification: openSUSE Product: openSUSE 11.4 Version: RC 1 Platform: i686 OS/Version: SuSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: buschmann23@opensuse.org QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0b11) Gecko/20110203 Firefox/4.0b11 I am using a home partition that is encrypted with LUKS. A passphrase is used to authenticate and the volume is automaticaly mounted at login through pam_mount. After upgrading fom oS 11.3 to oS 11.4 RC1 this does not work correct anymore. The first login works, but when I logout and then try to login, pam_mount prints only some error logs and does not mount the volume again. The reason is that the partition is not unmounted from device mapper. The mountpoint (/dev/mapper/_dev_sda3 -> /home) is cleaned from mtab, but _dev_sda3 is still present in /dev/mapper. When I close the LUKS volume manually with cryptsetup luksClose _dev_sda3 /dev/mapper is clean and I can use pam_mount again... Till the next logout. When I mount it manually with mount.crypt and than try to unmount it with umount.crypt, umount.crypt tells me, that it is not mounted - but it is. #~ mount.crypt /dev/sda3 /home Password: That works. #~ umount.crypt /home /home is not mounted (according to cmtab) After mount.crypt /var/run/cmtab contains the information. But after using umount.crypt cmtab is empty. The mountpoint still is in /etc/mtab and the partition ist still correctly mounted. I can unmount it completely manual by using umount and cryptsetup. Reproducible: Always Steps to Reproduce: 1. Having a LUKS formatted and encryptet partition /dev/sda3, want to mount it on /home 2. mount.crypt /dev/sda3 /home 3. Entering password, all works, partition is mounted. 4. umount.crypt /home prints /home is not mounted (according to cmtab) Actual Results: Partition gets not unmounted or is still under /dev/mapper as _dev_sda3. Expected Results: Partition should be unmounted completely, from /home and from /dev/mapper/_dev_sda3. This setup was created manually in openSUSE 11.3, without YaST, and worked properly there. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.