portupgraded from stunnel 4.05 to 4.07. Saw the warning about rc_subr and added the stunnel_enable="YES" to /etc/rc.conf. Spotted that it wanted to put its pid file in /usr/local/var/stunnel rather than /var/run as before. However this directory does not exist - wasn't created by the installation. Fix: Added 'stunnel_pidfile="/var/run/stunnel.pid"' to /etc/rc.conf and 'pid = /var/run/stunnel.pid' to /usr/local/etc/stunnel/stunnel.conf. Now works as before. How-To-Repeat: portupgrade from stunnel 4.05 to 4.07 and check to see if /usr/local/var/stunnel has been created. Start and stop stunnel and see the pidfile warning.
Responsible Changed From-To: freebsd-bugs->trevor Reclassify and assign.
Responsible Changed From-To: trevor->roam Fix misassignment. I _thought_ I did 'make maintainer' in the right directory ...
State Changed From-To: open->analyzed I'm looking into this one, and into moving the pid file to /var/run, where it belongs...
State Changed From-To: analyzed->closed Fixed in the just-committed update to 4.10. Thanks for the problem report and the analysis!
State Changed From-To: analyzed->closed Fixed in the just-committed update to 4.10. Thanks for the problem report!