From owner-freebsd-questions@FreeBSD.ORG Thu Dec 22 13:24:27 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1B2C106564A for ; Thu, 22 Dec 2011 13:24:27 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id A61F88FC16 for ; Thu, 22 Dec 2011 13:24:27 +0000 (UTC) Received: from r56.edvax.de (port-92-195-49-185.dynamic.qsc.de [92.195.49.185]) by mx02.qsc.de (Postfix) with ESMTP id A4FB41E62F; Thu, 22 Dec 2011 14:24:26 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id pBMDOQdn002341; Thu, 22 Dec 2011 14:24:26 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 22 Dec 2011 14:24:26 +0100 From: Polytropon To: Albert Shih Message-Id: <20111222142426.550b55da.freebsd@edvax.de> In-Reply-To: <20111222124709.GA48640@pcjas.obspm.fr> References: <20111124150901.GK87561@pcjas.obspm.fr> <20111222124709.GA48640@pcjas.obspm.fr> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: questions@freebsd.org Subject: Re: 7.4 -> 8.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2011 13:24:28 -0000 On Thu, 22 Dec 2011 13:47:09 +0100, Albert Shih wrote: > Le 24/11/2011 =E0 16:09:01+0100, Albert Shih a =E9crit > > Hi all > >=20 > > Almost classic question about updating from 7.4 to 8.2. > >=20 > > Anyone known if I can temporally run a 7.4 userland+service with 8.2 ke= rnel > > ?=20 > >=20 > > I've ask this because I've ~ 15 jail on one server. I can update the = =ABhost=BB > > pretty fast but with the 15 jail I need some time. And I would like to > > known if durring this time the jail going to work =ABnormally=BB.=20 > >=20 > So I answer to myself.=20 >=20 > Some body tell me it's like =20 >=20 > "My gut reaction was "Are you familiar with the game of Russian Roulette?= ". >=20 > Well....it's work...almost.=20 >=20 > Here what I do :=20 >=20 > Upgrade kernel and userland from 7.4 to 8.2 on the host. >=20 > Upgrade all userland of my all jail to 8.2 >=20 > Until now everything work fine. >=20 > Delete old libs/files/man=20 >=20 > and...apache stop working.=20 >=20 > After do a >=20 > portupgrade -fR apache >=20 > everything work again.=20 >=20 > Be careful the=20 >=20 > portupgrade -f apache >=20 > is not enough. I don't known which ports have some problem but I > got a SSL error. So first I just update apache. It's not good. Then > apr, etc...finally I upgrade with =AB-fR=BB and everything work again. >=20 > For subversion you need to force upgrade neon too. You should basically be able to run v7 programs in a partially installed v8 environment as long as the COMPAT_FREEBSD7 functionality is enabled and the compat7x-i386-7.3.703000.201008_1 port or package has been installed. However, kernel and world should match each other. After an upgrade from one major version to the next one, it's the best solution to update _all_ installed ports. The "man portmaster" manpage contains a nice example for this situation. It should be similarly easy to achieve with portupgrade. --=20 Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...