From owner-freebsd-questions Thu Oct 19 22:35:35 2000 Delivered-To: freebsd-questions@freebsd.org Received: from static.unixfreak.org (static.unixfreak.org [63.198.170.139]) by hub.freebsd.org (Postfix) with ESMTP id 5484C37B479 for ; Thu, 19 Oct 2000 22:35:32 -0700 (PDT) Received: by static.unixfreak.org (Postfix, from userid 1000) id 53D031F19; Thu, 19 Oct 2000 22:35:31 -0700 (PDT) Subject: Re: Why does chflags cause make install to fail? In-Reply-To: "from Eric Osterweil at Oct 20, 2000 03:41:19 am" To: Eric Osterweil Date: Thu, 19 Oct 2000 22:35:31 -0700 (PDT) Cc: questions@FreeBSD.org From: Dima Dorfman Reply-To: dima@unixfreak.org X-Mailer: ELM [version 2.4ME+ PL82 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Message-Id: <20001020053531.53D031F19@static.unixfreak.org> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > I needed to recompile my kernal (to enable natd) in freeBSD 4.1.1-stable, > and when I run make install I get an error telling me that the "chflags > noschg /kernal" command is not allowed. Then the "mv /kernal /kernal.old" > fails and dumps the install process. > > I cannot find any reference to this on the freeBSD.org site. I also tried > to run "chflags nouchg /kernal", but it also fails. Is there something else > I should try? The 'schg' flag (which is set on the kernel) can't be unset if you're running in securelevel >= 1. If that's the case, you need to lower the securelevel. See init(8) for details. Hope this helps P.S. It's kernEl, not kernAl. -- Dima Dorfman Finger dima@unixfreak.org for my public PGP key. I've used up all my sick days so I'm calling in dead! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message