Package: libpam-mount
Version: 2.10-2
Severity: important
When logging in as ordinary user, pam_mount is mounting two LUKS-filesystems.
After each command that is executed with "sudo", pam_mount tries to unmount the
two volumes.
The reason seems to be, that "sudo" causes /var/run/pam_mount/root to be
increased by one, but afterwards, decreases /var/run/pam_mount/$USER by one.
Which in turn, when reached zero, causes the volumes to be unmounted.
The problem arose between 2011-09-09 and 2011-09-11, after an "aptitude
update/upgrade" of wheezy.
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (900, 'testing'), (800, 'stable'), (600, 'unstable'), (500,
'stable-updates')
Architecture: amd64 (x86_64)
Kernel: Linux 3.0.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libpam-mount depends on:
ii libc6 2.13-18
ii libcryptsetup1 2:1.3.0-3
ii libhx27 3.10.1-3
ii libpam-runtime 1.1.3-2
ii libpam0g 1.1.3-2
ii libssl1.0.0 1.0.0d-3
ii libxml2 2.7.8.dfsg-4
ii mount 2.19.1-5
libpam-mount recommends no packages.
Versions of packages libpam-mount suggests:
pn davfs2 <none>
pn fuse-utils 2.8.5-4
pn lsof 4.81.dfsg.1-1
pn ncpfs <none>
pn openssl 1.0.0d-3
pn psmisc 22.13-1
pn smbfs <none>
pn sshfs <none>
pn tc-utils <none>
pn xfsprogs <none>
-- Configuration Files:
/etc/security/pam_mount.conf.xml changed:
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE pam_mount SYSTEM "pam_mount.conf.xml.dtd">
<!--
See pam_mount.conf(5) for a description.
-->
<pam_mount>
<!-- debug should come before everything else,
since this file is still processed in a single pass
from top-to-bottom -->
<debug enable="0" />
<!-- Volume definitions -->
<volume
user="germann"
fstype="crypt"
path="/dev/mapper/vg_media-lv_data2"
mountpoint="/mnt/disk2/data" />
<volume
user="germann"
fstype="crypt"
path="/dev/mapper/vg_array1-lv_germann"
mountpoint="/home/germann" />
<!-- pam_mount parameters: General tunables -->
<!--
<luserconf name=".pam_mount.conf.xml" />
-->
<!-- Note that commenting out mntoptions will give you the defaults.
You will need to explicitly initialize it with the empty string
to reset the defaults to nothing. -->
<mntoptions
allow="nosuid,nodev,loop,encryption,fsck,nonempty,allow_root,allow_other" />
<!--
<mntoptions deny="suid,dev" />
<mntoptions allow="*" />
<mntoptions deny="*" />
-->
<mntoptions require="nosuid,nodev" />
<logout wait="0" hup="0" term="0" kill="0" />
<!-- pam_mount parameters: Volume-related -->
<mkmountpoint enable="1" remove="true" />
</pam_mount>
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]