Hi Claus,
I'm not sure why the stunnel process dies for you.
maybe I am wrong, but I could imagine, that this issue is related to the behaviour that I described in my mail to this list (sent on the 10th of January).
I have several processes running using config files similar to what I included earlier. We generally create one config file per service. So if I was to run an TSSL service like you then I'd have a config file called /etc/stunnel/stunnel_tssl.conf ... and the service is started from /etc/inittab with a line like this:
stunnel_tssl:2:once:/usr/local/bin/stunnel /etc/stunnel/stunnel_tssl.conf
/dev/console
I haven't experienced any problems with the stunnel process not staying alive... And the process I started early this morning on my test box is still alive:
clund@prod-db-2:/home/clund $ ps -ef|grep stunnel nobody 1233036 1 0 08:15:28 - 0:00 /usr/local/bin/stunnel /etc/stunnel/stunnel_tssl.conf
I guess, the initial /sbin/init is not connected to a terminal - thus the "tty" column is always empty in your setup. Could you try to run stunnel from a terminal instead?
Or am I completely off-track?
regards, Lars