From owner-freebsd-questions@FreeBSD.ORG Wed Nov 5 18:20:01 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 886BB16A4CE for ; Wed, 5 Nov 2003 18:20:01 -0800 (PST) Received: from dns10.mail.yahoo.co.jp (dns10.mail.yahoo.co.jp [210.81.151.143]) by mx1.FreeBSD.org (Postfix) with SMTP id D86CA43FE9 for ; Wed, 5 Nov 2003 18:19:59 -0800 (PST) (envelope-from ayakokiko@ybb.ne.jp) Received: from unknown (HELO gorgon.near.this) (219.11.234.11 with poptime) by dns10.mail.yahoo.co.jp with SMTP; 6 Nov 2003 02:19:58 -0000 X-Apparently-From: Received: from ghost.near.this (ghost.near.this [10.0.3.9]) by gorgon.near.this (Postfix) with ESMTP id 5B7D97F81; Thu, 6 Nov 2003 11:19:54 +0900 (JST) Received: by ghost.near.this (Postfix, from userid 100) id 62FB519320; Thu, 6 Nov 2003 11:19:51 +0900 (JST) Date: Thu, 6 Nov 2003 11:19:48 +0900 From: horio shoichi To: Wayne Pascoe In-Reply-To: <20031104202557.GA81029@marvin.penguinpowered.org> References: <20031104202557.GA81029@marvin.penguinpowered.org> X-Mailer: Sylpheed version 0.9.6claws (GTK+ 1.2.10; i386-portbld-freebsd4.8) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <20031106.021951.885bc472c281bae7.10.0.3.9@bugsgrief.net> cc: freebsd-questions@freebsd.org Subject: Re: 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: Thu, 06 Nov 2003 02:20:01 -0000 On Tue, 4 Nov 2003 20:25:57 +0000 Wayne Pascoe wrote: > 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. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > You must reset all the flags. Securelevel=-1 itself does not toggle off (invalidate) any flags. So, setting flags at securelevel=-1 still makes some sense. horio shoichi