Blame SOURCES/at-3.1.20-log-jobs.patch
|
|
6927e7 |
diff -up at-3.1.20/atd.c.log-jobs at-3.1.20/atd.c
|
|
|
6927e7 |
--- at-3.1.20/atd.c.log-jobs 2018-05-23 15:09:35.158362293 +0200
|
|
|
6927e7 |
+++ at-3.1.20/atd.c 2018-05-23 15:18:39.153965582 +0200
|
|
|
6927e7 |
@@ -376,6 +376,10 @@ run_file(const char *filename, uid_t uid
|
|
|
6927e7 |
pabort("Userid %lu not found - aborting job %8lu (%.500s)",
|
|
|
6927e7 |
(unsigned long) uid, jobno, filename);
|
|
|
6927e7 |
}
|
|
|
6927e7 |
+
|
|
|
6927e7 |
+ syslog(LOG_INFO, "Starting job %lu (%.500s) for user '%s' (%lu)",
|
|
|
6927e7 |
+ jobno, filename, pentry->pw_name, (unsigned long) uid);
|
|
|
6927e7 |
+
|
|
|
6927e7 |
PRIV_START
|
|
|
6927e7 |
|
|
|
6927e7 |
stream = fopen(filename, "r");
|