From owner-freebsd-questions Sun Mar 25 17: 1:59 2001 Delivered-To: freebsd-questions@freebsd.org Received: from bazooka.unixfreak.org (bazooka.unixfreak.org [63.198.170.138]) by hub.freebsd.org (Postfix) with ESMTP id 13BB137B71D for ; Sun, 25 Mar 2001 17:01:53 -0800 (PST) (envelope-from dima@unixfreak.org) Received: from spike.unixfreak.org (spike [63.198.170.139]) by bazooka.unixfreak.org (Postfix) with ESMTP id E87963E09; Sun, 25 Mar 2001 17:01:48 -0800 (PST) To: Kris Kennaway Cc: Jim Mahood , freebsd-questions@FreeBSD.ORG Subject: Re: can't unlink kernel In-Reply-To: <20010325165822.A63548@xor.obsecurity.org>; from kris@obsecurity.org on "Sun, 25 Mar 2001 16:58:22 -0800" Date: Sun, 25 Mar 2001 17:01:48 -0800 From: Dima Dorfman Message-Id: <20010326010148.E87963E09@bazooka.unixfreak.org> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Kris Kennaway 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