Subject: Re: installing suse_base on current i386 sets time to 1970
To: David Laight <david@l8s.co.uk>
From: Murray Armfield <murray.armfield@arconsulting.com.au>
List: current-users
Date: 11/27/2002 21:51:34
On Tue, 26 Nov 2002 09:43 pm, you wrote:
> >   2268 ktrace   NAMI  "/usr/pkg/emul/linux/sbin/ldconfig"
> >   2268 ldconfig EMUL  "freebsd"
>
> I can't help feeling that a binary in emul/linux shouldn't be
> running under EMUL freebsd...

Using the same linux emul stuff and kernels and trying ktrace on=20
/usr/pkg/emul/linux/bin/pwd gives...

2493 ktrace   EMUL  "netbsd"
  2493 ktrace   CALL  execve(0xbfbfba26,0xbfbfb930,0xbfbfb938)
  2493 ktrace   NAMI  "./pwd"
  2493 ktrace   NAMI  "/emul/linux/lib/ld-linux.so.2"
  2493 ktrace   NAMI  "/emul/linux"
  2493 ktrace   NAMI  "/emul/linux/lib/ld-linux.so.2"
  2493 pwd      EMUL  "linux"
  2493 pwd      RET   execve -1 errno -2 No such file or directory
  2493 pwd      CALL  uname(0xbfbfb4fc)
  2493 pwd      RET   uname 0

etc. Which has the emulation correctly selected. So, ldconfig binary sele=
cts=20
wrong emulation, pwd doesn't. Further testing here may indicate only fres=
h=20
installs are reporting any lossage; ldconfig may be the only binary affec=
ted.=20
On a quick check, these seemed OK...
=09pwd, false, true, ldd, test, printf

Not sure how to procede from here. :-(

Take care,
=09Murray