From owner-freebsd-questions Tue Apr 24 13:26:52 2001 Delivered-To: freebsd-questions@freebsd.org Received: from shell.bchosting.com (shell.bchosting.com [64.69.68.35]) by hub.freebsd.org (Postfix) with ESMTP id 91D5637B424 for ; Tue, 24 Apr 2001 13:26:48 -0700 (PDT) (envelope-from chris@selkie.org) Received: from localhost (chris@localhost) by shell.bchosting.com (8.11.0/8.11.0) with ESMTP id f3OKQRZ29347; Tue, 24 Apr 2001 13:26:28 -0700 (PDT) (envelope-from chris@selkie.org) Date: Tue, 24 Apr 2001 13:26:27 -0700 (PDT) From: Chris Phillips X-Sender: chris@shell.bchosting.com To: Oskar Josefsson Cc: freebsd-questions@FreeBSD.ORG Subject: Re: chflags: /kernel: Operation not permitted In-Reply-To: <3.0.6.32.20010424221535.0096ef98@212.85.69.20> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Make sure you have your kern_securelevel set to -1 in /etc/rc.conf and reboot. -Chris Phillips On Tue, 24 Apr 2001, Oskar Josefsson wrote: > hi,=20 > When I compiled my kernel I forgot to enter the correct CPU class. > And I had to boot on kernel.old >=20 > and when i had correct it in /usr/src/sys/i386/conf/MIRKWARRIOR > I can=B4t do 'make install'=20 > (after '/usr/sbin/config -g MIRKWARRIOR' and 'make depend' and 'make' > ofcourse) > I says: > [root@mirkwarrior MIRKWARRIOR]# 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 >=20 > Stop in /usr/src/sys/compile/MIRKWARRIOR. >=20 >=20 > I=B4ve tried to run chflags noschg /kernel manually > but it still says chflags: /kernel: Operation not permitted >=20 > What is wrong? >=20 > Mvh > Oskar Josefsson >=20 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message >=20 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message