From owner-freebsd-questions Mon Jan 20 9:44:42 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EDC0237B401 for ; Mon, 20 Jan 2003 09:44:40 -0800 (PST) Received: from mired.org (ip68-97-54-220.ok.ok.cox.net [68.97.54.220]) by mx1.FreeBSD.org (Postfix) with SMTP id BB76243E4A for ; Mon, 20 Jan 2003 09:44:39 -0800 (PST) (envelope-from mwm-dated-1043516678.f6609c@mired.org) Received: (qmail 98530 invoked from network); 20 Jan 2003 17:44:38 -0000 Received: from localhost.mired.org (HELO guru.mired.org) (127.0.0.1) by localhost.mired.org with SMTP; 20 Jan 2003 17:44:38 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15916.13702.206604.936084@guru.mired.org> Date: Mon, 20 Jan 2003 11:44:38 -0600 To: lattera@softhome.net Cc: freebsd-questions@freebsd.org Subject: Re: too many kill()'s In-Reply-To: References: X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`; h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: Mike Meyer X-Delivery-Agent: TMDA/0.68 (Shut Out) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In , lattera@softhome.net typed: [Elided] > when compiled and ran, makes my 4.7-release box quit EVERY SINGLE PROGRAM > (including boot-time daemons), and go into a fix-it shell. You mean a single-user shell. > My question is this: why does this happen? I can't seem to figure it out. > I've worked with many other people about this, and they don't seem to know. It happens because the real parent is gone. That means that init becomes the parent. When you send init a TERM signal, it shuts down the system to single-user mode. You just did a "kill -TERM 1". > (When you exit the fix-it shell, the computer finishes booting, it's like > going into single-user mode upon boot) It's not like single-user mode upon boot, it IS single-user mode. They are one and the same. http://www.mired.org/consulting.html Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message