From owner-freebsd-current@FreeBSD.ORG Mon Jul 15 16:23:45 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 1BCFFE68; Mon, 15 Jul 2013 16:23:45 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-oa0-x235.google.com (mail-oa0-x235.google.com [IPv6:2607:f8b0:4003:c02::235]) by mx1.freebsd.org (Postfix) with ESMTP id CFCBC832; Mon, 15 Jul 2013 16:23:44 +0000 (UTC) Received: by mail-oa0-f53.google.com with SMTP id k14so16155984oag.12 for ; Mon, 15 Jul 2013 09:23:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=BNWx5wfVMHGa3vk6z9GeG9hiobRFtkXmi0q7yJVeX98=; b=HYLoP6u1LoDNVWcqL+tOQBKqM7BApItS5OMTWvxXngJx2r9T+88osJ2Bg0T+20lms8 Mto/wPKdWhtvoGc4k5GVye4GlJV5fPeXwqvRRNfp2Uxr0i1JqFOtAO1Q9xiUGlNn2OaE TYkbLTo2O4LTP8DpyK3VQutiAZy8kUFG+ifWhioHWc/xThqBDjK+0RQoQ5eK8T74UsoL flDMgKTMtkX4QTJoS8fSjzPNKAXdDTLD16Irb3girOt6qGwipogGv2RhIVhM+hO60wJ3 tD2Ft4yMA5j/qlqdRT/+gz+QGt+Vc+VASKdLiMg4DY/cfN8X9hQLzy0yKPs8qtdn+qDN Ezsg== MIME-Version: 1.0 X-Received: by 10.182.50.200 with SMTP id e8mr44583248obo.35.1373905424348; Mon, 15 Jul 2013 09:23:44 -0700 (PDT) Sender: kob6558@gmail.com Received: by 10.76.112.212 with HTTP; Mon, 15 Jul 2013 09:23:44 -0700 (PDT) In-Reply-To: <1373900246.23916.140661255858745.1BA622A0@webmail.messagingengine.com> References: <201307141949.r6EJnZPp009319@hergotha.csail.mit.edu> <1373895245.27518.140661255822389.195BA409@webmail.messagingengine.com> <20130715144408.6af32858@gumby.homeunix.com> <1373900246.23916.140661255858745.1BA622A0@webmail.messagingengine.com> Date: Mon, 15 Jul 2013 09:23:44 -0700 X-Google-Sender-Auth: eAAN1kaOQRDNm9GJK8z0QNTfn-Y Message-ID: Subject: Re: Ports with daemons on uninstall... From: Kevin Oberman To: Mark Felder Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jul 2013 16:23:45 -0000 On Mon, Jul 15, 2013 at 7:57 AM, Mark Felder wrote: > On Mon, Jul 15, 2013, at 8:44, RW wrote: > > > > Is that really correct? I would expect the deinstall to be done after > > the build has completed successfully. > > > > That might not be accurate with a current portmaster, but we used to > have that happen all too frequently. I just checked the plist and it has > @stopdaemon mysql-server, so I'm guessing portmaster would run that too > prematurely. > The reality is that some ports take a LONG time to just install, especially when libtool is involved. I want the old daemon running until the old one is installed. Then either the make or I can restart the daemon which results in a downtime of about two or three seconds. Stopping before the new version is installed guarantees a much longer outage. Yes, I also see some possible nasty races in a few cases, not most would be fine. -- R. Kevin Oberman, Network Engineer E-mail: rkoberman@gmail.com