Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Mar 2001 17:01:48 -0800
From:      Dima Dorfman <dima@unixfreak.org>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        Jim Mahood <jim@mahood.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: can't unlink kernel 
Message-ID:  <20010326010148.E87963E09@bazooka.unixfreak.org>
In-Reply-To: <20010325165822.A63548@xor.obsecurity.org>; from kris@obsecurity.org on "Sun, 25 Mar 2001 16:58:22 -0800"

next in thread | previous in thread | raw e-mail | index | archive | help
Kris Kennaway <kris@obsecurity.org> writes:
> On Sun, Mar 25, 2001 at 07:49:42PM -0500, Jim Mahood wrote:
> > I'm trying to install a new kernel, but can't remove the old one.  Make
> > buildkernel worked, but make installkernel fails saying that:
> >
> > chflags noschg /kernel 
> >   and
> > mv /kernel /kernel.OLD
> >
> > both failed.  I've tried running the chflags cmd myself, and it does
> > indeed fail.  I can't unlink or chmod /kernel.  It's locked somehow, but I
> > don't know why.... do you? :-)
> 
> You're running at securelevel, aren't you? :)

To expand on that a little more..
http://www.freebsd.org/FAQ/admin.html#UNSETTING-SCHG

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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