[issue2073] linux emulation problem

Thomas Nikolajsen (via DragonFly issue tracker) sinknull at leaf.dragonflybsd.org
Sun May 15 13:45:48 PDT 2011


New submission from Thomas Nikolajsen <thomas.nikolajsen at mail.dk>:

On master linux emulation has problem after recent ELF update(*):
when linux_enable=YES is in rc.conf, '/etc/rc.d/abi start' fails:
it runs /compat/linux/sbin/ldconfig which fails;
as a side effect it resets the system clock to 1970.

suse_base-10.0nb3 is installed and supplies ldconfig above.

I found that setting ELF_ABI_number with brandelf(1), linux programs works:
linux ldconfig had a ELF_ABI_number of 0; setting it to 3 (Linux), with
'brandelf -f 3 ldconfig' is a work around for problem.

 -thomas

* last commit was d571622ee5ed8f5eb4da62d6b7b071d2a1f7ffef

$ file /compat/linux/sbin/ldconfig
/compat/linux/sbin/ldconfig: ELF 32-bit LSB executable, Intel 80386, version 1 
(GNU/Linux), statically linked, for GNU/Linux 2.2.5, not stripped

----------
messages: 9903
nosy: thomas.nikolajsen
priority: bug
status: unread
title: linux emulation problem

_____________________________________________________
DragonFly issue tracker <bugs at lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue2073>
_____________________________________________________






More information about the Bugs mailing list