[stunnel-users] Bug in tools stunnel.init

Michal Trojnara Michal.Trojnara at mobi-com.net
Wed Sep 17 20:58:27 CEST 2008


Kevin A. McGrail wrote:
> In stunnel.init.in, I'm pretty sure the DAEMON line should be
> DAEMON=@prefix@/bin/stunnel
> and not
> DAEMON=@prefix@/etc/stunnel

Fixed.  Thank you.

> Also, when the parent process is killed with stop, I see Sep 17 14:34:16
> server stunnel: warning: can't get client address: Bad file descriptor
> because the child processes seem to stick around.
>
> I've modified the init script to kill the main process using the pid file
> and then using pidof to identify and kill the remaining child processes. 
> Is this expected behavior?

What about:
ftp://stunnel.mirt.net/stunnel/libwrap_shutdown.patch
Does it help?

Best regards,
	Mike



More information about the stunnel-users mailing list