From owner-freebsd-questions@FreeBSD.ORG Tue Mar 7 13:17:18 2006 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 F24CB16A423 for ; Tue, 7 Mar 2006 13:17:17 +0000 (GMT) (envelope-from stijn@pcwin002.win.tue.nl) Received: from mx2.tue.nl (mx2.tue.nl [131.155.3.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4863343D48 for ; Tue, 7 Mar 2006 13:17:15 +0000 (GMT) (envelope-from stijn@pcwin002.win.tue.nl) Received: from localhost (localhost [127.0.0.1]) by mx2.tue.nl (Postfix) with ESMTP id C135467817; Tue, 7 Mar 2006 14:17:14 +0100 (CET) Received: from mx2.tue.nl ([131.155.3.6]) by localhost (rommeldam.tue.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 04250-04; Tue, 7 Mar 2006 14:17:14 +0100 (CET) Received: from umta.win.tue.nl (umta.win.tue.nl [131.155.71.100]) by mx2.tue.nl (Postfix) with ESMTP id 458D3679BE; Tue, 7 Mar 2006 14:17:14 +0100 (CET) Received: from pcwin002.win.tue.nl (pcwin002 [131.155.71.72]) by umta.win.tue.nl (Postfix) with ESMTP id 3F9C731401C; Tue, 7 Mar 2006 14:17:14 +0100 (CET) Received: by pcwin002.win.tue.nl (Postfix, from userid 1001) id 3AE5B40CE; Tue, 7 Mar 2006 14:17:14 +0100 (CET) Date: Tue, 7 Mar 2006 14:17:14 +0100 From: Stijn Hoop To: Kristian Vaaf Message-ID: <20060307131714.GI53121@pcwin002.win.tue.nl> Mail-Followup-To: Stijn Hoop , Kristian Vaaf , freebsd-questions@freebsd.org References: <7.0.1.0.2.20060221103409.021a8808@broadpark.no> <200602210922.38445.duncan.fbsd@gmail.com> <7.0.1.0.2.20060228121217.022172c0@broadpark.no> <200602281021.20107.duncan.fbsd@gmail.com> <7.0.1.0.2.20060303115508.022b1de0@broadpark.no> <20060303110514.GW11960@pcwin002.win.tue.nl> <7.0.1.0.2.20060304174442.022ad158@broadpark.no> <20060304210846.GB46967@pcwin002.win.tue.nl> <7.0.1.0.2.20060306172439.0225beb0@broadpark.no> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="rS8CxjVDS/+yyDmU" Content-Disposition: inline In-Reply-To: <7.0.1.0.2.20060306172439.0225beb0@broadpark.no> User-Agent: Mutt/1.4.2.1i X-Bright-Idea: Let's abolish HTML mail! X-Virus-Scanned: amavisd-new at tue.nl Cc: freebsd-questions@freebsd.org Subject: Re: Haven't been able to make world in about a year 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: Tue, 07 Mar 2006 13:17:18 -0000 --rS8CxjVDS/+yyDmU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 06, 2006 at 05:29:36PM +0100, Kristian Vaaf wrote: > At 22:08 04.03.2006, Stijn Hoop wrote: > >On Sat, Mar 04, 2006 at 05:45:29PM +0100, Kristian Vaaf wrote: > >> At 12:05 03.03.2006, Stijn Hoop wrote: > >> > On Fri, Mar 03, 2006 at 11:58:37AM +0100, Kristian Vaaf wrote: > >> > > I run the script to save time. > >> > > Basically I'd run the exact same chain of commands otherwise. > >> > > >> > You're missing the point: you'd run the exact same chain of commands > >> > > >> > --> _if everything goes according to plan_ <-- > >> > > >> > What this list has been telling you is that it sometimes doesn't work > >> > like anyone expects to, and you need to make an informed decision ab= out > >> > the next command to enter instead of having the script proceed. > >> > >> Whether I have my commands in my script or in my head doesn't > >> make any difference. Yes I do read UPDATING and if I notice any > >> changes they will be applied respectively. > > > >The moment one step does NOT work in the command sequence, you need to > >alter your next move. No script can be prepared for all the things > >that can happen. Which is why everyone is recommending you NOT to run > >things in a script. >=20 > I understand what you mean. No you apparently do not. > What I'm saying is, I do not expect a script to be prepared. Good. > I am the one reading UPDATING and modifying the script if there is a chan= ge. > Manually. Whether I write the sequence in the command line or into > a script that I execute doesn't make no difference! It doesn't, but you're missing the point again. Let's say for the sake of argument that your computer's internal clock broke down. FreeBSD will keep the time just fine so long as your machine has power, so you don't notice anything. Now you run your script. It will go through the stages of building world, building kernel, installing the kernel, and then rebooting. At this point your computer loses power for a few seconds and *presto* your clock is set to 1970. Now, your script proceeds after the reboot with the new kernel. Because your clock is WAY off, 'make installworld' will complain (well it could work, but let's assume it doesn't). Your script however, doesn't see this. It therefore proceeds with mergemaster, and rebooting again. Now you're running a new kernel with older binaries, that may or may not work. If this had happened to me [1], I would have stopped at the point where 'make installworld' throws an error, and wondered what went wrong. I could backout my kernel install, reboot into my working configuration, and figure things out before it all got out of hand (edited configuration files etc). And this is just ONE example of a admittedly minor thing that can go wrong. This is why you should not automate the installation yourself. > What do you mean, mailing list in the loop? I mean that you should keep CC'ing questions@FreeBSD.org so that other who wonder why automating this is not a good idea can search the archives to find out my answer to you. > Hartelijk dank, Stijn! Geen probleem. --Stijn --=20 > Thus again, we have succesfully proven that I cannot read minds. It doesn't help. Almost all you ever get is "This mind intentionally left blank." -- Steve VanDevender, alt.sysadmin.recovery --rS8CxjVDS/+yyDmU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFEDYfaY3r/tLQmfWcRAiGXAKCAyCQNNgBLc7qI05UkAhApYWJcrwCfeOF0 6HC9qVmz5XINTsRYrp24Grc= =5Kcp -----END PGP SIGNATURE----- --rS8CxjVDS/+yyDmU--