- avoid double-logging in the servers by avoiding processing of the same

configuration file twice
This commit is contained in:
Nalin Dahyabhai 2009-06-04 19:32:36 +00:00
parent f4932dde69
commit 7520433037

17
krb5-1.7-doublelog.patch Normal file
View File

@ -0,0 +1,17 @@
Don't double-log (actually, don't process /etc/krb5.conf twice) just
because we built with --sysconfdir=/etc. RT#3277
diff -up krb5-1.7/src/include/Makefile.in krb5-1.7/src/include/Makefile.in
--- krb5-1.7/src/include/Makefile.in 2009-04-15 16:06:35.000000000 -0400
+++ krb5-1.7/src/include/Makefile.in 2009-06-04 14:35:12.000000000 -0400
@@ -67,7 +67,9 @@ PROCESS_REPLACE = -e "s+@KRB5RCTMPDIR+$(
-e "s+@MODULEDIR+$(MODULE_DIR)+" \
-e "s+@GSSMODULEDIR+$(GSS_MODULE_DIR)+" \
-e 's+@LOCALSTATEDIR+$(LOCALSTATEDIR)+' \
- -e 's+@SYSCONFDIR+$(SYSCONFDIR)+'
+ -e 's+@SYSCONFDIR+$(SYSCONFDIR)+' \
+ -e 's+:/etc/krb5.conf:/etc/krb5.conf"+:/etc/krb5.conf"+' \
+ -e 's+"/etc/krb5.conf:/etc/krb5.conf"+"/etc/krb5.conf"+'
OSCONFSRC = $(srcdir)/osconf.hin