Re: Samba problems on 8.0-RC2

From: pluknet <pluknet_at_gmail.com>
Date: Tue, 6 Apr 2010 12:37:11 +0400
On 8 November 2009 17:33, Kostik Belousov <kostikbel_at_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  8 02:37:45 CET
>> 2009     root_at_mydomain.dk:/usr/obj/usr/src/sys/SERVER2  i386*
>> 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.


-- 
wbr,
pluknet
Received on Tue Apr 06 2010 - 06:37:13 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:02 UTC