From owner-freebsd-stable@FreeBSD.ORG Tue May 22 21:02:36 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9D56F16A400 for ; Tue, 22 May 2007 21:02:36 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.freebsd.org (Postfix) with ESMTP id ECF9613C468 for ; Tue, 22 May 2007 21:02:35 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so337399ugh for ; Tue, 22 May 2007 14:02:34 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:received:date:from:to:cc:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to; b=MdtOIxRQl/oB9t0QZy1YZV5a5fx6DU9yCfyYYKxrA0sm3jvrqhgAjspzYTFKDGueH5jSNrG7N4hVvNCKi5bKE+l0PD6bn/DZshOBcHe8vCf4drF9u1+8F0sKz49ZWIi6a/h7FGoOGHMlGmpbdVSFF1+sEV22Q/+fUEkWOuEZj48= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to; b=aDyDWtUCuscq7tFfmFJ9BIkeMK7dMXuvQ31erneNZRUYvv0uXGyyju60alj2nkwTeU3zcQ73H6JJ1I8xhKaDacngdbezLiSI5cEQ5zcwt5bA6QvVZiyvBx2buYB6eLZJHmNd7Nue5AITU6oRZ+CEw+fTU28i2bNl0SsfhfiIVig= Received: by 10.67.92.9 with SMTP id u9mr823165ugl.1179867753931; Tue, 22 May 2007 14:02:33 -0700 (PDT) Received: from roadrunner.q.local ( [85.180.148.246]) by mx.google.com with ESMTP id y7sm2384626ugc.2007.05.22.14.02.32; Tue, 22 May 2007 14:02:32 -0700 (PDT) Received: from roadrunner.q.local (localhost [127.0.0.1]) by roadrunner.q.local (8.14.1/8.14.1) with ESMTP id l4ML2OZg005286; Tue, 22 May 2007 23:02:24 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Received: (from q@localhost) by roadrunner.q.local (8.14.1/8.14.1/Submit) id l4ML2N1C005285; Tue, 22 May 2007 23:02:23 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Date: Tue, 22 May 2007 23:02:23 +0200 From: Ulrich Spoerlein To: Olivier Mueller Message-ID: <20070522210223.GB1547@roadrunner.q.local> Mail-Followup-To: Olivier Mueller , freebsd-stable@freebsd.org References: <1179860619.14799.37.camel@bigapple.omnis.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1179860619.14799.37.camel@bigapple.omnis.ch> Cc: freebsd-stable@freebsd.org Subject: Re: minimizing downtime on upgrades? (for example: mysql 4.1 -> 5.0 or php) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 May 2007 21:02:36 -0000 Olivier Mueller wrote: > Isn't there a better way? How do you handle such cases? We go to extra lengths and allow only pkg installs on servers. That way we are sure, that no random library pollution takes place. It also makes stuff better reproducable. Sadly packages are somewhat neclected and there is still no good pkg_update tool > What I'm going to try is to prepare packages of the ports I have to > upgrade on a dev/test server, and then install them with pkg_add: is > that the "right way" ? A good way would be to test this very update with packages on a test box. That is, install mysql4, produce your mysql5 packages somewhere else (or use a chroot or jail). Then see if pkg-updating works for mysql. Ulrich Spoerlein -- "The trouble with the dictionary is you have to know how the word is spelled before you can look it up to see how it is spelled." -- Will Cuppy