[Bug 787125] Re: atd fails to mail output of commands (Open of jobfile failed)
Please reply if this is still an issue on a supported release. ** Changed in: at (Ubuntu) Status: New = Invalid -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to at in 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-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 787125] Re: atd fails to mail output of commands (Open of jobfile failed)
Please reply if this is still an issue on a supported release. ** Changed in: at (Ubuntu) Status: New = Invalid -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 787125] Re: atd fails to mail output of commands (Open of jobfile failed)
I just tested this in 11.04 (natty), and at(1) can send mail without error. This is annoying, because I cannot upgrade my desktop system at this time because it is not an LTS release. -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 787125] Re: atd fails to mail output of commands (Open of jobfile failed)
I downloaded at 3.1.12-1ubuntu2, which is the version in natty, built it and installed it, and it fails with the same error. Looks like the problem is with something in the system setup, and not the at package itself. -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 787125] Re: atd fails to mail output of commands (Open of jobfile failed)
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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 787125] Re: atd fails to mail output of commands (Open of jobfile failed)
** Tags added: 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 787125] Re: atd fails to mail output of commands (Open of jobfile failed)
FYI: the output of the job is successfully stored /var/spool/cron/atspool/, so whatever is trying to send the job output as mail is failing. -- 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) -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 787125] Re: atd fails to mail output of commands (Open of jobfile failed)
-- 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) -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs