Date: Tue, 6 Apr 2010 12:37:11 +0400 From: pluknet <pluknet@gmail.com> To: Kostik Belousov <kostikbel@gmail.com> Cc: freebsd-current@freebsd.org Subject: Re: Samba problems on 8.0-RC2 Message-ID: <h2ga31046fc1004060137t25c31e45s6a8cd348113250d3@mail.gmail.com> In-Reply-To: <20091108143348.GQ2331@deviant.kiev.zoral.com.ua> References: <8f82c35c0911080555x6a0721fem7bc01d3e3ff30bcf@mail.gmail.com> <20091108143348.GQ2331@deviant.kiev.zoral.com.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
On 8 November 2009 17:33, Kostik Belousov <kostikbel@gmail.com> wrote: > On Sun, Nov 08, 2009 at 02:55:49PM +0100, Jon Theil Nielsen wrote: >> Hi >> >> After running the latest upgrade for samba33, I cannot start it anymore.= The >> error message is: >> *Starting smbd. >> /libexec/ld-elf.so.1: /usr/local/sbin/smbd: invalid PT_PHDR >> /usr/local/etc/rc.d/samba: WARNING: failed to start smbd* >> uname -a says: >> *mflserver2.mydomain.dk 8.0-RC2 FreeBSD 8.0-RC2 #0: Sun Nov =A08 02:37:4= 5 CET >> 2009 =A0 =A0 root@mydomain.dk:/usr/obj/usr/src/sys/SERVER2 =A0i386* >> I'm not sure if this problem is related to the system or to samba itself= . > > I think you have old rtld, i.e. it misses r197931, but new kernel. > Kernel maps PIE binaries at non-zero base address, that cannot be > properly handled by old rtld. > Hi. I faced this problem today on 7.3 kernel & 7.2 world. quagga refused to start bgpd with error: /libexec/ld-elf.so.1: /usr/local/sbin/bgpd: invalid PT_PHDR. Issue fixed after cp'ing /libexec/ld-elf.so.1 from 7.3 world. So I think the next entry probably needs to be (belatedly) added to 7'th UPDATING and/or errata as (as far as I know) that brakes "newer kernel usually works= with older world" users expectation. 20100119: PIE support has been improved. Kernel maps PIE binaries at non-zero base address. Users need to rebuild rtld(1) to hook up with a new kernel. --=20 wbr, pluknet
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?h2ga31046fc1004060137t25c31e45s6a8cd348113250d3>