Interesting problem updating samba after 7->8 transition

Ivan Voras ivoras at freebsd.org
Tue Oct 20 21:36:14 UTC 2009


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?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20091020/cb2f77a8/signature.pgp


More information about the freebsd-stable mailing list