From owner-freebsd-questions Mon Jan 29 7:20:59 2001 Delivered-To: freebsd-questions@freebsd.org Received: from femail11.sdc1.sfba.home.com (femail11.sdc1.sfba.home.com [24.0.95.107]) by hub.freebsd.org (Postfix) with ESMTP id 1E22D37B6AF for ; Mon, 29 Jan 2001 07:20:38 -0800 (PST) Received: from C1052484A ([24.5.25.254]) by femail11.sdc1.sfba.home.com (InterMail vM.4.01.03.00 201-229-121) with SMTP id <20010129152037.GAEI11834.femail11.sdc1.sfba.home.com@C1052484A>; Mon, 29 Jan 2001 07:20:37 -0800 Message-ID: <002501c08a07$197cfe40$0100a8c0@mshome.net> From: "David Schultz" To: Cc: References: <20010128234634.A18929@xs4all.nl> <3A74A37D.95513C88@urx.com> Subject: Re: installkernel fails on a 4.2-stable system Date: Mon, 29 Jan 2001 07:21:06 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > rene@xs4all.nl wrote: > > Building succeeds using /usr/src:make installkernel KERNEL= > file>, but installing fails with: > > > > mv: rename /kernel to kernel.old: Operation not permitted > > You didn't pay attention to the side effects of the security options. > When you let it setup your system for anything other than low, you > have to be in single user mode or you receive this "Operation not > permitted" message. The other choice is turn off security in rc.conf > and build everything and then set it back. The parameter is > kern_securelevel="-1". Note also that make installkernel under 4.2 fails in this situation whereas 4.1 suceeds. Installkernel now tries to install the kernel to /kernel even if you specify a different kernel name. Information about this behavior is in /usr/src/UPDATING. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message