svn rev #25463: branches/krb5-1-8/src/kadmin/server/

tlyu@MIT.EDU tlyu at MIT.EDU
Tue Nov 8 17:21:33 EST 2011


http://src.mit.edu/fisheye/changelog/krb5/?cs=25463
Commit By: tlyu
Log Message:
ticket: 7011
subject: Exit on error in kadmind kprop child
version_fixed: 1.8.6
status: resolved

pull up r25433 from trunk

 ------------------------------------------------------------------------
 r25433 | ghudson | 2011-11-04 01:53:23 -0400 (Fri, 04 Nov 2011) | 9 lines

 ticket: 7000
 subject: Exit on error in kadmind kprop child
 target_version: 1.10
 tags: pullup

 When we fork from kadmind to dump the database and kprop to an iprop
 slave, if we encounter an error in the child process we should exit
 rather than returning to the main loop.


Changed Files:
U   branches/krb5-1-8/src/kadmin/server/ipropd_svc.c
Modified: branches/krb5-1-8/src/kadmin/server/ipropd_svc.c
===================================================================
--- branches/krb5-1-8/src/kadmin/server/ipropd_svc.c	2011-11-08 22:21:29 UTC (rev 25462)
+++ branches/krb5-1-8/src/kadmin/server/ipropd_svc.c	2011-11-08 22:21:33 UTC (rev 25463)
@@ -380,7 +380,7 @@
 			     _("%s: pclose(popen) failed: %s"),
 			     whoami,
 			     error_message(errno));
-	    goto out;
+	    _exit(1);
 	}
 
 	DPRINT(("%s: exec `kprop -f %s %s' ...\n",
@@ -401,7 +401,7 @@
 			     _("%s: exec failed: %s"),
 			     whoami,
 			     error_message(errno));
-	    goto out;
+	    _exit(1);
 	}
 
     default: /* parent */




More information about the cvs-krb5 mailing list