Package: libpam-afs-session Version: 1.7-2 Severity: normal
When using pam_afs_session with local logins for vsftp, a vsftp process hangs on wait4() shortly after completing pam_setcred(), hanging the ftp connection. While running pam, vsftp has a handler for SIGCHLD installed, recording the signal for the exit of /usr/bin/aklog. The pending signal is then acted upon later on in vsftp, resulting in a wait4() that has no chance of completing. Comparing with other PAM modules, I found that pam_tmpdir also runs a helper application, but in contrast to pam_afs_session, a default signal handler for SIGCHLD in installed for the duration of the fork()-wait(). It seems reasonable that also pam_afs_session should make sure that a signal handler for SIGCHLD from the calling process is not triggered by the running of aklog. Thanks Arne -- System Information: Debian Release: 6.0.1 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores) Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages libpam-afs-session depends on: ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib ii libkrb5-3 1.8.3+dfsg-4 MIT Kerberos runtime libraries 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 Versions of packages libpam-afs-session recommends: ii heimdal-cl 1.4.0~git20100726.dfsg.1-1+b1 Heimdal Kerberos - clients ii libpam-krb 4.3-1 PAM module for MIT Kerberos ii openafs-cl 1.4.12.1+dfsg-4 AFS distributed filesystem client ii openafs-kr 1.4.12.1+dfsg-4 AFS distributed filesystem Kerbero libpam-afs-session suggests no packages. -- 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