Philippe A. wrote:
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.
/var/log/messages *and* /var/log/messages? Are you sure?
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?
Yes, it is.
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.
I guess you try to reload configuration within chroot, but you forgot to copy stunnel.conf to your chroot jail. My recommendation is to disable chroot.
Mike