Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Sep 1998 15:38:28 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Brendan Kosowski <brendan@bmk.com.au>, freebsd-bugs@FreeBSD.ORG
Subject:   Re: The "kill -9" bug ???
Message-ID:  <19980902153828.D606@freebie.lemis.com>
In-Reply-To: <Pine.BSF.3.96.980902103644.344A-100000@garfield>; from Brendan Kosowski on Wed, Sep 02, 1998 at 10:45:50AM %2B1000
References:  <Pine.BSF.3.96.980902103644.344A-100000@garfield>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980902153828.D606>