From owner-freebsd-ports@freebsd.org Wed Jun 27 12:18:02 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BF1B81020C8F for ; Wed, 27 Jun 2018 12:18:02 +0000 (UTC) (envelope-from SRS0=7/i7=JN=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 585DE7AC52; Wed, 27 Jun 2018 12:18:02 +0000 (UTC) (envelope-from SRS0=7/i7=JN=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id ACA9528417; Wed, 27 Jun 2018 14:18:00 +0200 (CEST) Received: from illbsd.quip.test (ip-86-49-16-209.net.upcbroadband.cz [86.49.16.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id C058328412; Wed, 27 Jun 2018 14:17:59 +0200 (CEST) Subject: Re: Should a package restart on upgrade itself To: Mathieu Arnold Cc: freebsd-ports@freebsd.org References: <595296BF.3040906@quip.cz> <77549bbc-50b1-7635-2ca4-1ae229098506@quip.cz> <20180627095817.uvr3xgid4vflbmba@ogg.in.absolight.net> From: Miroslav Lachman <000.fbsd@quip.cz> Message-ID: Date: Wed, 27 Jun 2018 14:17:59 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.3 MIME-Version: 1.0 In-Reply-To: <20180627095817.uvr3xgid4vflbmba@ogg.in.absolight.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2018 12:18:02 -0000 Mathieu Arnold wrote on 2018/06/27 11:58: > On Tue, Jun 26, 2018 at 01:27:49PM +0200, Miroslav Lachman wrote: >> Miroslav Lachman wrote on 2017/06/27 19:32: [...] >> Again and again and again... >> >> Can we have some written (or do we have?) policy to not stop/start/restart >> services from some @preunexec / @postexec targets? >> I really don't like that some packages are still shutting down or trying to >> restart in the middle of the pkg upgrade process. > > There is a policy, it MUST NOT be done. Do you have a link to docs where it is stated? I really would like to bookmark it so next time this discussion appear I will just post the link to docs ;) > Services are stopped and started with the rc file they install, and pkg > does it when its configuration variable HANDLE_RC_SCRIPTS is set to > true. > > Please point out to ports doing this so that they can be fixed. > I know about the open-vm-tools. I will let you know if I will find another. Kind regards Miroslav Lachman