tincd fails to start on boot with the following messages: Starting tincd for: <network_name> Shared object "liblzo2.so.2" not found, required by "tincd"
I can not reproduce your problem. The Makefile contains the dependency: LIB_DEPENDS= liblzo2.so:${PORTSDIR}/archivers/lzo2 Please check your system. I doubt rebuild or reinstall lzo2.
liblzo2.so.2 exists on my system, and 'service tincd start' works. The problem is that it does not start on boot. I see this problem on at least 3 hosts.
A Fix has been commited. Please update.
I updated tinc to 1.0.26_1, but it still doesn't work. It seems it is 'BEFORE: routing' that causes it to start before ldconfig.
'BEFORE: routing' is needed so the static routes can be set in rc.conf. ldconfig is called to late here. rcorder can not fix this. rcorder: Circular dependency on file `files/tincd.in'. rcorder: Circular dependency on provision `ldconfig' in file `files/tincd.in'.
A commit references this bug: Author: dinoex Date: Thu Jan 14 06:02:05 UTC 2016 New revision: 406095 URL: https://svnweb.freebsd.org/changeset/ports/406095 Log: - fix startup order conflict - allow tinc to start early, so "static_routes" in /etc/rc.conf works. PR: 202371 Changes: head/security/tinc/Makefile head/security/tinc/files/tincd.in
As there was no solution in base, we have to call ldconfig here.