From owner-freebsd-questions@FreeBSD.ORG Thu May 26 16:03:34 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4863416A422 for ; Thu, 26 May 2005 16:03:34 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.232]) by mx1.FreeBSD.org (Postfix) with ESMTP id 068FC43D4C for ; Thu, 26 May 2005 16:03:34 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id A31905131A; Thu, 26 May 2005 09:04:21 -0700 (PDT) Date: Thu, 26 May 2005 09:04:20 -0700 From: Kris Kennaway To: "Sergey S. Ropchan" Message-ID: <20050526160420.GA39239@xor.obsecurity.org> References: <20050526072226.GA1141@savage.za.org> <1117096345.75630.1.camel@sirius.ramb.com.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DocE+STaALJfprDB" Content-Disposition: inline In-Reply-To: <1117096345.75630.1.camel@sirius.ramb.com.ua> User-Agent: Mutt/1.4.2.1i Cc: freebsd-questions@freebsd.org, Chris Knipe Subject: Re: fsck on startup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 May 2005 16:03:34 -0000 --DocE+STaALJfprDB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 26, 2005 at 11:32:25AM +0300, Sergey S. Ropchan wrote: > Hello > > Hi, > >=20 > > I'm not sure what is causing this, but virtually -every- unclean system= shutdown > > results in my server asking for the root password to run fsck manually,= and this > > is a co-located server in a remote datacenter which I unfortunately can= not get > > to as easily as I would want. > >=20 > > Is there anyway to tell rc.conf or sysctl or anything else to get bsd t= o not=20 > > pause for the root password??? =20 > Yes, of course add folowing strings to your rc.conf: >=20 > fsck_y_enable=3D"YES" > background_fsck=3D"YES" With the warning that your system is asking for the root password because it is finding *serious errors* in your filesystem, and if you enable fsck -y then it may result in deletion of large chunks of your filesystem to "repair" the damage. Instead you should be asking why you are getting these errors in the first place. Do you have soft updates enabled? Should you invest in a UPS to prevent the unclean shutdowns? Kris --DocE+STaALJfprDB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFClfODWry0BWjoQKURAsB/AJ0XXsqi6ynd4UBPhxi6L6wDcgPRHwCgw+Si vNeLWYsXcGw4vah1at+rweU= =n+Hk -----END PGP SIGNATURE----- --DocE+STaALJfprDB--