Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jun 2002 21:01:33 +1000 (EST)
From:      Peter MacGee <peter@ideal.net.au>
To:        Larry Rosenman <ler@lerctr.org>
Cc:        Aaron Burke <aburke@nullplusone.com>, FreeBSD-Questions <freebsd-questions@FreeBSD.ORG>
Subject:   RE: Kernel install problems
Message-ID:  <Pine.BSF.4.33.0206252100190.36693-100000@ion.ideal.net.au>
In-Reply-To: <Pine.BSF.4.33.0206252045590.36693-100000@ion.ideal.net.au>

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

On Tue, 25 Jun 2002, Peter MacGee wrote:

> Hi Larry,
>
> On 25 Jun 2002, Larry Rosenman wrote:
>
> > On Tue, 2002-06-25 at 05:40, Peter MacGee wrote:
> > > Hi Aaron and Everyone,
> > >
> > > On Tue, 25 Jun 2002, Aaron Burke wrote:
> > >
> > > > > -----Original Message-----
> > > > > From: owner-freebsd-questions@FreeBSD.ORG
> > > > > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Peter MacGee
> > > > > Sent: Tuesday, June 25, 2002 02:57 AM
> > > > > To: freebsd-questions@FreeBSD.ORG
> > > > > Subject: Kernel install problems
> > > > >
> > > > >
> > > > > Hi All,
> > > > > 	I'm currently trying to install a new kernel on my system
> > > > > (4.6-STABLE). I have tried both the "new" and the "traditional"
> > > > > methods that are prescribed in the handbook, and both times come up
> > > > > against the error:
> > > > >
> > > > > 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
> > > > >
> > > > > I have searched archives et al all to no avail. Could anyone please help
> > > > > on how to fix this problem?
> > > >
> > > > Are you running as root while doing these operations?
> > >
> > > Yes indeed. I have also had this exact same problem on another box of mine
> > > running 4.5-RELEASE... Both times I was root whilst trying to perform the
> > > operation.
> > I'll bet your kern.securelevel is >0.
>
> You're quite correct, a quick scan of /etc/rc.conf reveals:
>
> kern_securelevel="2"
> kern_securelevel_enable="YES"
>
> Should I comment these lines out, reboot, make install, re-instate
> kern_securelevel lines, reboot and life be dandy?
>

Just for everyones info, I tried my suggested remedy, and it worked a
charm. Not sure if its the correct way, but life is dandy for me!  :-)

Cheers,
Pete.


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.33.0206252100190.36693-100000>