Bug 228357 - security/tinc: tincd failed to restart
Summary: security/tinc: tincd failed to restart
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Many People
Assignee: Dirk Meyer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-19 05:54 UTC by CUI Hao
Modified: 2019-04-29 08:35 UTC (History)
0 users

See Also:
dinoex: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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