From owner-freebsd-stable Tue Mar 12 10:37:22 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mired.org (dsl-64-192-6-133.telocity.com [64.192.6.133]) by hub.freebsd.org (Postfix) with SMTP id 9E02637B425 for ; Tue, 12 Mar 2002 10:36:49 -0800 (PST) Received: (qmail 67421 invoked by uid 100); 12 Mar 2002 18:36:39 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15502.19126.331274.336789@guru.mired.org> Date: Tue, 12 Mar 2002 12:36:38 -0600 To: Christopher Schulte Cc: Erik Trulsson , MikeM , freebsd-stable@FreeBSD.ORG Subject: Re: Remote upgrading (was: /etc/make.conf question) In-Reply-To: <5.1.0.14.0.20020312113310.05cd6028@pop3s.schulte.org> References: <200203121201050707.044E239E@luna.affordablehost.com> <20020312074349.A91204@blackhelicopters.org> <20020312155618.GA9463@raggedclown.net> <20020312114158.A92910@blackhelicopters.org> <5.1.0.14.0.20020312113310.05cd6028@pop3s.schulte.org> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: "Mike Meyer" X-Delivery-Agent: TMDA/0.48 (Python 2.2 on freebsd4) Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Christopher Schulte types: > At 06:19 PM 3/12/2002 +0100, Erik Trulsson wrote: > >Now, if you can ensure that the machine is "quiet" in some other way, > >for example by not running any applications yourself and making sure > >nobody else is logged in, and are confident that the new kernel will > >work then there is no reason you can't do a remote upgrade. > > Ideally, > > Log out all users but yourself. > > Unmount all network drives. Unfortunately, that includes /usr/src and /usr/obj on some of my machines :-). > Stop all inet services. See above. > Kill all processes not critical to the running system such as cron, > syslogd, inetd, sshd ( just the master listening process ). I just run a > ps until I feel I've killed everything I can. > > I've done a ton of these remote installs. They've been safe for me. On msvhines that I install with an nfs-mounted /usr/src and /usr/obj, I reboot to multiuser, then shutdown to single user. That hasn't casued me a problem yet either. The trick is to make sure that all the kernel modules are updated as well as the kernel, and not to let them get to far out of sync. And, of course, to be prepared for the worst. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message