From owner-freebsd-bugs Tue Sep 1 23:10:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA20435 for freebsd-bugs-outgoing; Tue, 1 Sep 1998 23:10:15 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA20396 for ; Tue, 1 Sep 1998 23:10:08 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id PAA00805; Wed, 2 Sep 1998 15:38:45 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.1/8.9.0) id PAA10033; Wed, 2 Sep 1998 15:38:28 +0930 (CST) Message-ID: <19980902153828.D606@freebie.lemis.com> Date: Wed, 2 Sep 1998 15:38:28 +0930 From: Greg Lehey To: Brendan Kosowski , freebsd-bugs@FreeBSD.ORG Subject: Re: The "kill -9" bug ??? References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: ; from Brendan Kosowski on Wed, Sep 02, 1998 at 10:45:50AM +1000 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wednesday, 2 September 1998 at 10:45:50 +1000, Brendan Kosowski wrote: > > I recently did a "kill -9" ( from root ) on a shutdown process, and after > that none of the normal users could log into the system. Interesting. How were you able to do a kill -9 on the process? It sounds as if something was hanging. Did you then reboot, or did you carry on? > It said: login: /bin/sh: Permission denied. > > I could not find any changes to permissions of dirs or files so I was > forced to do a re-install. You're almost never forced to do a reinstall. Did you boot in single-user mode? Did you check the permissions on /bin/sh? Did you try to log in using a csh user? > I am using FreeBSD 2.2.5. > > Is this a documented bug of FreeBSD 2.2.5 ??? No. At this point I'd suggest "user error", but that's just an educated guess. > P.S. - Is it a bad idea to kill processes from root ??? Despite what Garrett says, no. But you should always know what you're doing when you kill a process. I'd guess that whatever problems you had are not so much related to using "kill -9" as to the fact that you had to do so in the first place. Normally it's almost impossible to catch shutdown with a kill, because one of the first things it does is to kill all your shells. I'd guess something was hanging. Greg -- See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message