From owner-freebsd-questions Tue Jul 24 12: 4:50 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mailf.telia.com (mailf.telia.com [194.22.194.25]) by hub.freebsd.org (Postfix) with ESMTP id 5FB0337B406 for ; Tue, 24 Jul 2001 12:04:46 -0700 (PDT) (envelope-from ertr1013@student.uu.se) Received: from d1o913.telia.com (d1o913.telia.com [195.252.44.241]) by mailf.telia.com (8.11.2/8.11.0) with ESMTP id f6OJ4fv23947 for ; Tue, 24 Jul 2001 21:04:41 +0200 (CEST) Received: from ertr1013.student.uu.se (h185n2fls20o913.telia.com [212.181.163.185]) by d1o913.telia.com (8.8.8/8.8.8) with SMTP id VAA29801 for ; Tue, 24 Jul 2001 21:04:39 +0200 (CEST) Received: (qmail 88122 invoked by uid 1001); 24 Jul 2001 19:03:50 -0000 Date: Tue, 24 Jul 2001 21:03:50 +0200 From: Erik Trulsson To: Kevin Golding Cc: freebsd-questions@FreeBSD.ORG Subject: Re: make world from across the globe Message-ID: <20010724210350.A88091@student.uu.se> Mail-Followup-To: Kevin Golding , freebsd-questions@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.19i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Jul 24, 2001 at 06:22:44PM +0100, Kevin Golding wrote: > I'm planning an upgrade from 4.2 -> 4.3 release but there's a couple of > things I'm a bit uncertain about. > > The problem is that I have no direct access to the machine in question, > I usually just connect with ssh and for day to day stuff that serves me > just fine, but from the stuff I've read about upgrades I should drop > down to single user mode for the final stages like make installworld. > > Now to my knowledge this makes remote logins a problem. > > I've thought about setting /etc/ttys to insecure and then just dropping > down but I'm not exactly confident that'll work. > > I've also read on.demon.co.uk/FreeBSD/make-world/make-world.html > which looks like I > might be able to avoid dropping to single user if I'm *very* careful, > prepared and desperate. > > I'm therefore hoping someone can point me in the direction of either i) > a way to login across the Internet or ii) a way to do a source upgrade > without dropping to single user > You do not have to drop to single user. The important thing is that the system is "quiet" during the installworld. This basically means that you should not have any unnecessary daemons running in the background and no users should be allowed to login during the installworld. (Unnecessary daemons == everything except the instance of sshd that you are connected to.) (The easiest way of doing this is by dropping into single user mode but you can kill the unnecessary stuff by hand.) The reason for this is that otherwise some programs get an inconsistent environment. (Some files it needs have been updated, others have not and the mixture between old and new doesn't work.) Usually one can get away with doing the installworld with the system is running as usual but don't count on it. If you have a serial console for the machine then it is possible to drop into single user mode and do everything 'by the book'. This does require you to have some other machine at the location connected to the first one with a serial cable though, so it might not be possible. Having a serial console can be quite useful if you run into any problems with a remote machine. -- Erik Trulsson ertr1013@student.uu.se To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message