From: Ken Raeburn Date: Fri, 18 Oct 2002 02:35:34 +0000 (+0000) Subject: * start_servers_local: Set names of replay cache and log files to be per-user, X-Git-Tag: krb5-1.3-alpha1~320 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4824c17e6a983c7e1335b500f4bf3e6849af6adf;p=krb5.git * start_servers_local: Set names of replay cache and log files to be per-user, since they're in system-wide shared directories. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14931 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/kadmin/testing/scripts/ChangeLog b/src/kadmin/testing/scripts/ChangeLog index 90b77e39d..04da64914 100644 --- a/src/kadmin/testing/scripts/ChangeLog +++ b/src/kadmin/testing/scripts/ChangeLog @@ -1,3 +1,8 @@ +2002-10-17 Ken Raeburn + + * start_servers_local: Set names of replay cache and log files to + be per-user, since they're in system-wide shared directories. + 2002-10-16 Ken Raeburn * start_servers_local: Telnet to 127.0.0.1, not "localhost", to diff --git a/src/kadmin/testing/scripts/start_servers_local b/src/kadmin/testing/scripts/start_servers_local index 6262ae1b5..e94d13998 100644 --- a/src/kadmin/testing/scripts/start_servers_local +++ b/src/kadmin/testing/scripts/start_servers_local @@ -114,8 +114,10 @@ kdc_start_file=/tmp/kdc_server_start.$$ rm -f $kdc_start_file -(trap "" 2; cd $TOP/../kdc; ./krb5kdc; touch $kdc_start_file) \ - < /dev/null > $usrtmp/kdc-log 2>&1 & +kdc_args="-R dfl:kdc_rcache.$USER" + +(trap "" 2; cd $TOP/../kdc; ./krb5kdc $kdc_args; touch $kdc_start_file) \ + < /dev/null > $usrtmp/kdc-log.$USER 2>&1 & s=10 max_s=60 @@ -126,7 +128,7 @@ while true; do rm -f $adm_start_file (sleep 5; cd $TOP/server; ./kadmind $ovadm_args; \ - touch $adm_start_file) < /dev/null > $usrtmp/kadm-log 2>&1 & + touch $adm_start_file) < /dev/null > $usrtmp/kadm-log.$USER 2>&1 & # wait until they start