OpenBSD Linux Emulation Howto
evilviper writes: "BSDToday has a great article on how to run Linux binaries under OpenBSD. The article's already been picked up by sites like RootPromt and others so it's obviously as good of a tutorial as it gets. It's short and sweet, while covering everything from installing the OpenBSD linux package, as well as getting and installing the Linux libs for those of those without a Linux box to steal files from."
Even though it is short, it tells the things you need to implement this.
O.T. How does FreeBSD's Linux binary emulation compare? Pros, cons, etc.
OK, I know why. But really, as someone pointed out the other day, the Open Group will certify NT as a "UNIX" OS if it meets their criteria, so why isn't the real goal to get *BSD certified as an official "UNIX" (and, similarly, to get Linux certified as well)? If my suspicions are correct and the certification does not mean apps are portable, then we need better UNIX certification, not abandonment of the only available certification.
I also wonder how many people are scrambling to run *BSD binaries on their Linux boxes... Again, not to flame or troll, but I wonder about market share and how it affects software developers. Anyone know off-hand how many apps cleanly compile for both *BSD and Linux? (and yes, I know the story is about compatible binaries, not compatible source).
Hell, how many binaries run on all Linux distros (hopefully the Linux Standard Base will help)? So are we talking getting Red Hat binaries to run on BSD, or are we talking about Debian binaries, or does it matter?
Finally, it seems to me that it would be better to put the effort into making compiling the source so easy (transparent) that we don't care about binaries anymore. One real advantage of UNIX isn't that I can copy a binary file from my HPUX box and run it on my Solaris box, but rather that I can compile the same source on both boxes. This allows you to run UNIX on virtually any hardware and still find applications that will work -- you just have to compile them! Users new to UNIX have to learn all sorts of things that are different from the VAX/OS2/DOS/Windows/Amiga/Mac world they came from; why shouldn't compiling code be another thing all UNIX users learn?
If all this should have a reason, we would be the last to know.
Simple... XFce. The only full-featured desktop that only takes up 4 megs of RAM, and is the most intuitive thing since NeXT.
Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
It is GNU/Linux emulation. You think you could run Linux apps without the GNU libraries and utilities? The BSD kernel already does the Linux kernel emulation, meanwhile, you need to install GNU packages to get the applications to actually work. But of course you knew that right...
Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
I thought it was quite annoying how he constantly calls it Gnu/Linux emulation. This is the Linux kernel that's being emulated, not Gnu userspace. After all, the Gnu stuff can be compiled to native BSD binaries. All in all, I'd have to say it's a pretty poor article that added nothing that wasn't already in OpenBSD's compat_linux (8) man page.
You had me at "dicks fuck assholes".
One thing to add about the which-distribution question is that the linux_lib port is based on RedHat. Strictly speaking, that port isn't part of the "emulation layer", but it's biases matter to anyone who doesn't want to spend time gathering their own libraries.
Thus, you will less and less of phenomena such as the Ramen Worm and other stupid security issues in the future when commerce sites switch over to OpenBSD while still running such things as Oracle 8i and other applications that have a Linux port but no OpenBSD binaries.
--
Theo DeRaadt
Founder, OpenBSD project.