From 170cf67dc75cb254d2a5df2d615b8b97c523495a Mon Sep 17 00:00:00 2001 From: miljenko Date: Tue, 13 Nov 2007 09:34:06 +0000 Subject: [PATCH] Temporary fix to enable multiple inetd and rpcbind processes (in different vimages). Sholud be removed if each vimage is running in separate file system. Bug found by: Submitted by: Reviewed by: Approved by: Obtained from: --- host.tcl | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/host.tcl b/host.tcl index c438969..6e4ca19 100755 --- a/host.tcl +++ b/host.tcl @@ -1,4 +1,4 @@ -# $Id: host.tcl,v 1.16 2007/09/14 07:46:58 miljenko Exp $ +# $Id: host.tcl,v 1.17 2007/11/13 09:34:06 miljenko Exp $ # # Copyright 2005 University of Zagreb, Croatia. All rights reserved. # @@ -107,9 +107,21 @@ proc $MODULE.cfggen { node } { lappend cfg "route -q add -inet6 $statrte" } + # Temporary fix to enable multiple inetd and rpcbind processes + # (in different vimages). Sholud be removed if each vimage is running + # in separate file system. + # + # Before startup ... + lappend cfg "rm -f /var/run/inetd.pid" + lappend cfg "rm -f /var/run/rpcbind.lock" + lappend cfg "rpcbind" lappend cfg "inetd" + # ... and after startup. + lappend cfg "rm -f /var/run/inetd.pid" + lappend cfg "rm -f /var/run/rpcbind.lock" + return $cfg } -- 2.39.5