Package: at Version: 3.1.12-1 (git 98457a2f38e638d548211a3f696078f55bbbb1c0)
The problem seems to be quite stable since some years: When using pam with at the atd changes persona before the most inner fork @ atd.c:397 This causes the (completly useless?) chdir into the atjob dir to fail @ atd.c:422f, which leads into a critical error during job execution, also seen in syslog. A patched version simply removing the chdir call works fine. diff --git a/atd.c b/atd.c index feaeeea..048d5a5 100644 --- a/atd.c +++ b/atd.c @@ -419,8 +419,6 @@ run_file(const char *filename, uid_t uid, gid_t gid) close(fd_in); close(fd_out); - if (chdir(ATJOB_DIR) < 0) - perr("Cannot chdir to " ATJOB_DIR); PRIV_START
pgpGz3nW9mIKG.pgp
Description: PGP signature