From owner-freebsd-questions Fri Dec 15 17:18:43 2000 From owner-freebsd-questions@FreeBSD.ORG Fri Dec 15 17:18:41 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id 9E2AF37B400 for ; Fri, 15 Dec 2000 17:18:40 -0800 (PST) Received: (qmail 20385 invoked by uid 100); 16 Dec 2000 01:18:39 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14906.49903.124110.853318@guru.mired.org> Date: Fri, 15 Dec 2000 19:18:39 -0600 (CST) To: Arcady Genkin Cc: questions@freebsd.org Subject: Re: kernel 'make install' fails In-Reply-To: <83131604@toto.iv> X-Mailer: VM 6.75 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Arcady Genkin types: > Greetings: > > I've run into the following problem installing a custom kernel: > > ,---- > | demi# whoami > | root > | demi# make install > | chflags noschg /kernel > | chflags: /kernel: Operation not permitted > | *** Error code 1 (ignored) > | mv /kernel /kernel.old > | mv: rename /kernel to /kernel.old: Operation not permitted > | *** Error code 1 > | > | Stop in /usr/src/sys/compile/DEMI. > `---- > > The permissions for /kernel are: > > ,----[ ls -laFo /kernel ] > | -r-xr-xr-x 1 root wheel schg 1360361 Dec 15 19:45 /kernel* > `---- > > The /kernel is a custom-compiled which I installed in the same manner > (make install) an hour ago. Using freshly updated sources on a 4.2-S. You've got securelevel set and need to fix it. This is covered in the FAQ. http://www.mired.org/home/mwm/ Independent WWW/Unix/FreeBSD consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message