From owner-freebsd-stable@FreeBSD.ORG Fri May 9 13:19:09 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 67E0B37B404 for ; Fri, 9 May 2003 13:19:09 -0700 (PDT) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id AEFA143F85 for ; Fri, 9 May 2003 13:19:07 -0700 (PDT) (envelope-from Gerhard.Sittig@gmx.net) Received: (qmail 31522 invoked by uid 65534); 9 May 2003 20:19:06 -0000 Received: from p50910820.dip0.t-ipconnect.de (EHLO mail.gsinet.sittig.org) (80.145.8.32) by mail.gmx.net (mp019-rz3) with SMTP; 09 May 2003 22:19:06 +0200 Received: (qmail 44346 invoked from network); 9 May 2003 19:40:22 -0000 Received: from shell.gsinet.sittig.org (192.168.11.153) by mail.gsinet.sittig.org with SMTP; 9 May 2003 19:40:22 -0000 Received: (from sittig@localhost) by shell.gsinet.sittig.org (8.11.3/8.11.3) id h49JeGF44333 for freebsd-stable@freebsd.org; Fri, 9 May 2003 21:40:16 +0200 (CEST) (envelope-from sittig) Date: Fri, 9 May 2003 21:40:16 +0200 From: Gerhard Sittig To: freebsd-stable@freebsd.org Message-ID: <20030509214015.A26888@shell.gsinet.sittig.org> Mail-Followup-To: freebsd-stable@freebsd.org References: <20030508190118.D3B5D37B405@hub.freebsd.org> <000701c3160e$c455dae0$0300000a@enterprise> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <000701c3160e$c455dae0$0300000a@enterprise>; from rdr@xs4all.nl on Fri, May 09, 2003 at 11:38:37AM +0200 Organization: System Defenestrators Inc. Subject: Re: Problem installing kernel in single usermode X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 May 2003 20:19:09 -0000 On Fri, May 09, 2003 at 11:38 +0200, Remy de Ruysscher wrote: > > I'm running 4.8-STABLE but I'm having some problems installing a new > kernel. > (in /usr/src make installkernel). > > mv /kernel /kernel.old operation not permitted > > My securelevel is currently set to -1 (kern_securelevel=-1) and > kern_securelevel_enable="NO" > I have already executed chflags noschg /kernel and /kernel.old (while in > single user mode). > > What am I missing? An unnoticed failure at the chflags execution? More likely: a read only file system? Or a destination which is already there but cannot be removed (although you excluded this above)? Check the output of `ls -ldo /kernel*` and `mount`. It must be something obvious as soon as you don't just assume things should work ("I set rc.conf to ...") but check the _consequences_ ("what's the system's status"). It's the "I tried to toggle this switch" versus the "I queried the OS how it sees itself" thing, I guess. :) But could as well be a detail of running single user mode you won't see in a live system. If all else fails in checking the constraints, you might have to diagnose the problem by means of truss(1) to see which operation is being denied. virtually yours 82D1 9B9C 01DC 4FB4 D7B4 61BE 3F49 4F77 72DE DA76 Gerhard Sittig true | mail -s "get gpg key" Gerhard.Sittig@gmx.net -- If you don't understand or are scared by any of the above ask your parents or an adult to help you.