From owner-freebsd-questions@FreeBSD.ORG Tue Nov 4 12:25:30 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA6FC16A4CE for ; Tue, 4 Nov 2003 12:25:30 -0800 (PST) Received: from smtp.mailbox.co.uk (smtp.mailbox.net.uk [195.82.125.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id C873A43FE9 for ; Tue, 4 Nov 2003 12:25:29 -0800 (PST) (envelope-from wayne@penguinpowered.org) Received: from [212.18.250.170] (helo=marvin.penguinpowered.org) by smtp.mailbox.co.uk with esmtp (Exim 3.36 #1) id 1AH7k0-0006qI-00 for freebsd-questions@freebsd.org; Tue, 04 Nov 2003 20:25:29 +0000 Received: by marvin.penguinpowered.org (Postfix, from userid 1001) id 494E4159CB; Tue, 4 Nov 2003 20:25:57 +0000 (GMT) Date: Tue, 4 Nov 2003 20:25:57 +0000 From: Wayne Pascoe To: freebsd-questions@freebsd.org Message-ID: <20031104202557.GA81029@marvin.penguinpowered.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Sender: wayne@penguinpowered.org X-System: FreeBSD i386 with kernel 4.9-PRERELEASE Subject: securelevel problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Nov 2003 20:25:31 -0000 Hi all, I'm trying to upgrade a 4.7-RELEASE machine to 4.9. The make buildworld has gone ok, but installworld failed. At first, it appeared that this was because the machine was running in securelevel 1. I had the following in /etc/rc.conf: kern_securelevel_enable="YES" kern_securelevel="1" I changed that to kern_securelevel_enable="NO" kern_securelevel="-1" and rebooted the machine. sysctl -a | grep secure shows kern.securelevel: -1 however a make installworld is still failing with: Stop in /usr/src/include. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. I then tried touching my kernel, which also fails, with: # touch kernel touch: kernel: Operation not permitted I'm at a bit of a loss as to how to proceed as the only thing I could think to do was to disable securelevel in /etc/rc.conf :( does anyone know what I may have missed or how I might rectify this issue ? Thanks, -- Wayne Pascoe 'tis far easier to get forgiveness than it is to get permission - probably someone famous, but more often, my Dad.