From owner-freebsd-questions@FreeBSD.ORG Tue Jun 3 07:54:02 2003 Return-Path: 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 5A9C337B401 for ; Tue, 3 Jun 2003 07:54:02 -0700 (PDT) Received: from gwdu60.gwdg.de (gwdu60.gwdg.de [134.76.98.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D4ED43FB1 for ; Tue, 3 Jun 2003 07:54:00 -0700 (PDT) (envelope-from kheuer2@gwdg.de) Received: from gwdu60.gwdg.de (localhost [127.0.0.1]) by gwdu60.gwdg.de (8.12.8p1/8.12.4) with ESMTP id h53ErxJc082118; Tue, 3 Jun 2003 16:53:59 +0200 (CEST) (envelope-from kheuer2@gwdg.de) Received: from localhost (kheuer2@localhost)h53ErwBD082115; Tue, 3 Jun 2003 16:53:59 +0200 (CEST) X-Authentication-Warning: gwdu60.gwdg.de: kheuer2 owned process doing -bs Date: Tue, 3 Jun 2003 16:53:58 +0200 (CEST) From: Konrad Heuer To: Chuck Swiger In-Reply-To: <3EDCB272.1080506@mac.com> Message-ID: <20030603164732.D77677-100000@gwdu60.gwdg.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: Re: Upgrading a live server with rdist X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jun 2003 14:54:02 -0000 On Tue, 3 Jun 2003, Chuck Swiger wrote: > Konrad Heuer wrote: > [ ... ] > > As far as I see there is little chance to do this without carefully > > restarting all processes, e.g. by shutting down into single user mode and > > returning to multi user mode. > > It is advisable to switch into single-user mode when updating the system files, > agreed. > > > If you replace program files and shared libraries used by currently > > running processes, this will cause the corresponding processes to be > > aborted abnormally in case of page fault requiring a page-in from the > > program files or shared libraries. > > Generally not; the system doesn't delete files that are in use even if you > overwrite those files: it hangs on to the inode and won't free the space until > nobody needs that file. Yes, that's true in general, but if you replace program files and/or libraries needed by processes invoked before this processes WILL FAIL in case of a page-in. Try if you don't believe. Regards Konrad Heuer (kheuer2@gwdg.de) ____ ___ _______ GWDG / __/______ ___ / _ )/ __/ _ \ Am Fassberg / _// __/ -_) -_) _ |\ \/ // / 37077 Goettingen /_/ /_/ \__/\__/____/___/____/ Germany