FreeBSD Bugzilla – Bug 79120
security/stunnel tries to create pid file in non-existent directory
Last modified: 2005-05-12 12:37:38 UTC
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.
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.
Reclassify and assign.
Fix misassignment. I _thought_ I did 'make maintainer' in the right
I'm looking into this one, and into moving the pid file to /var/run,
where it belongs...
Fixed in the just-committed update to 4.10.
Thanks for the problem report and the analysis!
Fixed in the just-committed update to 4.10. Thanks for the problem report!