Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Feb 2001 03:30:04 -0800 (PST)
From:      Rob Simmons <rsimmons@wlcg.com>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/23554: stunnel-3.8.4 creates pid files in /var/run/stunnel =  problem with rc script
Message-ID:  <200102261130.f1QBU4H56290@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/23554; it has been noted by GNATS.

From: Rob Simmons <rsimmons@wlcg.com>
To: Martti Kuparinen <martti.kuparinen@nomadiclab.com>
Cc: <freebsd-gnats-submit@FreeBSD.org>,
	Martti Kuparinen <martti.kuparinen@piuha.net>
Subject: Re: ports/23554: stunnel-3.8.4 creates pid files in /var/run/stunnel
 =  problem with rc script
Date: Mon, 26 Feb 2001 06:25:50 -0500 (EST)

 If you take out the 'mkdir /var/run/stunnel' and add the '-P /var/run' it
 is much more Zen. :)
 
 Robert Simmons
 Systems Administrator
 http://www.wlcg.com/
 
 On Mon, 26 Feb 2001, Martti Kuparinen wrote:
 
 > On Sun, 25 Feb 2001, Rob Simmons wrote:
 >
 > > It is fixed in the application, but the stunnel.sh rc script does not
 > > reflect the change.  There are two changes to make to the rc script:
 > >
 > > ${STUNNEL} -d 993 -r localhost:imap -P /var/run -p /usr/local/etc/stunnel.pem
 > > ${STUNNEL} -d 995 -r localhost:pop3 -P /var/run -p /usr/local/etc/stunnel.pem
 > >
 > > The -P switch that fixes the problem should be added to the rc script,
 > > since the default value for -P is still /var/run/stunnel :)
 >
 > But stunnel creates the /var/run/stunnel directory if needed... at least
 > it did for me.
 >
 > # pkg_info | grep stunnel-3.14
 > stunnel-3.14        SSL encryption wrapper for standard network daemons
 >
 > # /usr/local/etc/rc.d/stunnel.sh stop
 > # rm -rf /var/run/stunnel
 >
 > # /usr/local/etc/rc.d/stunnel.sh start
 > # ps ax | grep stunnel
 > 19940  ??  Is     0:00.00 stunnel -d 993 -r localhost:imap -p /usr/local/etc/st
 > 19943  ??  Is     0:00.00 stunnel -d 995 -r localhost:pop3 -p /usr/local/etc/st
 > # ls -l /var/run/stunnel/
 > -rw-r--r--  1 root  wheel  5 Feb 26 08:03 stunnel.localhost.imap.pid
 > -rw-r--r--  1 root  wheel  5 Feb 26 08:03 stunnel.localhost.pop3.pid
 >
 > Martti
 >
 > ---
 > Ericsson Research / NomadicLab
 > Martti Kuparinen <martti.kuparinen@nomadiclab.com>
 > http://www.iki.fi/~kuparine/
 >
 >
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102261130.f1QBU4H56290>