Comparing Linux and BSD, Diplomatically
Joe Barr writes "Talk about a red-button issue. How do you compare Linux and the BSDs and keep the debate from turning into a friendly-fire flame-fest nightmare between bigots on both sides of the line? Linus Torvalds once handled a similar situation by wearing a BSD beanie at USENIX while delivering a Linux talk. Now he tries it again in this interview on NewsForge ."
I shows a lot about how he thinks. He seems to be more of a realist than I would have thought.
I find Linus's interviews to be very interesting.
I do think that Linux, and Windows seems to be more similar than Linux and BSD, since he keeps commenting that BSD wants everything to be perfect, whereas Linux tends to be all things "good" for everyone.
I would consider Windows to be happy with just being "ok" at all things, and not perfect. Which also works for a lot of people.
"The BSD people (and keep in mind that I'm obviously generalizing) are often perfectionists. They hone something specific for a long time, and then they frown on anything that doesn't meet their standards of perfection. The OpenBSD single-minded focus on security is a good example." - linus So what he's saying is bsd people don't release as much buggy code. I'll have to agree with him here with the bimonthly linux kernel security vulnerabilities creeping up. 2 years and no 'root level' exploit in freebsd's kernel.....
Believe me, if I started murdering people, there would be none of you left.
IMHO, the Solaris kernel is simply one of the, the not THE, best kernel currently available.
I don't think even the most hard-core Linux user would dispute that (well, maybe the zealots would).
As I wrote to the other poster who caught my gentle dig, I love Solaris for its stability. The only thing that I admire more about Linux is the open development. Sun cannot compete (for many reasons, mostly commercial) with Linux on that score.
"Rocky Rococo, at your cervix!"
Disclaimer
I'm not a linux zealot. I don't use Linux at home (I use OS X), and have no ideological reason to prefer Linux. I'm also at UC Berkeley, so, for "patriotic" reasons, I have a slight bias in favor of BSD.
That said, I have to admit Linux is more mature than FreeBSD for desktop use. Before you flame, hear me out.
Background
I'm a graduate student, and, with the help of another grad student and the College's head unix support guy, I'm stuck administering a small network of about 15 computers, all of which are vanilla Dell Precision 360s. Some run Windows, some run *nix. Our server is an Xserve G5, and it serves user home directories via NFS and does authentication & directory services via LDAP.
The FreeBSD story
We started with FreeBSD 4.9. Out of the box, we were able to get NFS mounting working, but there were a lot of problems. Sound didn't work. To get X working, we had to grab a special Nvidia driver. Even then, we only had VGA support, and not DVI. After much tinkering and kernel recompiling, I got DVI working, sort of (there were a few weird random "twinkly" pixels on each screen that showed up when in BSD DVI mode, but not BSD VGA or Windows DVI). Sound never worked. Then we tried to get LDAP working. No go, pam_ldap and nss_switch require FreeBSD 5.x.
So we upgrade to FreeBSD 5.2.1 (read, reinstall from scratch). That breaks DVI video, and the same kernel options as before don't work. No amount of tinkering can get sound working. Thus, we give up on DVI and sound. LDAP *does* work, after some effort, and so we have a mostly-usable system. There are still problems: KOffice apps crash on saving, and that the default PDF viewer doesn't work.
In an effort to fix KOffice and the PDF issue, we update & upgrade the ports tree. After a great deal of manual intervention to deal with broken dependencies in the pkg database, non-building ports, etc., the upgrade finishes. Now X is broken. It turns out the configuration file format for XFree86 changed when X got upgraded in the ports upgrade. A similar thing happens to KDE. After resolving those problems, the PDF and KOffice issues are resolved. Still no sound or DVI video, but we can live with that.
Then we upgrade our Xserve to Mac OS X 10.4 Server. All of a sudden, logging in via KDE as a "network" user on *some* of the BSD machines doesn't work. KDE complains that it doesn't have write access to the user's NFS-mounted home directories. A quick check on the command-line or with a failsafe session shows that users do, in fact, still have write access. I spend forever on this, and get nowhere. Some users can log in, others can't, on some BSD computers and not others. There are no clear differences, no explanations, and nothing makes sense.
I call in backup. The College's head unix admin comes over and spends a day on the problem. He contacts the KDE developers. I call Apple "Premium" Support. Nobody knows what's going on. In the end, we realize that the issue is that the NFS spec is fairly loose, and it's possible to have two nominally compliant implementations that don't quite talk to each other. Our theory is there's some sort of strange conflict between Apple's OS X 10.4 NFS implementation, the FreeBSD 5.x implementation, and KDE that causes some very subtle race condition with writing some KDE configuration file. At this point, we decide to try installing Linux on one machine as a test to see if it will work any better.
Total time about 100 hours.
The Linux Story
We install Centros 4.0 (a RedHat Enterprise Linux-derived distribution) on a machine. Everything works out of the box, except LDAP. After an hour or two of futzing around, that works too. Everything works. Sound, DVI video, NFS, KDE, PDFs, you name it. It all works.
Total time 3 - 5 hours.
Moral of the story
FreeBSD just isn't ready for the desktop. I wish it weren't true, because I like lots of things about FreeBSD, but it is. FreeBSD