From owner-freebsd-stable@FreeBSD.ORG Tue Oct 20 21:45:22 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 650EF106566B for ; Tue, 20 Oct 2009 21:45:22 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from smtp-out3.tiscali.nl (smtp-out3.tiscali.nl [195.241.79.178]) by mx1.freebsd.org (Postfix) with ESMTP id 246028FC20 for ; Tue, 20 Oct 2009 21:45:22 +0000 (UTC) Received: from [212.123.145.58] (helo=sjakie.klop.ws) by smtp-out3.tiscali.nl with esmtp (Exim) (envelope-from ) id 1N0MW9-00010D-0N; Tue, 20 Oct 2009 23:45:21 +0200 Received: from 82-170-177-25.ip.telfort.nl (localhost [127.0.0.1]) by sjakie.klop.ws (Postfix) with ESMTP id AEFEA13297; Tue, 20 Oct 2009 23:45:16 +0200 (CEST) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes To: "Ivan Voras" , freebsd-stable@freebsd.org References: Date: Tue, 20 Oct 2009 23:45:15 +0200 MIME-Version: 1.0 From: "Ronald Klop" Message-ID: In-Reply-To: User-Agent: Opera Mail/10.00 (FreeBSD) Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: Interesting problem updating samba after 7->8 transition X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Oct 2009 21:45:22 -0000 On Tue, 20 Oct 2009 23:35:39 +0200, Ivan Voras wrote= : > I upgraded (via source) a system from 7-stable to 8-stable and Samba no= w > fails in a strange way. Starting the executable results in an immediate > ABORT: > > ursaminor:/usr/local/sbin# ./smbd > Abort > > And running ktrace on it results in an extremely short ktrace.out: > > ursaminor:/usr/local/sbin# ktrace ./smbd > Abort > ursaminor:/usr/local/sbin# ll ktrace.out > -rw------- 1 root wheel 166 Oct 20 23:32 ktrace.out > ursaminor:/usr/local/sbin# kdump -f ./ktrace.out > 93873 ktrace RET ktrace 0 > 93873 ktrace CALL execve(0xbfbfed7f,0xbfbfec44,0xbfbfec4c) > 93873 ktrace NAMI "./smbd" > > I have no idea how to interpret this dump. > > OTOH ldd says everything looks fine: > > ursaminor:/usr/local/sbin# ldd ./smbd > ./smbd: > libcrypt.so.5 =3D> /lib/libcrypt.so.5 (0x281a1000) > libpam.so.5 =3D> /usr/lib/libpam.so.5 (0x281ba000) > libexecinfo.so.1 =3D> /usr/local/lib/libexecinfo.so.1 (0x281c10= 00) > libiconv.so.3 =3D> /usr/local/lib/libiconv.so.3 (0x28845000) > librt.so.1 =3D> /usr/lib/librt.so.1 (0x281cc000) > libpopt.so.0 =3D> /usr/local/lib/libpopt.so.0 (0x281da000) > libc.so.7 =3D> /lib/libc.so.7 (0x2808f000) > libm.so.5 =3D> /lib/libm.so.5 (0x281e3000) > libintl.so.8 =3D> /usr/local/lib/libintl.so.8 (0x2893b000) > > Any suggestion where to dig further? Read about the latest ERRATA NOTICES's. There is something with =20 PIE-library's (which are used by Samba) which defaults to doesn't-work in= =20 8 and still works in 7. People are working on a real fix for 8. In the ERRATA NOTICES is a setting which you can set to does-work. http://security.freebsd.org/advisories/FreeBSD-EN-09:05.null.asc Ronald.