From owner-freebsd-stable Fri Jun 1 4:39:24 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mail.yadt.co.uk (yadt.demon.co.uk [158.152.4.134]) by hub.freebsd.org (Postfix) with SMTP id 995F937B42C for ; Fri, 1 Jun 2001 04:39:16 -0700 (PDT) (envelope-from davidt@yadt.co.uk) Received: (qmail 64170 invoked from network); 1 Jun 2001 11:38:59 -0000 Received: from gattaca.local.yadt.co.uk (HELO mail.gattaca.yadt.co.uk) (qmailr@10.0.0.2) by xfiles.yadt.co.uk with SMTP; 1 Jun 2001 11:38:59 -0000 Received: (qmail 1591 invoked by uid 1000); 1 Jun 2001 11:39:14 -0000 Date: Fri, 1 Jun 2001 12:39:14 +0100 From: David Taylor To: Angshuman Dasgupta Cc: freebsd-stable@freebsd.org Subject: Re: problem with chflags Message-ID: <20010601123914.A1166@gattaca.yadt.co.uk> Mail-Followup-To: Angshuman Dasgupta , freebsd-stable@freebsd.org References: <20010601111527.9002.qmail@web9506.mail.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="17pEHd4RhPHOinZp" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010601111527.9002.qmail@web9506.mail.yahoo.com>; from angshumand@yahoo.com on Fri, Jun 01, 2001 at 04:15:27 -0700 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 --17pEHd4RhPHOinZp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 >=20 > 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). =20 > 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.... --=20 David Taylor davidt@yadt.co.uk --17pEHd4RhPHOinZp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD4DBQE7F37ifIqKXSsJ/xERApsXAKC8+NjRWdqg+98RkZV43Nk473wxQgCY1HeF WPgC6vhRKFUFIWjaH6T7Aw== =JfAH -----END PGP SIGNATURE----- --17pEHd4RhPHOinZp-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message