Bug 228357

Summary: security/tinc: tincd failed to restart
Product: Ports & Packages Reporter: CUI Hao <cuihao.leo>
Component: Individual Port(s)Assignee: Dirk Meyer <dinoex>
Status: Closed FIXED    
Severity: Affects Many People Flags: dinoex: maintainer-feedback+
Priority: ---    
Version: Latest   
Hardware: amd64   
OS: Any   

Description CUI Hao 2018-05-19 05:54:56 UTC
It seems "service tincd restart" bring up tincd too early before previous tincd process is stopped:

$ sudo service tincd restart
Password:
Stopping tincd for: wmnet
tincd already running?  (pid=30017).
$ echo $?
1
$ sudo service tincd start
Starting tincd for: wmnet

Maybe the rc.d script should wait for tincd to stop?
Comment 1 commit-hook freebsd_committer freebsd_triage 2019-04-29 08:34:41 UTC
A commit references this bug:

Author: dinoex
Date: Mon Apr 29 08:34:08 UTC 2019
New revision: 500398
URL: https://svnweb.freebsd.org/changeset/ports/500398

Log:
  - fix restart when shutdown is slow
  PR:		228357
  Reported by:	CUI Hao

Changes:
  head/security/tinc/files/tincd.in
  head/security/tinc-devel/files/tincd.in