From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from faui01.informatik.uni-erlangen.de ([131.188.2.1]) by hawkwind.utcs.utoronto.ca with SMTP id <24636>; Tue, 11 Feb 1997 16:32:22 -0500 Received: (from msfriedl@localhost) by cip.informatik.uni-erlangen.de id OAA04676 (8.7.6/7.5c-FAU); Tue, 11 Feb 1997 14:57:36 +0100 (MET) From: Markus Friedl Message-Id: <199702111357.OAA04676@faui01.informatik.uni-erlangen.de> Subject: Re: intr and RC To: luyer@ucs.uwa.edu.au Date: Tue, 11 Feb 1997 08:57:36 -0500 Cc: rc@hawkwind.utcs.toronto.edu In-Reply-To: from "David Luyer" at Jan 12, 97 07:52:50 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit hello! > Using standard rc-1.4 and "rcp file solaris-machine:" to a recent version > of Solaris, I get "rc" on the solaris machine hanging taking all CPU in an > infinite loop (most, if not all the time). > > OS is "SunOS sage 5.5 Generic sun4c sparc SUNW,Sun_4_40" with a variety of > patches. > > Is this reproducable for you? I had this problem, too, when 'upgrading' from SunOS4 to Solaris2 and found help in the rc-list archive from 1994: Solaris rshd (and only Solaris) sets SIGCLD to SIG_IGN and causes wait.c to loop forever waiting for childs. You can fix this by forcing SIGCHLD to SIG_IGN in signal.c (about line 70): if(i==SIGCHLD && h==SIG_IGN) h=SIG_DFL; hope this helps, -markus