Package: sudo
Version: 1.8.2-1
Severity: important

After upgrading sudo, I noticed that my ecryptfs encrypted home
directory was unmounted after using sudo. Specifically, after
a newly authenticated a sudo session was finished.

The encrypted home dir is mounted automatically through
pam_ecryptfs.so and is meant to be unmounted only when the last
session is closed.

For this purpose, ecryptfs keeps track of the mount count in
/dev/shm/ecryptfs-$USER-Private. Only when the count reaches 0
is the umount performed.

This worked with all versions of sudo until now. The changed
PAM configuration has the effect that at the start of a sudo
session the ecryptfs mount count is *not* incremented, while it
is decremented when the session ends. When the counter reaches
0, this causes the encrypted directory to be unmounted.


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

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

Versions of packages sudo depends on:
ii  libc6                         2.13-16    Embedded GNU C Library: 
Shared lib
ii  libpam-modules                1.1.3-2    Pluggable Authentication 
Modules f
ii  libpam0g                      1.1.3-2    Pluggable Authentication 
Modules l

sudo recommends no packages.

sudo suggests no packages.

-- Configuration Files:
/etc/sudoers [Errno 13] Permission denied: u'/etc/sudoers'
/etc/sudoers.d/README [Errno 13] Permission denied: 
u'/etc/sudoers.d/README'

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to