Date: Wed, 27 Jun 2018 14:17:59 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> To: Mathieu Arnold <mat@FreeBSD.org> Cc: freebsd-ports@freebsd.org Subject: Re: Should a package restart on upgrade itself Message-ID: <a847f0a6-25fd-6fb4-3882-202e69b70785@quip.cz> In-Reply-To: <20180627095817.uvr3xgid4vflbmba@ogg.in.absolight.net> References: <b71469f3-dd9d-6680-f85e-a7acfcf9d944@fechner.net> <595296BF.3040906@quip.cz> <77549bbc-50b1-7635-2ca4-1ae229098506@quip.cz> <20180627095817.uvr3xgid4vflbmba@ogg.in.absolight.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a847f0a6-25fd-6fb4-3882-202e69b70785>