Subject: Re: pkgtools/libkver vs. linux packages
To: Chapman Flack <>
From: Lubomir Sedlacik <>
List: tech-pkg
Date: 04/29/2006 15:42:12
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Apr 29, 2006 at 12:46:30AM -0400, Chapman Flack wrote:
> making a linux package while libkver is in use loses because the
> LD_PRELOAD of a NetBSD shared object won't succeed if a linux binary
> is being run. :o
> For right now I'm working around it by manually running a few make
> targets of linux packages without LD_PRELOAD in the environment.
> I suppose the real solution would be somehow to use a supervisory
> process and the systrace API to intercept uname and sysctl calls and
> fake up the results, instead of library interposition. I don't think
> Systrace: the Program can do this, but it looks like Systrace: the API
> can.  Am I sane?

you are overcomplicating it.  what's needed is a compiled for
linux doing nothing.  it just works but there is problem with packaging
it properly.


-- Lubomir Sedlacik <salo@{NetBSD,Xtrmntr,silcnet}.org>   --

Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.4.2.2 (NetBSD)