From owner-freebsd-stable Fri Jun 1 4:49:49 2001 Delivered-To: freebsd-stable@freebsd.org Received: from web9501.mail.yahoo.com (web9501.mail.yahoo.com [216.136.129.131]) by hub.freebsd.org (Postfix) with SMTP id D333837B424 for ; Fri, 1 Jun 2001 04:49:41 -0700 (PDT) (envelope-from angshumand@yahoo.com) Message-ID: <20010601114941.13870.qmail@web9501.mail.yahoo.com> Received: from [164.164.130.13] by web9501.mail.yahoo.com; Fri, 01 Jun 2001 04:49:41 PDT Date: Fri, 1 Jun 2001 04:49:41 -0700 (PDT) From: Angshuman Dasgupta Reply-To: angshumand@yahoo.com Subject: Re: problem with chflags To: David Taylor Cc: freebsd-stable@freebsd.org In-Reply-To: <20010601123914.A1166@gattaca.yadt.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 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