Blame SOURCES/at-3.1.13-log-jobs.patch
|
|
8746ec |
diff -up at-3.1.13/atd.c.log-jobs at-3.1.13/atd.c
|
|
|
8746ec |
--- at-3.1.13/atd.c.log-jobs 2017-09-14 16:00:38.109011916 +0200
|
|
|
8746ec |
+++ at-3.1.13/atd.c 2018-05-23 15:33:46.210978399 +0200
|
|
|
8746ec |
@@ -370,6 +370,10 @@ run_file(const char *filename, uid_t uid
|
|
|
8746ec |
pabort("Userid %lu not found - aborting job %8lu (%.500s)",
|
|
|
8746ec |
(unsigned long) uid, jobno, filename);
|
|
|
8746ec |
}
|
|
|
8746ec |
+
|
|
|
8746ec |
+ syslog(LOG_INFO, "Starting job %lu (%.500s) for user '%s' (%lu)",
|
|
|
8746ec |
+ jobno, filename, pentry->pw_name, (unsigned long) uid);
|
|
|
8746ec |
+
|
|
|
8746ec |
PRIV_START
|
|
|
8746ec |
|
|
|
8746ec |
stream = fopen(filename, "r");
|