Skip site navigation (1)Skip section navigation (2)
Date:      25 Jun 2002 07:46:13 -0500
From:      Larry Rosenman <ler@lerctr.org>
To:        Peter MacGee <peter@ideal.net.au>
Cc:        Aaron Burke <aburke@nullplusone.com>, FreeBSD-Questions <freebsd-questions@FreeBSD.ORG>
Subject:   RE: Kernel install problems
Message-ID:  <1025009174.1176.0.camel@lerlaptop>
In-Reply-To: <Pine.BSF.4.33.0206252045590.36693-100000@ion.ideal.net.au>
References:  <Pine.BSF.4.33.0206252045590.36693-100000@ion.ideal.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2002-06-25 at 05:50, 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?
Or, reboot single user, install, reboot, and go on.


> 
> Thanks for the help thus far,
> Pete.
-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749


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?1025009174.1176.0.camel>