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