* start_servers_local: Set names of replay cache and log files to be per-user,
authorKen Raeburn <raeburn@mit.edu>
Fri, 18 Oct 2002 02:35:34 +0000 (02:35 +0000)
committerKen Raeburn <raeburn@mit.edu>
Fri, 18 Oct 2002 02:35:34 +0000 (02:35 +0000)
since they're in system-wide shared directories.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14931 dc483132-0cff-0310-8789-dd5450dbe970

src/kadmin/testing/scripts/ChangeLog
src/kadmin/testing/scripts/start_servers_local

index 90b77e39d8f32f758822161370daf211d15f9e63..04da649142c9e1b678d9188bbc452479a9a29f47 100644 (file)
@@ -1,3 +1,8 @@
+2002-10-17  Ken Raeburn  <raeburn@mit.edu>
+
+       * 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  <raeburn@mit.edu>
 
        * start_servers_local: Telnet to 127.0.0.1, not "localhost", to
index 6262ae1b587dd14200cf1d7a208179fc4a5eacc5..e94d13998013b6f2b7ac7c6b8330221a4b98fef6 100644 (file)
@@ -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