Package: stunnel4
Version: 3:4.29-1
Severity: normal
Hi,
I am using stunnel in client mode.
With this setup, DNS lookups are delayed for the 'connect' option,
either when the name cannot be resolved at start-up, or with the 'delay'
option.
If stunnel is running in a chroot jail, these delayed DNS lookups fail,
with the following error message:
2010.02.28 18:42:07 LOG3[10723:139869934450960]: Error resolving
'smtps.xxx.fr': Neither nodename nor servname known (EAI_NONAME)
2010.02.28 18:44:35 LOG3[10989:140489145784592]: No host resolved
AFAICT, at least /etc/resolv.conf needs to be copied in the chroot
directory. I am however not sure that it is sufficient, and I did not
find anything in the docs about this problem.
Regards,
Arnaud Giersch
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing'), (50, 'unstable'), (40, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages stunnel4 depends on:
ii adduser 3.112 add and remove users and groups
ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib
ii libssl0.9.8 0.9.8k-8 SSL shared libraries
ii libwrap0 7.6.q-18 Wietse Venema's TCP wrappers libra
ii netbase 4.40 Basic TCP/IP networking system
ii openssl 0.9.8k-8 Secure Socket Layer (SSL) binary a
ii perl-modules 5.10.1-11 Core Perl modules
stunnel4 recommends no packages.
Versions of packages stunnel4 suggests:
pn logcheck-database <none> (no description available)
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]