Bug#453707: pam related bug in atd

2008-01-13 Thread Petter Reinholdtsen
[Christian Sievers] > There may be a prefered way to close pam's file descriptors that I > don't know. A simple fix is to just unconditionally close file > descriptor 0 again. I believe a better way to fix this is to move the closing of the PAM session below the point where stdin is reopened. He

Bug#453707: pam related bug in atd

2007-11-30 Thread Christian Sievers
Package: at Version: 3.1.10 Severity: normal Tags: patch When atd is about to send a mail, it opens the jobfile and expects open() to return file descriptor 0. This is usually fine, as atd closes all files. Unfortunately, pam may then get this file descriptor. I have indeed seen the open()ing of t