Date: Thu, 26 May 2005 09:04:20 -0700 From: Kris Kennaway <kris@obsecurity.org> To: "Sergey S. Ropchan" <fenix@ramb.com.ua> Cc: freebsd-questions@freebsd.org, Chris Knipe <savage@savage.za.org> Subject: Re: fsck on startup Message-ID: <20050526160420.GA39239@xor.obsecurity.org> In-Reply-To: <1117096345.75630.1.camel@sirius.ramb.com.ua> References: <20050526072226.GA1141@savage.za.org> <1117096345.75630.1.camel@sirius.ramb.com.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050526160420.GA39239>