Mantis - stunnel
Viewing Issue Advanced Details
3029 regular use minor always 2009-01-21 12:29 2009-06-23 09:30
skayser  
skayser  
normal  
closed  
fixed  
none    
none  
0003029: Cannot create pid file /opt/csw/var/run/stunnel/stunnel.pid
stunnel tries to create its PID file in a non-existent directory.

$ stunnel stunnel.conf
2009.01.21 12:20:00 LOG5[28953:1]: stunnel 4.21 on i386-pc-solaris2.8 with OpenSSL 0.9.8i 15 Sep 2008
2009.01.21 12:20:00 LOG5[28953:1]: Threading:PTHREAD SSL:ENGINE Sockets:POLL,IPv6
2009.01.21 12:20:00 LOG5[28953:1]: 125 clients allowed
2009.01.21 12:20:00 LOG3[28953:1]: Cannot create pid file /opt/csw/var/run/stunnel/stunnel.pid
2009.01.21 12:20:00 LOG3[28953:1]: create: No such file or directory (2)

You might create the missing directory for the package, but it would be even better to relocate the /opt/csw/var stuff to /var/opt/csw (http://opencsw.org/standards/layout). [^]
$ pkginfo -x CSWstunnel
CSWstunnel stunnel - allows to encrypt arbitrary TCP connections inside SSL
            (i386) 4.21
Issue History
2009-01-21 12:29 skayser New Issue
2009-06-23 09:28 skayser Status new => assigned
2009-06-23 09:28 skayser Assigned To => skayser
2009-06-23 09:30 skayser Note Added: 0006333
2009-06-23 09:30 skayser Status assigned => closed
2009-06-23 09:30 skayser Resolution open => fixed

Notes
(0006333)
skayser   
2009-06-23 09:30   
Issue has been fixed with 4.27,REV=2009.06.18. --localstatedir is now /var/opt/csw/.