SOURCES: vixie-cron-syslog-facility.patch (NEW) - fix for syslog f...

hawk hawk at pld-linux.org
Wed Aug 3 15:33:27 CEST 2005


Author: hawk                         Date: Wed Aug  3 13:33:27 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix for syslog facility

---- Files affected:
SOURCES:
   vixie-cron-syslog-facility.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/vixie-cron-syslog-facility.patch
diff -u /dev/null SOURCES/vixie-cron-syslog-facility.patch:1.1
--- /dev/null	Wed Aug  3 15:33:27 2005
+++ SOURCES/vixie-cron-syslog-facility.patch	Wed Aug  3 15:33:22 2005
@@ -0,0 +1,13 @@
+--- do_command.c.orig	2005-08-03 15:07:25.718165312 +0200
++++ do_command.c	2005-08-03 15:13:43.082797168 +0200
+@@ -159,6 +159,10 @@
+ 	PAM_FAIL_CHECK;
+ 	retcode = pam_setcred(pamh, PAM_ESTABLISH_CRED | PAM_SILENT);
+ 	PAM_FAIL_CHECK;
++	/* PAM has reopened syslog with facility AUTH. we must close
++	 * in order to log with correct facility in misc.c
++	 */
++	log_close();
+ 
+ 	/* fork again, this time so we can exec the user's command.
+ 	 */
================================================================



More information about the pld-cvs-commit mailing list