Version: 5.42 [.] Reading configuration from file /usr/local/etc/stunnel/conf.d/pid.conf [.] UTF-8 byte order mark not detected [!] /usr/local/etc/stunnel/conf.d/pid.conf:1: "pid = /var/run/stunnel.pid": Specified option name is not valid here [!] /usr/local/etc/stunnel/stunnel.conf:39: Failed to include directory "/usr/local/etc/stunnel/conf.d" /usr/local/etc/rc.d/stunnel: WARNING: failed to start stunnel Removing the u/l/e/stunnel/conf.d/pid.conf fixes the error
We have version 5.44. Problem still exists.
(In reply to w.schwarzenfeld from comment #1) Asked stunnel developer for assistance on fixing this in stunnel itself.
Please try renaming pid.conf to 00-pid.conf Thanks!
(In reply to Ryan Steinmetz from comment #3) Any thoughts? If you can confirm this is good for you, I will incorporate the changes into the port.
Seems to work.
Looks good -- apologies for the delay.
A commit references this bug: Author: zi Date: Tue Feb 20 13:11:22 UTC 2018 New revision: 462395 URL: https://svnweb.freebsd.org/changeset/ports/462395 Log: - Resolve pid issue at startup due to conf.d parsing order - Bump PORTREVISION PR: 221822 Reported by: Kamil Choudhury Changes: head/security/stunnel/Makefile head/security/stunnel/pkg-plist