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