Created attachment 156812 [details] port patch to update consul to v0.5.1 Patch to update sysutils/consul to v0.5.1. The patch follows the style of the original port and adds additional dependencies.
A commit references this bug: Author: swills Date: Mon May 18 02:05:04 UTC 2015 New revision: 386655 URL: https://svnweb.freebsd.org/changeset/ports/386655 Log: sysutils/consul: update to 0.5.1 PR: 200231 (with minor changes) Submitted by: Robert Barabas <robert.barabas@percona.com> Changes: head/sysutils/consul/Makefile head/sysutils/consul/distinfo head/sysutils/consul/files/consul.in head/sysutils/consul/files/patch-deps_v0-5-0.json
Committed, thanks. Took the opportunity to add a consul_env setting for the rc script, so it's possible to set this to GOMAXPROCS=5 and silence the warning about that from consul. Also, this updated version failed to startup properly, hang during the raft db migration. After I got rid of my /var/tmp/consul directory it seemed to work fine, so I'm chalking that up to an upstream issue or something local.
(In reply to Steve Wills from comment #2) FYI, it's only the /var/tmp/consul/raft directory that needs to be moved out of the way. Once moved out of the way, the process should start, pull down its log from its peers, and once in sync, an administrator can move to the next host. I opened an issue upstream even though the issue is trivial to work around. This is probably worth noting in ports/UPDATING. https://github.com/hashicorp/consul/issues/956 Also 0.5.2 was released today and fixes an important memory leak. I just bumped the sha for consul-0.5.2 and kept the other dependencies the same.