Should a package restart on upgrade itself

Miroslav Lachman 000.fbsd at quip.cz
Wed Jun 27 12:18:02 UTC 2018


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


More information about the freebsd-ports mailing list