DragonFly BSD
DragonFly bugs List (threaded) for 2011-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

[issue2073] linux emulation problem


From: "Thomas Nikolajsen \(via DragonFly issue tracker\)" <sinknull@xxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 15 May 2011 20:44:32 +0000

New submission from Thomas Nikolajsen <thomas.nikolajsen@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@lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue2073>
_____________________________________________________




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]