Date: Fri, 1 Jun 2001 04:49:41 -0700 (PDT) From: Angshuman Dasgupta <angshumand@yahoo.com> To: David Taylor <davidt@yadt.co.uk> Cc: freebsd-stable@freebsd.org Subject: Re: problem with chflags Message-ID: <20010601114941.13870.qmail@web9501.mail.yahoo.com> In-Reply-To: <20010601123914.A1166@gattaca.yadt.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
Oh OK - so that means that the default secure level is -1. I was root and the filesystem was rw.... I could change permissions on other files, in /usr/lib. I got it to work by disabling the kernel securelevel... maybe it's something I'm missing - But in any case - I got it to run now. Another problem I'm getting - when I start XF86Setup, I get KDENABIO failed and it exits. any clues on that? --- David Taylor <davidt@yadt.co.uk> wrote: > On Fri, 01 Jun 2001, Angshuman Dasgupta wrote: > > I got four replies to the original posting - I'm > > trying to reply to all here... > > I WAS running make installworld in singleuser mode > > > > I changed securelevel to 0 in rc.conf and rebooted > - > > and it said RAISING kernel securelevel -1 -> 0 !! > > Well, 0 is bigger than -1. That's unrelated to what > the securelevel was the > previous boot, which might have said 'raising kernel > securelevel -1 -> 2'... > > > And after that (as well as before) I tried chflags > > noschg /usr/lib/libscrypt.so.2 and I'm > consistently > > getting the same thing : operation not permitted. > > If you're in single user mode, you have remembered > to mount /usr, and all > the other partitions, rw? Type 'mount' and make > sure it doesn't mention > (read-only). > > > is there any way i can check what securelevel the > > kernel is running in? Can anyone tell me why this > is > > happening, at securelevel 0? (apparently) > > $ sysctl kern.securelevel > > will show you the securelevel. > > Presumably you are either: not root; or running with > a readonly filesystem; > or possibly, the /usr/lib directroy is schg too.... > > -- > David Taylor > davidt@yadt.co.uk > > ATTACHMENT part 2 application/pgp-signature __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ 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?20010601114941.13870.qmail>