diff options
author | Ken Raeburn <raeburn@mit.edu> | 2002-10-18 02:35:34 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@mit.edu> | 2002-10-18 02:35:34 +0000 |
commit | 4824c17e6a983c7e1335b500f4bf3e6849af6adf (patch) | |
tree | 5c1fbcd4ca0a2627a87bb46c0a47deb24408658e /src/kadmin | |
parent | 8724846cb77fedb7574844db8d0b2ead3f380327 (diff) | |
download | krb5-4824c17e6a983c7e1335b500f4bf3e6849af6adf.tar.gz krb5-4824c17e6a983c7e1335b500f4bf3e6849af6adf.tar.xz krb5-4824c17e6a983c7e1335b500f4bf3e6849af6adf.zip |
* 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
Diffstat (limited to 'src/kadmin')
-rw-r--r-- | src/kadmin/testing/scripts/ChangeLog | 5 | ||||
-rw-r--r-- | src/kadmin/testing/scripts/start_servers_local | 8 |
2 files changed, 10 insertions, 3 deletions
diff --git a/src/kadmin/testing/scripts/ChangeLog b/src/kadmin/testing/scripts/ChangeLog index 90b77e39d8..04da649142 100644 --- a/src/kadmin/testing/scripts/ChangeLog +++ b/src/kadmin/testing/scripts/ChangeLog @@ -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 diff --git a/src/kadmin/testing/scripts/start_servers_local b/src/kadmin/testing/scripts/start_servers_local index 6262ae1b58..e94d139980 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 |