Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Oct 2001 14:19:28 -0400
From:      Jamie Oulman <jamie@techsquare.com>
To:        "irado@nettaxi.com" <irado@nettaxi.com>
Cc:        stable@freebsd.org, jamie@techsquare.com
Subject:   Re: kernel welded??
Message-ID:  <20011004141928.A17972@techsquare.com>
In-Reply-To: <200110041813.f94IDnf09264@mail25.bigmailbox.com>; from irado@nettaxi.com on Thu, Oct 04, 2001 at 11:13:49AM -0700
References:  <200110041813.f94IDnf09264@mail25.bigmailbox.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--PNTmBPCT7hxwcZjr
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

*sigh*=20

had you read the handbook you would have came across this in the=20
'kernelconfig trouble' section.

taken from the freebsd handbook:=20

    # chflags noschg /kernel

If you find you cannot do this, you are probably running at a securelevel(8=
) greater than zero. Edit kern_securelevel in /etc/rc.conf and set it to -1=
, then reboot. You can change it back to its previous setting when you are =
happy with your new kernel.

And, if you want to ``lock'' your new kernel into place, or any file for th=
at matter, so that it cannot be moved or tampered with:

    # chflags schg /kernel

ie. do chflags noschg /kernel then try and remove it. if it doesnt work.=20
you need to lower your securelevel and reboot.=20

jamie.


On Thu, Oct 04, 2001 at 11:13:49AM -0700, irado@nettaxi.com wrote:
> I am completely blind and stuck: I was recompiling (2nd time) my kernel, =
when (make install) suddenly I was surprised with the following message:
>=20
> [...]
> mv /kernel /kernel.old
> Operation not permitted
>=20
> So, I cannot rm it, cannot change it, can do nothing to it - and I am roo=
t.
>=20
> There are a limit (once a day) for the kernel recompiling??
>  <bg>
>=20
> seriously: What is happening, and how to correct it?
>=20
>=20
>=20
> sauda=E7=F5es,
>    irado furioso com tudo
>    linux user 179402
> deus =E9 constru=EDdo =E0 imagem e semelhan=E7a do homem. Principalmente =
em seus defeitos.
>   =20
>    por favor, clique aqui: http://www.thehungersite.com
>    e aqui tamb=E9m: http://cf6.uol.com.br/umminuto/=20
>=20
> ------------------------------------------------------------
> Nettaxi would like to ask for your help in donations to the RED CROSS tod=
ay!
> http://www.nyredcross.org/donate/
>=20
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-net" in the body of the message

--=20
jamie.

--PNTmBPCT7hxwcZjr
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia

iQB1AwUBO7yoLvS/hgpW2Z3BAQG6fAL7BJy+E+uPNOWp3QS6q+/jB9o/nLVtkrln
Q/JlqiGvuWcIHTI0KPZ0ae8tfiNc2OgW/SvrOvTcrZwXSQ2GYDqdw6/d6qpe+hQd
e+naZieZlndQU8gSytoISHXAZqH8Y7Od
=FBce
-----END PGP SIGNATURE-----

--PNTmBPCT7hxwcZjr--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011004141928.A17972>