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

[-- Attachment #1 --]
*sigh* 

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

taken from the freebsd handbook: 

    # 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 that 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. 
you need to lower your securelevel and reboot. 

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:
> 
> [...]
> mv /kernel /kernel.old
> Operation not permitted
> 
> So, I cannot rm it, cannot change it, can do nothing to it - and I am root.
> 
> There are a limit (once a day) for the kernel recompiling??
>  <bg>
> 
> seriously: What is happening, and how to correct it?
> 
> 
> 
> saudações,
>    irado furioso com tudo
>    linux user 179402
> deus é construído à imagem e semelhança do homem. Principalmente em seus defeitos.
>    
>    por favor, clique aqui: http://www.thehungersite.com
>    e aqui também: http://cf6.uol.com.br/umminuto/ 
> 
> ------------------------------------------------------------
> Nettaxi would like to ask for your help in donations to the RED CROSS today!
> http://www.nyredcross.org/donate/
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-net" in the body of the message

-- 
jamie.

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia

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

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