[stunnel-users] Couple of issues with 4.45

Philippe A. futhark77 at gmail.com
Thu Mar 1 22:46:52 CET 2012


Hello,

I have encountered a couple of issues with stunnel 4.45 on RHEL 5.5.

I tried configuring stunnel to log messages in /var/log/messages and later
found that messages were logged both in that file AND /var/log/messages.

In stunnel.conf, I had specified:
debug=local6.info

In syslog.conf:
local6.*                                               /var/log/stunnel.log

I could achieve what I wanted only with the combination of the following
two options:
syslog=no
output=/usr/local/app/stunnel/var/stunnel.log

Is this expected?

The second issue I have noticed is that stunnel seems to have a bit of
trouble handling the hup signal. If you start stunnel specifying a relative
path to the config, sending hup will cause stunnel to log and error but it
won't exit.

2012.03.01 16:31:29 LOG5[19000:0]: Reading configuration from file
etc/server.conf
2012.03.01 16:31:29 LOG3[19000:0]: etc/server.conf: No such file or
directory (2)
2012.03.01 16:31:29 LOG3[19000:0]: Cannot read configuration
2012.03.01 16:31:29 LOG3[19000:0]: Failed to reload the configuration file

If you specify an absolute path, no error will be reported but stunnel will
exit anyway.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.stunnel.org/pipermail/stunnel-users/attachments/20120301/883d0102/attachment.html>


More information about the stunnel-users mailing list