daemon, the last line in the log file might read "Seeding random
number" for a second. If that is the case, wait three seconds and
refetch the last line of the log file to look for the "starting
kadmind message"
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14158
dc483132-0cff-0310-8789-
dd5450dbe970
+2002-02-20 Ezra Peisach <epeisach@mit.edu>
+
+ * default.exp (start_kerberos_daemons): In starting the kadmin
+ daemon, the last line in the log file might read "Seeding random
+ number" for a second. If that is the case, wait three seconds and
+ refetch the last line of the log file to look for the "starting
+ kadmind message"
+
2002-01-08 Ken Raeburn <raeburn@mit.edu>
* default.exp (start_kerberos_daemons): When standalone, delete
unset start_save_ktname
}
- switch -regexp [tail1 $kadmind_lfile] {
+ set line [tail1 $kadmind_lfile]
+ switch -regexp $line {
+ "Seeding random number" {
+ # Wait a few seconds and get the new line
+ sleep 3
+ set line [tail1 $kadmind_lfile]
+ }
+ }
+
+ switch -regexp $line {
"cannot initialize network" {
if {$standalone} {
verbose -log "kadmind failed network init"