On Sat, Mar 26, 2005 at 08:34:59PM -0500, Sam Hartman wrote: > >>>>> "Matt" == Matt Johnston <[EMAIL PROTECTED]> writes:
> Matt> The pam_mail module attempts to perform stat() of the mail > Matt> location. If the mail location is NFS mounted and that > Matt> server is unavailable, logins as any user (root included) > Matt> will hang indefinitely (hampering attempts to umount the NFS > Matt> mount etc). > Matt> A solution would probably be alarm(10); before the stat() > Matt> call in pam_mail.c > I'm a bit concerned by having a library muck with signal handling > state, but I agree this is probably the best that can be done. I'd be > happy to look at a patch for this; I doubt I'll get to it myself. It seems to me that it would be better to fix this in the mount options for the NFS mount in question... -- Steve Langasek postmodern programmer
signature.asc
Description: Digital signature