pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/38533: sendmail+ldap/NetBSD 3.1: _res is not supported
>Number: 38533
>Category: pkg
>Synopsis: sendmail with tls and pkgsrc openssl fails on NetBSD 3.1
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Apr 28 11:00:00 +0000 2008
>Originator: Stephen Borrill
>Release: NetBSD 3.1_STABLE
>Organization:
>Environment:
System: NetBSD netmanager 3.1_STABLE NetBSD 3.1_STABLE (XEN3_DOMU) #0: Wed Apr
23 11:42:28 UTC 2008
builds%b0.netbsd.org@localhost:/home/builds/ab/netbsd-3/i386/200804230000Z-obj/home/builds/ab/netbsd-3/src/sys/arch/i386/compile/XEN3_DOMU
i386
Architecture: i386
Machine: i386
>Description:
I've just installed a NetBSD 3.1 box with sendmail 8.14.2 from pkgsrc
2008Q1 (PKG_OPTIONS ldap and tls). sendmail refuses to start and even the
most basic usage gives an abort:
netmanager 1# sendmail -bv root
_res is not supported for multi-threaded programs.
Apr 28 11:32:17 netmanager /netbsd: pid 1183 (sendmail), uid 0: exited on
signal 6 (core not dumped, err = 1)
Abort
The 8.14.2 I compiled from 2007Q4 works fine (same options, etc.). Using
8.14.2 with the standard PKG_OPTIONS (i.e. no tls) works fine too.
Further testing show that it only fails IF you have tls PKG_OPTIONS.sendmail
AND PREFER_PKGSRC+=openssl
So it looks as though the openssl update from openssl-0.9.7inb5 to
openssl-0.9.8g
has caused this.
Working (PREFER_PKGSRC+=openssl, but no tls in PKG_OPTIONS.sendmail):
/usr/pkg/libexec/sendmail/sendmail:
-lwrap.0 => /usr/lib/libwrap.so.0
-lresolv.1 => /usr/lib/libresolv.so.1
-lutil.7 => /usr/lib/libutil.so.7
-llber-2.4.2 => /usr/pkg/lib/liblber-2.4.so.2
-lcrypt.0 => /lib/libcrypt.so.0
-lcrypto.2 => /usr/lib/libcrypto.so.2
-lssl.3 => /usr/lib/libssl.so.3
-lldap-2.4.2 => /usr/pkg/lib/libldap-2.4.so.2
-lc.12 => /usr/lib/libc.so.12
Not working (PREFER_PKGSRC+=openssl and tls in PKG_OPTIONS.sendmail):
/usr/pkg/libexec/sendmail/sendmail:
-lwrap.0 => /usr/lib/libwrap.so.0
-lpthread.0 => /usr/lib/libpthread.so.0
-lcrypto.0.9.8 => /usr/pkg/lib/libcrypto.so.0.9.8
-lssl.0.9.8 => /usr/pkg/lib/libssl.so.0.9.8
-lresolv.1 => /usr/lib/libresolv.so.1
-lutil.7 => /usr/lib/libutil.so.7
-llber-2.4.2 => /usr/pkg/lib/liblber-2.4.so.2
-lldap-2.4.2 => /usr/pkg/lib/libldap-2.4.so.2
-lc.12 => /usr/lib/libc.so.12
>How-To-Repeat:
Get a NetBSD 3.1 machine and pkgsrc from 2008Q1.
Ensure PKG_OPTIONS.sendmail=tls and PREFER_PKGSRC+=openssl are in your mk.conf
Install mail/sendmail package
Go to a command line and run "sendmail -bv root"
>Fix:
Workaround is to remove either tls from PKG_OPTIONS.sendmail or remove
PREFER_PKGSRC+=openssl
Fix unknown
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index