From owner-freebsd-questions@FreeBSD.ORG Thu May 1 09:00:51 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 8CD2C37B409 for ; Thu, 1 May 2003 09:00:51 -0700 (PDT) Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 0851743F93 for ; Thu, 1 May 2003 09:00:50 -0700 (PDT) (envelope-from blueeskimo@gmx.net) Received: (qmail 21559 invoked by uid 65534); 1 May 2003 16:00:48 -0000 Received: from i216-58-29-174.gta.igs.net (EHLO [216.58.29.174]) (216.58.29.174) by mail.gmx.net (mp021-rz3) with SMTP; 01 May 2003 18:00:48 +0200 From: Adam To: FreeBSD Questions In-Reply-To: <020d01c30ff6$9dfe5c50$6e2a6ba5@tagalong> References: <020d01c30ff6$9dfe5c50$6e2a6ba5@tagalong> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-WomcC5LrQQZS5rU2xTLd" Organization: Message-Id: <1051804847.4315.11.camel@jake> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.4 Date: 01 May 2003 12:00:47 -0400 Subject: Re: Portupgrade, XFree86, and Gnome 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: Thu, 01 May 2003 16:00:52 -0000 --=-WomcC5LrQQZS5rU2xTLd Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2003-05-01 at 11:30, Drew Tomlinson wrote: > I've looked but have been unable to find an answer to my question. Can I > use portupgrade to upgrade XWindows related components while XWindows is > running? For example, I use the Gnome desktop. If I open a terminal win= dow > on the desktop, can I upgrade Gnome and XFree86 related items that need > updating in this window? Or is it required that I exit my desktop sessio= n, > kill gdm, and then kill XFree86 and run portupgrade from a console sessio= n? > Or maybe this isn't required but preferred? I'm confused. FreeBSD (as well as the other Unices) do not have any concept of Process-->File mapping like Win32. In other words, there is no problem of overwriting the file executed to create a currently running process. However, I am always wary of updating my XFree86 or window manager while they're running. If I understand correctly, various modules get loaded and unloaded dynamically by X as necessary. If portupgrade upgrades one of those modules, it's possible (in theory) that the new module isn't 100% compatible with the old version of X (which is the currently running process). So, if the updated module gets loaded by the existing X process, bad things *could* happen ... So, what is my answer to your question? You can probably get away with it most of the time, but there is a small chance that you could encounter problems. My advice: install and configure some console apps to tide you over while X isn't running. Eg, centericq, mutt, elinks, irssi. ;p I am not a FreeBSD developer, and I don't really know much about the internal workings of X, but this is my take on things. If I'm completely off my rocker here, someone please correct me. --=20 Adam --=-WomcC5LrQQZS5rU2xTLd Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQA+sUSvu3o4GBMSDL4RAhgKAJwJ02UyMfqwqqfDLNznFugn/KuWTwCgqHfI +2RI0VHnG96qzq0B8seFDw8= =vBya -----END PGP SIGNATURE----- --=-WomcC5LrQQZS5rU2xTLd--