I've found a workaround in the source code. If you move the pam_close_session() and pam_end() to the section after the jobfile is read, the output is read and the mail is sent out fine.
I'm not sure why this requires a code change in lucid. Presumably this can be fixed with some other PAM configuration, but that's for another time. To workaround: 1. download “at” 3.1.12-1ubuntu2 from https://launchpad.net/ubuntu/+source/at/3.1.12-1ubuntu2 (presumably this would also work with 3.1.11 downloaded with "apt-get source at") 2. apply the ubuntu patch (at_3.1.12-1ubuntu2.diff.gz), and my patch 3. compile with dpkg-buildpackage and install the resulting *.deb file. ** Patch added: "workaround solution to "jobfile not found" problem" https://bugs.launchpad.net/ubuntu/+source/at/+bug/787125/+attachment/2225989/+files/atd-jobfile-787125.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/787125 Title: atd fails to mail output of commands (Open of jobfile failed) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/at/+bug/787125/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
