From owner-freebsd-questions Tue Apr 24 13:37: 4 2001 Delivered-To: freebsd-questions@freebsd.org Received: from vejron.glidecom.se (vejron.glidecom.se [212.85.69.20]) by hub.freebsd.org (Postfix) with ESMTP id DC49437B422 for ; Tue, 24 Apr 2001 13:36:58 -0700 (PDT) (envelope-from stroker@oskar.org) Received: from addict (t5o57p50.telia.com [212.181.193.50]) by vejron.glidecom.se (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with SMTP id f3OKcxT05389 for ; Tue, 24 Apr 2001 22:39:00 +0200 X-Authentication-Warning: vejron.glidecom.se: Host t5o57p50.telia.com [212.181.193.50] claimed to be addict Message-Id: <3.0.6.32.20010424223840.0096ef98@212.85.69.20> X-Sender: oskar@212.85.69.20 X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Tue, 24 Apr 2001 22:38:40 +0200 To: freebsd-questions@FreeBSD.ORG From: Oskar Josefsson Subject: Re: chflags: /kernel: Operation not permitted In-Reply-To: References: <3.0.6.32.20010424221535.0096ef98@212.85.69.20> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG ahh. thank you. I had kern_securelevel=3D"2" you are the best =3D) /Oskar At 13:26 2001-04-24 -0700, you wrote: >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