Date: Tue, 20 Oct 2009 23:45:15 +0200 From: "Ronald Klop" <ronald-freebsd8@klop.yi.org> To: "Ivan Voras" <ivoras@freebsd.org>, freebsd-stable@freebsd.org Subject: Re: Interesting problem updating samba after 7->8 transition Message-ID: <op.u14b1qng8527sy@82-170-177-25.ip.telfort.nl> In-Reply-To: <hblafj$tg3$1@ger.gmane.org> References: <hblafj$tg3$1@ger.gmane.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 20 Oct 2009 23:35:39 +0200, Ivan Voras <ivoras@freebsd.org> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.u14b1qng8527sy>