On Tue, 20 Oct 2009 23:35:39 +0200, Ivan Voras <[email protected]> wrote:
I upgraded (via source) a system from 7-stable to 8-stable and Samba now
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 => /lib/libcrypt.so.5 (0x281a1000)
libpam.so.5 => /usr/lib/libpam.so.5 (0x281ba000)
libexecinfo.so.1 => /usr/local/lib/libexecinfo.so.1 (0x281c1000)
libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x28845000)
librt.so.1 => /usr/lib/librt.so.1 (0x281cc000)
libpopt.so.0 => /usr/local/lib/libpopt.so.0 (0x281da000)
libc.so.7 => /lib/libc.so.7 (0x2808f000)
libm.so.5 => /lib/libm.so.5 (0x281e3000)
libintl.so.8 => /usr/local/lib/libintl.so.8 (0x2893b000)
Any suggestion where to dig further?
Read about the latest ERRATA NOTICES's. There is something with
PIE-library's (which are used by Samba) which defaults to doesn't-work in
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.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[email protected]"