Hello gregor,

Stunnel4 default configuration file is created for use in chroot environment. Here is default lines :
chroot = /var/run/stunnel4/
setuid = stunnel4
setgid = stunnel4
; PID is created inside chroot jail
pid = /stunnel4.pid

stunnel4.pid is created in chroot jail, /var/stunnel/stunnel.pid is probably a old configuration file line.

So you have to create you chroot or to personalise your configuration file for you need. If you are agree that this bug is no more present. You can close it by mailing [EMAIL PROTECTED]

Best Regards.
Julien Lemoine

gregor herrmann wrote:

Package: stunnel4
Version: 2:4.140-3
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

When trying to run /usr/sbin/stunnel after a fresh install of
stunnel4 it doesn't start and gives no messages.

The syslog then tells the problem:

Dec 18 14:57:42 belanna stunnel: LOG5[31732:3083032256]: stunnel 4.14 on 
i486-pc-linux-gnu PTHREAD+POLL+IPv6+LIBWRAP with OpenSSL 0.9.8a 11 Oct 2005
Dec 18 14:57:42 belanna stunnel: LOG5[31732:3083032256]: 500 clients allowed
Dec 18 14:57:42 belanna stunnel: LOG3[31734:3083032256]: Cannot create pid file 
/var/stunnel/stunnel.pid
Dec 18 14:57:42 belanna stunnel: LOG3[31734:3083032256]: create: No such file 
or directory (2)

After `md /var/stunnel` everything works as expected.

IIRC some maintainer script told me during install that some
directory - probably /var/stunnel - was not created.

BTW: Shouldn't a pidfile go into /var/run(/stunnel)/?

gregor

- -- System Information:
Debian Release: testing/unstable
 APT prefers unstable
 APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14.200512011818
Locale: LANG=C, [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages stunnel4 depends on:
ii  adduser                       3.80       Add and remove users and groups
ii  libc6                         2.3.5-8.1  GNU C Library: Shared libraries an
ii  libssl0.9.8                   0.9.8a-5   SSL shared libraries
ii  libwrap0                      7.6.dbs-8  Wietse Venema's TCP wrappers libra
ii  netbase                       4.23       Basic TCP/IP networking system
ii  openssl                       0.9.8a-5   Secure Socket Layer (SSL) binary a
ii  perl-modules                  5.8.7-10   Core Perl modules
ii  zlib1g                        1:1.2.3-8  compression library - runtime

stunnel4 recommends no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDpW3tOzKYnQDzz+QRAp70AKC+W8EX60EHv8ZzPoGtepwnlZJ/RgCfSwE1
So/XMDX+b3snpM8cv19vM5c=
=dl00
-----END PGP SIGNATURE-----




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to