The bug I posted at
is probably related to stunnel.
But bugzilla seems does not have stunnel in RedHat menu.
There is a problem with stunnel-3.9.1 from RedHat updates.
It has wrong paths compiled in and does not work properly because of this
/usr/sbin/stunnel -d 465 -r remote_host_ip:25
It prints in /var/log/messages
Dec 20 14:38:16 localhost stunnel: stunnel 3.9 on
Dec 20 14:38:16 localhost stunnel: Cannot create pid file
Dec 20 14:38:16 localhost stunnel: Create: No such file or
See, there is a string /var/stunnel in /usr/sbin/stunnel
which is used in path.
rpm -q stunnel
[root@localhost /root]# strings /usr/sbin/stunnel |grep /var/stunn
The wrong string "/var/stunnel/" is compiled in.
It also doesn't clean up the PID file when killed with a SIGHUP. Both problems
will be fixed in stunnel-3.9-2. Until it is released, use the "-P /var/run/"
option to work around this.
The errata package will be 3.10-2.
The stunnel 3.11 was released today.
Seems they are hot-fixing some bugs.