From owner-freebsd-questions@FreeBSD.ORG Thu May 26 16:26:24 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 742EB16A437 for ; Thu, 26 May 2005 16:26:24 +0000 (GMT) (envelope-from stormspotter@6Texans.net) Received: from longbow.arroway.com (mymortgageforeclosures.com [66.252.139.194]) by mx1.FreeBSD.org (Postfix) with SMTP id 41C7A43D66 for ; Thu, 26 May 2005 16:26:21 +0000 (GMT) (envelope-from stormspotter@6Texans.net) Received: (qmail 25809 invoked by uid 1007); 26 May 2005 16:26:20 -0000 Received: from stormspotter@6Texans.net by longbow by uid 1004 with qmail-scanner-1.22-st-qms (clamdscan: 0.81. spamassassin: 2.64. Clear:RC:1(216.87.134.162):. Processed in 0.30077 secs); 26 May 2005 16:26:20 -0000 Received: from unknown (HELO jacob.6texans.net) (216.87.134.162) by longbow.arroway.com with SMTP; 26 May 2005 16:26:20 -0000 Date: Thu, 26 May 2005 11:26:19 -0500 From: Jacob S To: freebsd-questions@freebsd.org Message-ID: <20050526112619.3eddfc23@jacob.6texans.net> In-Reply-To: <20050526160420.GA39239@xor.obsecurity.org> References: <20050526072226.GA1141@savage.za.org> <1117096345.75630.1.camel@sirius.ramb.com.ua> <20050526160420.GA39239@xor.obsecurity.org> X-Mailer: Sylpheed-Claws 1.0.4 (GTK+ 1.2.10; i386-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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:26:24 -0000 On Thu, 26 May 2005 09:04:20 -0700 Kris Kennaway wrote: > On Thu, May 26, 2005 at 11:32:25AM +0300, Sergey S. Ropchan wrote: > > > is a co-located server in a remote datacenter which I > > > unfortunately can not get to as easily as I would want. > > > > > > Is there anyway to tell rc.conf or sysctl or anything else to get > > > bsd to not pause for the root password??? > > > > Yes, of course add folowing strings to your rc.conf: > > > > fsck_y_enable="YES" > > background_fsck="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? If he needs a UPS at a Co-lo, it's time for a new Co-lo. Jacob