OpenBSD review at linux.com 134
nicedream writes "Linux.com is running a feature on BSD, and the latest installment profiles one guy's experience with OpenBSD. Haven't read a thorough review of OpenBSD ever, so it was nice to check this out.
Re:ISO images/console (Score:1)
Why use fancy graphics on a server? Neither of my BSD machines have X installed.
What about my NIC problem? (Score:1)
I was hoping someone would be able to explain why I needed to set it to 10baseT in the installation and 10Base2 after installation. Is this something I should report as a bug or am I just clueless here?
what install nightmare? (Score:1)
been good in the install. never failed to detect
and use both nics (every machine i installed on had two nics, including a notebook with a pair of
pcmcia ones) never had to do anything beyond just
letting the default media type do its thing.
ftp is great, when your network is configured, it
goes out on the net and gets a list of ftp sites
for you. (unless you tell it not to) i dont know
of any linux dist that does this. IMO, getting
the CD is really more for supporting the cause
than actually installing the OS. if you split
up the architectures, all the install packages
for a given one fit on a (100meg) zip disk.
(about 70megs for x86)
Re:Offtopic (Score:1)
Adam
Re:Funky colours dude! (Score:1)
--
My comments from Linux Today: (Score:1)
Funny. I've been hacking around with an OpenBSD box for the past few days, and now two stories about it appear on Linux Today.
Anyway, my install experience was slightly different from the one recounted here. Yes, the disk partitioning tool is horrid, but it's not much different from early Linux fdisk. I had to start over a couple times until I got it right, but I could do it again easily now. The documentation was well written and helpful, too, something that I have found is the general case with OBSD.
Once past that stage, and a problem I had with a bad hard drive, things went very smoothly. I had made an iso image myself, but I forgot to add the -r flag to cdrecord, so the file names got truncated. I ended up simply copying the CD to my Linux desktop box and serving the images back to the install, but it still worked fine. No extra reboots, just some time and a nicely set up system.
Interestingly, the thing that most impressed me, aside from the thorogh documentation, is that which the author had bad trouble with: network setup. I had a cheap ne2k ISA plug-and-pray clone in this box which is hell to get working with Linux. OpenBSD detected, configured, and activated it automagically, and the configuration persisted, and worked as soon as I booted my new system.
And, did I mention, the documentation is very nice?
I more or less agree with the summary here: I wouldn't recommend it for a desktop, but for a server system, so far, I would give a very strong recommendation.
Re:Analysing the Conventional Wisdom (Score:1)
But I think one of the main reasons people advocate Linux for workstations is its wide support of hardware and quick support of hardware. I would switch to FreeBSD in a second if only I could use my IDE cdburner...but I can't, so its Linux for me. Just one example that illustrates the bigger point.
Another reason for this (IMHO) is that you will get super-deluxe security w/ OpenBSD, You can run NetBSD on more platforms, and FreeBSD has the highest level of stability (on i386). I think these characteristics are much less important for workstations, where periodic reboots are ok, everything runs on intel chips, and no server processes are running.
When it comes down to it, you just have to know what you need, and what each OS can provide. The server/workstation "rule" is more of a rule of thumb, just a guideline.
#freebsd and support (Score:1)
There is #freebsdhelp, which is much more 'user friendly' but unfortunately doesn't have as many people in it (when someone in #freebsd does decide to answer your question you usually know immediately, whereas #freebsdhelp is much 'slower').
I really love FreeBSD, and I *personally* find it much easier to work with than RedHat (the only Linux I've ever tried). I just wish the online support was a little better.
dB!
He's Not Chuck (Score:1)
Re:Right on! (Score:1)
what's the difference between
Well technically there's nothing wrong with that, (/usr/local/ is meant for if you have a nfs
So in answer to your post there is a predictable placement to where the files are located it jsut takes abit of getting used to.
Filesystem Hierarchy Standard [pathname.com]
- MbM
Fair review (Score:1)
As a mainly Linux user who's used Unix a lot in the past, I found OpenBSD very interesting, and I am planning to use it as the basis for a firewall, where its relatively small ports collection is a feature not a problem. My theory is that script kiddies & others will be less likely to have exploits for OpenBSD, due to its smaller user base and more stringent auditing.
Re:The land of the free (Score:1)
However, unless someone takes a snapshot of Linux and then spends a long time auditing it, I can't see that Linux will end up as well audited as OpenBSD.
Re:Not thourough (Score:1)
besides, he's only had it installed for a week...i've had linux installed for close to a year now, and don't know all the in's and out's. sheesh...
The OpenBSD install is well documented (Score:1)
My $0.02 (Score:1)
WE WANT CRYPTO !!! (Score:1)
Re:what install nightmare? (Score:1)
Re:My review of OpenBSD (Score:1)
Re:Want minimalist, secure Linux? (Score:1)
Especially when you have the src.rpm packages, and you just need to customise the spec then do an rpm -bb ...
However, OpenBSD is more than just a minimal linux.
Re:Analysing the Conventional Wisdom (Score:1)
Security, reliability, availability of server apps, an OOTB config that is secure, reliable and has the right server apps. Performance is sometimes important, but sometimes ( ie a small server ) it's close to irrelevant.
What features are desirable in a "workstation"?
Desktop applications, desktop applications, and desktop applications. Performance. Of course, security, stability and reliability are still important, but not as critical. The machine is quite possibly behind a firewall which makes security less critical. The machine is not running critical services which makes reliability less critical. Stability is less important than supporting the latest hardware.
Does optimizing for one of these environments pessimize-- or at least compromise--the other situation?
yes, sometimes it can. For example, OpenBSD's default file system is IMO unacceptably slow for a workstation. However, on a critical server, it's reliability could be an advantage. On a workstation, I'd rather use a filesystem with write caching. Another example: if the developers pay more attention to putting in as much software as possible into a distribution, rather than fixing the software that they already have, the result is a nice desktop system that is possibly full of security holes.
Of course, a workstation OS can benefit from enhanced security and reliability all other things being equal. However, in practice, there is often some kind of tradeoff.
Just as you want a solid, sane, robust system for a computer that provides services for an entire department, so too do you wish the same coherence and correctness on my very own computer that you are the principle user of.
All the "correctness" in the world will not help if you can't run the applications that you need to use. For example, OpenBSD's "correctness" isn't much help to java developers.
Certainly, at this point, OpenBSD suffers as a workstation OS for two simple reasons: the fact that the availability of apps is small ( the ports collection is tiny compared to FreeBSD ) and the hardware support is relatively small. On the other hand, while linux leads the way in terms of apps, it lacks OpenBSD's security features.
Re:Analysing the Conventional Wisdom (Score:1)
Not true. It is the other way around. There is nothing stopping you releasing BSD code under the GPL ( AFAIK ). The GPL is the more restrictive license, and it is bringing GPL'd software into a BSD that proves difficult.
The main difficulty with adding OpenBSD's features to linux is that most distributors have their hands tied by export regulations. So all of OpenBSDs built in cryptography cannot be built in to any distribution that is developed in the USA.
Re:Analysing the Conventional Wisdom (Score:1)
I use it in the simplest sense: to mean an application that a desktop user would use. This includes anything from Pine to Word Perfect to LaTeX. Linux has the advantage that the applications that come with it are all very much up to date. It also has some applications that are unavailable on OpenBSD. Whether or not this is an issue depends on which applications you need/want to use.
As far as desktop environments are concerned, I prefer KDE ( or more to the point, my users do ). Fortunately, there are OpenBSD binaries for KDE now.
The ports collection is definitely better on FreeBSD, though I don't know what the exact number is. I'll fess up and admit that OpenBSD is the only BSD I have root access to.
It seems to me that it's more important for a machine that has many users to be fast
That depends on the number of concurrent users, as well as what those users are doing. If they are all compiling and running emacs, you have a point. However, if the machine is a webserver getting 10000 hits a day or less, then it doesn't need to be very fast. Moreover, there are several applications for which OpenBSD's file system will perform just fine.
As for file system speed, what do you mean?
I guess I can only compare OpenBSD to linux. OpenBSD doesn't cache directory writes, which makes it very slow for recursive operations that require directory writes ( tar xvzf , cp -a , rm -rf ) Unfortunately, I can't do a fair benchmark now because my OpenBSD box ( which used to run linux ) is a Pentium 133 and my linux box is a Pentium II. But I'd suggest you should be able to verify this. I urge you to try benchmarking any or all of tar xvzf, cp -a and rm -rf on a directory containing several files ( thousands ). I bet you a nickel that ext2 wins (-;
Cheers,
Re:The OpenBSD install is well documented (Score:1)
Ongoing Review (was Re:Not thourough) (Score:1)
I try to keep an ongoing on-line diary of my experiences installing and using and experimenting with OpenBSD. It available here [deadly.org]. Four years ago, you would have been hard pressed to find mention of Linux anywhere, much less a thorough review. Now OpenBSD is getting some attention.
Personally I think Matt should be credited with at least being curious enough about OpenBSD to give it a try , and willing to share it with the community. That's what it's all about right?
My
Re:Learning from OpenBSD (Score:1)
I'm not suggesting that Linux adopt OpenBSD's development model. I'm suggesting that Linux pick up some of the attitude. Namely, a driving belief in correctness, and an attention to details that might impact security.
You can ignore these sorts of issues only at your peril--if you take security for granted, and assume it will all come out in the wash, you'll find a few things in your wash that aren't pleasant.
Then again perhaps Linux is moving toward being a desktop OS. The emphasis lately seems to have been on support for any and all hardware, plus easier configuration, plus more support for userland applications.
Perhaps Linux is destined to be the desktop Unix, whereas the *BSDs will wind up being servers.
In the short term that's unlikely to be the way it goes--Linux will make more and more inroads into servers. But in the end, you either deal with security in a comprehensive and systematic way, or you get out of the server business.
Learning from OpenBSD (Score:1)
Linux should take a long hard look at OpenBSD and learn. The OpenBSD people have done a fantastic job of dealing with security, and have settled a lot of important issues through hard work and careful thought.
Going forward, it's going to be important for Linux to adopt many of these ideas, but especially this kind of attitude.
Re:Idiots.... (Score:1)
Re:Offtopic (Score:1)
In btw: Why is the icon featuring Chuck. Chuck is the FreeBSD mascot. The OpenBSD one does not wear running shoes...
It's currently the only BSD icon on Slashdot, and yes, it's more suited to FreeBSD than NetBSD or OpenBSD. If anyone wants to
(a) Draw up icon sized logos for NetBSD and OpenBSD
(b) Run them past the appropriate people on both groups
(c) E-mail me a URL where I can download them from
then I'll be more than happy to use them in the future.
N
Re:Not thourough (Score:1)
This review was anything but thourough!
Interesting point. As the poster, the text you're seeing in the story is pretty much what was submitted. I've got a choice of either using that text as is, and keeping the submitters words, or changing it completely. and starting with something like "Nicedream sent in this link to..." instead. Wherever possible I try and retain the submitter's text, since that's the core of Slashdot after all.
What I don't want to do is start reviewing or commenting on the links in the summary -- some of the stuff that gets posted will have that, but it will be from the "Read more" link if at all. In fact, there's a good example of that coming up in about 4 hours time.
N
Re:Not thourough (Score:1)
And I love their attitude (to Paul Vixie software especially). Running named chrooted and as a non-root user
That is besides support for every sensible auth method/technique under the sun (one time passwords, encryption everywhere, cypherchained blowfish for storing passwords, etc).
Re:Learning from OpenBSD (Score:1)
Re:Learning from OpenBSD (Score:1)
should easily suffice and could probably be knocked up in under 5 minutes flat.
And the result will be that it will have at least one symlink exploit, will crash the box on some directory structures or do something else as dumb as it gets.
Writing scripts like that is not a 5 min job (unless you want to provide a nice root-comporomise backdoor).
Offtopic (Score:1)
Why I hate XDM (Score:1)
| I wonder why people still use the console too.
Because the XDM way of logging into systems is in a fundamental violation of the Unix way of initializing your environment, and it shows. XDM discards the entire concept of your login shell, and with it the entire concept that you can initialize your environment once and use it thereafter. (You should see the hacks that some vendors, like SGI, use to try to weasel their way around this failing (for SGI, scope out the userenv manpage sometime).)
You can kludge around this. But all the approaches are kludges, with all that implies: they are not general, and they are not necessarily supported in the latest fancy magic thing to come along. And you will go to extra work if you want to have things work seamlessly on non-XDM logins too. There is nothing with the simple and straightforward elegance of the login shell concept.
Re:ISO images/console (Score:1)
Not thourough (Score:1)
I like OpenBSD, I like Linux, I like Macs, I use what ever is best for job.
I wish these people would start to do objective comparisons of the feature sets of each OS.
Re:Not bad considering the low word count ... (Score:1)
It's great that any monkey with a net connection can install Linux or *BSD, but no one seems to be talking about how to use the system once it is installed. No one talks about the strengths or weaknesses of their chosen *nix.
It's all just "Linux only take 15 minutes to install!!" Bullshit, there's more to installing software than swapping disks and clicking on the right buttons.
Offtopic: Re: BSD & Flaimbait (Score:1)
Are *BSDs dying ? (Score:1)
With the rapid advance of Linux over the last year or two, are the *BSDs "fading" into the background ? My impression is that even the niche markets which the various BSDs are directed (security/ network
Maybe some *BSD expert can enlighten me...
Re:Not thourough (Score:1)
What I would like to see is an article by some SysAdmin on his long term experiences with it and whether it is a good secure system.
Anyone know any suitable URLs ?
Why I Came Back To Linux (Score:1)
I recently installed OpenBSD on my home machine, and after spending about three weeks trying to get various things to work, I decided I'd be better off with Linux.
Before I began, I made a list of programs/functionality that I needed, both for the server tasks (FTP, Telnet, WWW, SSH, IP Masquerading, etc.) and as a workstation (running WordPerfect, Netscape, playing MP3s, etc). And as I got things to work, I crossed them off my list.
The good news was that a lot of things worked right out of the box (or straight from the ports tree). Getting bash, trn, X, ssh, NAT, and basic networking was a piece of cake. Unlike the experience of the author of the article, the install handled my NIC and cable-modem-dhcp setup automatically (unlike Linux where I had to use a non-standard dhcp program and another program to "login" to my Road Runner accoutn).
But after the initial install and setup, there were several things that didn't work for me, and I didn't really get them working satisfactorily:
One thing I'll say though, it gives me a newfound appreciation for the smooth Linux installs. It took me a few times though to get the OpenBSD install to take. Mostly because the whole disklabel thing was new to me, and I figured out that the a slice was root, and that the c slice was the whole disk. But I didn't get that the b slice was swap, so my /usr didn't work until I figured that out.
Also, it reminded me that Linux on the desktop does work, if you've got a certain ammount of technical knowledge. My Netscape doesn't crash. I can play MP3's and use a word processor and spreadsheet (Gnumeric). The network configuration and IP masquerading isn't as cool as OpenBSD's, but it does work.
--
-Esme
http://gort.ucsd.edu/escowles/
Re:Funky colours dude! (Score:1)
Idiots.... (Score:1)
That's a feature.
Re:Right on! (Score:1)
Re:Why I Came Back To Linux (Score:1)
RedHat printtool and print filters are nice, but they are not the _ONLY_ such software out there. magic filter is mmore powerful and flexible and certainly is available in OpenBSD ports.
Linux emulation. Everybody seems to say that the Linux emul under OpenBSD is the eighth wonder of the world, but my mileage definitely varied.
Actually I have never heard people paising Linux emulation in OpenBSD, I have necer used it myself.
However, the FreeBSD linux emulation is very decent.
Re:Analysing the Conventional Wisdom (Score:1)
In terms of modern hardware, Linux supports at _least_ as much as openbsd if not more. UltraSparcs and SGI Indy are examples of Linux, and not-*BSD, supported platforms.
However if you got something _very_ old, like SUN 3 or VAX or old decstation (they are so slow that they all belong in a garbage collector imho) then you can run NetBSD on them
s/openbsd/netbsd/ (Score:1)
s/openbsd/netbsd/ (Score:1)
OpenBSD since 2.1 (Score:1)
Now have two intranet webservers running OBSD i386, one running OBSD Mac68k, one running OBSD Alpha, all in a WinNT shop...using Samba to allow users "drag-and-drop through NT Explorer" for their webpages.
OBSD is still running my firewall at home for the DSL connection, and I've got it on my IBM 560e.
It rocks!!! Please buy the CDs and contribute to the cause, the stickers that come with the discs are well worth it.
Re:My review of OpenBSD (Score:1)
Re:My review of OpenBSD (Score:1)
Re:My review of OpenBSD (Score:1)
Re:Learning from OpenBSD (Score:1)
a) Debian's package management
b) the 'cruft' utility
on the Linux scene?
D'oh.
And as for this:
I simply LOVE the way that OpenBSD sends root a daily listing of all the file permissions changed and actual diffs of the configuration files in
So why the heck doesn't he write the same thing and shut up about it? A quick perl or even shell script involving find, diff, sum (md5sum) should easily suffice and could probably be knocked up in under 5 minutes flat.
It is *not* "Linux's fault" that no distro either he or I know about do this as standard (and his review would be wrong in giving this impression): it's also not something that should come "with linux" so that as you open the box, the whole sodding lego falls out just the way you want it to work; it's something that needs implementing and filing away under an appropriate section of Freshmeat [freshmeat.net]. And then you educate the folks who'll be using - nae, administering!- these boxes to USE freshmeat properly!
Re:The OpenBSD install is well documented (Score:1)
Would that be: http://www.openbsd.org/faq/log25.txt [openbsd.org] by any chance?
Re:what install nightmare? (Score:1)
+ If you have the right hardware, the install is likely to be smooth.
+ If you have the wrong hardware, WOE BE UNTO YOU! Your only recourse will be to throw it away and get the right hardware.
+ Study of the mailing list archives is mandatory. Among other things, it's the only way you'll ever know which is the right hardware and which is the wrong hardware.
Re:My review of OpenBSD (Score:1)
I dunno, I'm on misc@openbsd.org and I'd say that both "helpful" and "obnoxious" are well-represented. Every week I see people being helpful without being obnoxious, obnoxious without being helpful, and helpful and obnoxious in the same message. This may come from the top -- Theo is arguably the most helpful and the most obnoxious of the lot. Then again, that also describes the traditional composition of nearly all of Usenet, so you be the judge.
Re:Right on! (Score:1)
Name : grep Relocations: (not relocateable)
Version : 2.3 Vendor: Red Hat Software
Release : 2 Build Date: Sun Mar 21 18:06:18 1999Install date: Thu Oct 14 01:56:04 1999 Build Host: porky.devel.redhat.com
Group : Applications/Text Source RPM: grep-2.3-2.src.rpm
Size : 294290 License: GPL
Packager : Red Hat Software
Summary : The GNU versions of grep pattern matching utilities.
Description :
The GNU versions of commonly used grep utilities. Grep searches one or
more input files for lines which contain a match to a specified pattern
and then prints the matching lines. GNU's grep utilities include grep,
egrep and fgrep.
Add -l to the first rpm, and you get all files in this package. Might want to pipe the results through $PAGER though, these lists can get lengthy...
If you don't know where grep (or any other command) lives, but want to see the package info nontheless, or if you are just to lazy to type pathnames, try rpm -qi `rpm -qf \`which grep\``
I hope
Re:Learning from OpenBSD (Score:1)
The BSD audit only covers the code that is installed *by default*. A default Linux installation generally includes much more, and an audit of that magnitude would take an enormous number of man-hours.
Unfortunately this is one case where a thousand people looking at the code isn't nearly as useful as 5 or 6 people INTENSELY looking over the code, and how it interacts with other parts.
Anyway, most generic software (like Pine) isn't really considered issue-prone for security. If it doesn't run SUID or allow remote access, it really can't cause a problem.
-----------
"You can't shake the Devil's hand and say you're only kidding."
ISO images/console (Score:1)
I wonder why someone would like to download a 650 Mbyte file while all the required files for a given platform are only about 200 MByte.
And there is everything on the FTP site needed to burn your own bootable CDs...
I wonder why people still use the console too. All my machines have xdm, it's almost the 21th century guys (ans gals :-))
Re:Are *BSDs dying ? (Score:1)
% nslookup www.openbsd.org
Server: s1.iway.fr
Address: 194.98.0.1
Non-authoritative answer:
Name: www.openbsd.org
Address: 129.128.5.191
% nslookup 129.128.5.191
Server: s1.iway.fr
Address: 194.98.0.1
Name: openbsd.sunsite.ualberta.ca
Address: 129.128.5.191
Sun free hardware has a price, you have to run Solaris...
Re:ISO images/console (Score:1)
I usually ssh at my server, don't sit at them...
You'll never have enough function key to have the needed number or virtual console to have real work done thought...
X or die...
Re:Are *BSDs dying ? (Score:1)
No...
All the *BSDs see their userbase growing... (see new specific websites, traffic on newsgroups and mailing lists, download statistics, CD sales statistics...)
The fact is that the market is expanding...
What would be really cool is... (Score:1)
Re:Are *BSDs dying ? Valid question but no (Score:1)
I am using OpenBSD for security solutions for my clients and I am very impressed and satisfied with it. Also, because it is less crufty than a similar Linux configuration, it is ideal for dedicated Internet devices. The next decade will see an explosion of these.
Re:Right on! (Score:1)
Why do you need all those directories? Try mounting / as read-write and
I hate doing things the same way that they've always been done as much as the next guy, but there are, in general, reasons why we do things in a certain way when it comes to the long history of UNIX. Chances are, it's one of the better ways of doing it. You need to research the reasons why things are done this way before you start questioning it. After you understand the reasoning, that's when you should question it.
I'm not saying that it's a bad idea to move everything into one directory (actually, I think that's a horrid idea); rather, I ask that you research the reason why things are the way they are on your Linux system before your propose change. You might find out that you like the current way of doing things better once you understand it.
Re:Not bad considering the low word count ... (Score:1)
Personally, I thought it was about as interesting as a 5th grade book report.
"This was a difficult to read book. It was a good book, though. I had to actually read the first chapter before I could wade into the book. The list of contents was very good. Everyone told me this was a good book, and I agree that it is a good book, because it was very interesting. After I got past the first chapter, I realized the chapters were pretty minimalistic and not that hard to figure out after all. The plot was about a hero who had to face a conflict. He beat the conflict at the end. In conclusion, I thought this was a good book."
Quality vs quantity of documentation (Score:1)
If you can find Slashdot, you can find the proper man page or howto document.
Geez.
Re:Not thourough (Score:1)
He doesn't even know what half the binaries on his Linux system do.
I'm sorry, but if you can't figure out Linux, then you're really not the guy to be writing about OpenBSD.
I expected to see an in-depth article about firewalls, custom-written daemons, how the security relates to the average Linux desktop install, how difficult (or easy) it is to admin the system with all that security in your way, the state of hardware support, how it runs on alternate architectures, etc...
This was rather pathetic...
Re:My review of OpenBSD (Score:1)
Gimme a break. Don't bust on people for downloading or saving money on a product that's offered as a gift.
Re:Are *BSDs dying ? (Score:1)
I will prob still run some type of Linux from time to time to check up on the progress but for my small cable modem firewall/gateway I will run *.BSD.
They need better reviewers... (Score:1)
Re:Not thourough (Score:1)
Re:Not bad considering the low word count ... (Score:1)
FreeBSD Handbook [freebsd.org]
Mailing list, Handbook and FAQ searches [freebsd.org](Years and years worth of mailing list archives)
"FreeBSD for the lazy and Hopeless" [blackened.net]
A comprehensive guide to FreeBSD [vmunix.com](sort of dated but still applicable)
FreeBSD Tutorials [freebsd.org]
If you already have hte system installed -- there is probably a bunch of information in
----------
Re:They need better reviewers... (Score:1)
----------
Re:*BSD install experiences (Score:1)
I don't see why it's hard.
cd
cp GENERIC MYKERNEL
ee/pico/vi MYKERNEL
(possibly open up another term to look at LINT in the same directory)
after done;
cd
make depend
make
make install
reboot
-- in the rare case where your kernel doesn't work, you can just boot kernel.old or kernel.generic and try again. Remember to read error messages when compiling the kernel (just like when compiling linux kernels !)
It's almost exactly the same on all BSD based systems including BSDi. I think it's just inexperience with the type of system. I felt the same way when I first tried linux after using BSD and SunOS for years.
Although some of the 'snobbery may be true, there are still people who are willing to help newbies -- just like linux. However, it IS annoying when a newbie asks a question that is readily available in the documentation/handbook/mailing list archives. Give a man a fish and he'll always come back for more -- but teach a man to fish...
Another thing I partially agree with is the partitioning scheme. Disk druid (or whatever) should be a little more intuitive. I once set up a system and downloaded all my distributions, then configured some menu options, then reboot. To my horror, it said that there was no bootable partition. Unfortunately you can't set up a bootable partition that goes beyond 1024 cylinders (tried making / 27 gigs). I had to totally re-install. Thank god I have a fast internet link and get 690k/s from the MIT mirror
Anyway, once the system is installed and you get aquainted with it, it's very nice to use. Some of the things you have to setup are possibly hard -- but I don't think they are much less intuitive than most linux distros. I think it's that you just have to get used to it. I myself experienced problems using slackware, then redhat (from which I had to sit there deleting crap I didnt want for 20 minutes and re-arrange the crappy rc files).
----------
Re:Not bad considering the low word count ... (Score:1)
----------
Re:Right on! (Score:2)
dpkg:
$ dpkg -s dpkg
Package: dpkg
Essential: yes
Status: install ok installed
Priority: required
Section: base
Installed-Size: 1017
Maintainer: Ian Jackson and others = 2.1), libncurses4 (>= 4.2-3.1), libstdc 2.10
Description: Package maintenance system for Debian
[etc]
Re:Right on! (Score:2)
This has the advantage that it's quick and easy to do upgrades, or install new packages, with no nasty side-effects if there are name-clashes, and a guarantee that if there -are- multiple versions, you know exactly where they are.
It also has the disadvantage that it becomes VERY difficult to see what's installed, after a while. The filenames get horribly long, and the directory becomes impossibly cluttered. It also makes it more complex to do audits of what's changed, as you can't just go into the /usr/bin directory and look. You have to go through a multitude of directories to get that information.
IMHO, there is no "perfect" scheme. Everything is a trade-off. The more you split the binaries up, the easier maintenance becomes (especially automatic maintenance), and the easier it is to list what packages you have, even if you don't have a package manager.
OTOH, splitting everything into /, /usr, /usr/X11 and /usr/local keeps the heirarchy uncluttered at the expense of the directories themselves. It's harder to see which program comes from which version of which package, but you -can- be sure where the master copy of a given file is.
Re:Analysing the Conventional Wisdom (Score:2)
According to the X11-toolkits page [freebsd.org] in the FreeBSD ports collection, the current version in the collection is 1.2.6. and, according to the GTK web site and the GTK mirror FTP site I tried, at least, the current version is 1.2.6. (The main site was being too slow; maybe 1.2.7 just came out, but....)
FreeBSD works pretty well for me as a workstation OS; it appeared to be less of a pain to get my plug-and-play ISA sound card to work on it than it would be on Debian 2.1 (the 2.0[.x] kernel patch didn't work out of the box, and I didn't particularly want to spend a lot of time doing kernel debugging; I guess I could've tried the isapnptools stuff, but, at that point, I already had a free OS that handled the sound card, so...).
Your mileage may vary - others may find some particular Linux distribution (or some particular non-free OS, or even some particular non-UNIX-flavored OS) better as a workstation OS, or, for that matter, as a server OS, for their purpose than one of the BSDs, and others might find one of the BSDs better, and so on.
Re:Analysing the Conventional Wisdom (Score:2)
Linux suffers from security-related flaws, but IMHO the most serious ones relate to misconfigurations implemented by the CKI (Chair to Keyboard Interface)..
(And why not use and promote multiple OSes? Two mottos come to mind here.. 'The right tool for the job', and of course, 'There's More Than One Way To Do It!'
Your Working Boy,
*BSD install experiences (Score:2)
My only criticism of NetBSD (and I assume this applies to OpenBSD as well), is that the kernel co nfiguration is horrible. *BSD snobs always poke fun at the user friendly kernel configuration tools that come with the Linux source, but this is really unjustified. I never got round to compiling my own NetBSD kernel because of the paucity of documentation and the crap configuration file.
I did recompile my FreeBSD kernel on numerous occcasions, but always had that ``did I do it properly'' feeling that I've never encountered with Linux.
So all in all this OpenBSD review is accurate and fair.
Chris Wareham
Not bad considering the low word count ... (Score:2)
So don't knock this review without noting its context. I feel that he highlights the real differences between Linux and the free BSD flavours - the latters constency, economy of features and steeper learning curve.
Chris Wareham
Re:Not bad considering the low word count ... (Score:2)
Maybe. Except lots of the BSD API is deprecated - perhaps this is part of a move towards POSIX / XPG conformance? You have to link in compatability libraries for things like BSD C regexps, which brings back bad memories of programming on Solaris after the switch from BSD based SunOS
Chris Wareham
Re:The OpenBSD install is well documented (Score:2)
Not much help if you're a total cheapskate and just downloaded NetBSD like I did
Chris Wareham
Re:Not bad considering the low word count ... (Score:2)
There just isn't the same amount of material avaliable for the free BSD's as there is for Linux. This is a shame as I loved NetBSD, but in the end I switched to SparcLinux simply because it performs better. (There are good reasons why Linux outperforms NetBSD - the NetBSD guys chose to code for easy portability not blistering performance on any one platform).
I can't say that I enjoyed FreeBSD though, as the version I used (2.2.7) seemed to be in some kind of limbo between BSD and System V from a programmers point of view.
As for Linux distros differing in terms of user-friendliness, I can only comment on SuSE and RedHat. RedHat is a doddle to use, but takes a lot of trimming to get rid of extraneous cruft, while SuSE reminded me of NetBSD for some reason.
Chris Wareham
Re:Analysing the Conventional Wisdom (Score:2)
For example, lack of applications could be considered a flaw, as could crashing. Lets say (I don't nececcarly agree, but conventional wisdom which we are analysing has it that) Linux crashes more but has more apps and BSD has less apps but crashes less. In a workstation role, apps are critical. The benfit of more apps outweights the benefits of stability. It is not that crashing is any more "acceptable" in a single-user role, it is just that there are more important concerns. It doesnt matter how little it crashes if it doesnt do what you want!
So, we see that the "Conventional Wisdom" as you put does not say it is OK to crash a little in single-user roles, but just that there are higher priorities.
Of course, then you come to the base assumption of said wisdom which runs along the lines of: Linux has more apps, more drivers, nicer interfaces, and faster paced development but at the cost of stability and 'correctness.'
In my personal experice this is true. I use a Linux workstation every day but when I had to nuke my server (after several years of faithful Linux service) I decided to try FreeBSD. It took me a while to install it, the installation was harder (a priority I consider low on a server, higher on a workstation). But once I finished, I found much the same thing as the reviewer: everything fit together perfectly. make buildworld is an amazing thing to watch. Everything has a place and the documentation is superb. I was very pleased.
Conversely, when it came time to nuke my workstation I didn't even think of BSD. Why? Because its a shitty home-build mutt that has been upgraded over a period of 3 years. FreeBSD did not have all the drivers I needed. In addition, getting apps on FreeBSD is harder. You don't usually need gtk+ on a server, but I sure as hell ain't living without it on my desktop! (I know, gtk is in the ports tree, but it is never up to date).
In summary: you are right. Given infinite development time, there need not be a difference between server OS's and workstation OS's. But, given that there are different priorities in different roles, and given that there are limited developer-hours, having different OS's focus on different roles makes perfect sense.
--Nick
Re:Right on! (Score:2)
You could get the package manager to keep track of the associated source, docs, etc for each binary. For example:
% rpm --tell-me-aboutGNU grep 9.99, compiled by me@somewhere on 1998-05-14 (it could give more details, eg compiler flags, what the configure script detected)
Source is in grep-9.99.srpm (or in
Manual page is grep(1)
Docs are in
etc...
My review of OpenBSD (Score:2)
I decided some time back that it would be fun to experiment with OpenBSD. I was drawn primarily by it's crypto software. I was installing it on a machine that I tend to use more as a server than anything else. So desktop friendliness was not a major issue.
So first came the install. I ordered my $2- Cheapbytes [cheapbytes.com] CD, which came with an installation walk-through. This walk through made it pretty easy. I had a hiccup with my large disk drive ( due to bad bios configuration ) but a post to comp.unix.bsd.openbsd.misc fixed that pretty quickly. The partitioning procedure using the cryptic disklabel tool would have been hell without the walkthrough. However, i just did ( more or less ) what the walk through said, and it went OK.
Which raises another point -- I was surprised to find that the help on Usenet for OpenBSD is on par with usenet linux support. Far from being a bunch of obnoxious RTFM'ers, the OpenBSD crowd are by and large very helpful. I felt honoured that Theo De Raadt himself responded to one of my posts. Regarding support, the "OpenBSD FAQ" is also excellent. It is really more like a users manual than an FAQ. I highly recommend that anyone planning on installing openBSD get a copy of this prior to installation.
Once I had finished the install, I had my openBSD system up and running. I discovered a few things:
First, I was somewhat surprised that the inetd services don't go via TCP wrappers by default. I had to edit inetd.conf to make them do this. I was awfully confused for a little while regarding the fact that my hosts.deny settings ( ALL:ALL ) were not honoured. So I fixed inetd.
What is nice about the default setup is that software such as sudo, skey and kerberos is installed by default. They will be shipping ssh with it in the near future ( 2.6 ), see http://www.openbsd.org/crypto.html#ssh. Until recently, they've had obstructions to shipping this, such as patents. They are actively hacking ssh to remove these obstacles. Crypto is "integrated" into the system. For example, crypt() has built in blowfish encryption ( which is used to encrypt passwords ) See http://www.openbsd.org/crypto.html for more info.
The system also uses shadow passwords out of the box. The ports collection makes it easy to install any other secure software you might want, such as cops, ssh, rsaref, among other things. Just CD to the right directory and type "make install" and openBSD automatically installs the package, *and* looks after any dependencies -- so "make install" always works, even if you don't have some of the required packages to begin with. The ports collection is lean in terms of desktop applications, but contains a good collection of server apps.
However, it's not ideal as a desktop system. The file system is slow ( though very stable ), and the ports collection is somewhat limited compared to FreeBSD and NetBSD. It also trails FreeBSD in hardware support.
Overall, I'd highly recommend it for a user familiar with linux ( in particular, someone not scared of command lines ) who wants to set up a secure server on low end hardware.
Re:FreeBSD and These Colours (Score:2)
Re:Not thourough (Score:2)
He tells a tale of the difficulties he had as a fairly Linux savvy person using OpenBSD for the first time, and he speaks as deeply of the benefits of the running system as his experience justifies.
I wouldn't trust hime if he went into more depth. A few days of poking does not an expert make.
BTW, I've been using Linux since 1993 (I first tried the TAMU distribution, anyone else out there use TAMU?) and just this summer installed my first *BSD system, I put FreeBSD on an old 486 on my network. I had a good experience with that. It's up and stable and I use to serve copies of my "Webmaster in a Nutshell Deluxe" and "Java in a Nutshell Deluxe" CD-ROMs to the rest of my network via NFS. It works beautifully, and I haven't had to touch the box for nearly six months now. What else do you want from a server?
So, this guys's story made me keen to try out OpenBSD and see what that could do for me.
I think that's what the article was about, rather than a comprehensive review.
Oh yeah, another commenter said (disparagingly, I think) that people who read that site are all RedHat users. I read this article and I'm a Debian user.
Re:Why I Came Back To Linux (Score:2)
As for file system speed, that's another peculiar complaint. BSD's filesystem is much faster for what I do than Linux's. Test it out by creating equivalent large trees, and running something recursive, like du or ls -R. I have directories with zillions of files in them. BSD is about an order of magnitude faster for this than Linux.
And why do you say that for a desktop machine, the filesystem speed is important? Is this different from what you want in a non-desktop machine? Why?
As for networking, it seems more sensible on BSD. I find that the many Linux versions all have their own little sillinesses that you have to sniff out. They also seem need an extra route that I don't need to remember to do in BSD.
In fact, there's absolutely nothing I want to do that I can do in Linux that I can't do in BSD. Sure, there are kernel threads in Linux, but it's not like they're as robust as on Sun or SGI.
As for games, I find that BSD comes with a lot more than Linux does, which is basically nothing at all. It's nice to be able to just type rogue and it run right out of the box.
The ports stuff is much saner than anything I've ever seen for Linux. I don't understand why people expect absolutely everything pre-installed, or why they always want binaries. It's very scary. There's something very comforting about having a 100% source system, and one where you just type make. You want to know how to make rm stop asking stupid questions? Just cd /usr/src/bin/rm/ and look at rm.c sitting right there. Don't like something? Edit the file, and just type make.
And then there's the fact that /sys is there again, and things are where you expect them to be.
And then there's the fact that all binaries and libraries come with man pages, something that all the Linux operating system bundlers have completely screwed up.
I guess what I'm saying is that BSD is much saner and coherent -- and familiar -- if you're a long-time Unix user than Linux is. Then again, I've been using BSD since 81 or 82, so it's not surprising it makes more sense to me than then Winix stuff you see in Linux.
Re:Analysing the Conventional Wisdom (Score:2)
I'm serious, and I'm not trying to be obtuse. I'm a Unix programmer, not a starry-eyed neophyte in search of eye-candy. I have mailers, newsreaders, web browsers, web servers, editors, admin tools, a complete development environment, etc.
The only bloatware I've got installed on the openbsd systems is netscape. It's also the only non-source program here. I've tried mozilla, but it crashes all the time. I also offer users amaya and lynx.
As far as bloatware goes, I also installed enlightenment and gimp, mostly as a test to see whether I could. And yes, there was no problem. I've a friend who's an Apple user, so put gimp up for them. And enlightenment was semi-interesting, but I've gone back to tvtwm, which suffices for my purposes. I don't know whether these are what you call "desktop applications" or not.
As for /usr/ports, I get this
Although I admit I haven't done an mcs get lately. My only FreeBSD account doesn't haveIt seems to me that it's more important for a machine that has many users to be fast (what kids these days call a "server") than it is for a machine that serves the needs a lone user (what kids seem to call "clients" or "workstations" or "desktops") to be fast. After all, slowness in a shared resource hurts everyone who's sharing it.
As for file system speed, what do you mean? Are you saying that FreeBSD isn't using FFS, or that OpenBSD isn't? If they're both using the regular FFS, why is there a difference? Have you benchmarked this? Are there published numbers? My only experience is comparing OpenBSD and Redhat for ftw stuff, and the former came out way ahead on a hugely bushy file system.
Re:Quality vs quantity of documentation (Score:2)
Second, there's simple correctness and completeness. A virgin Redhat installation is so full of crap in the manpages that you want to pop somebody one. They've got catpages installed alongside the manpages (e.g. /usr/man/man1/mailq.1) They've got missing .so links -- try getting a manpage for getnetbyaddr(3); it doesn't work, and if you look, you'll realize why. They've got hundreds of broken SEE ALSO links, as well as thousands (well, around 1700) of missing manpages. They've got a few dozen or so that are simply wrong, all thanks to the Fearless Leaders from you-know-where. It's really completely incoherent.
If you go to bugzilla [redhat.com], look up bug numbers 6043, 6044, 6046, 6049, 6255, and 6315. Redhat has been very responsive to these bug reports. I've even given them a bunch of programs to help with this, but the current situation is pretty darned embarrassing to anyone used to a proper Unix release. (Anyone interested in noman(8), cfman(8), or scatman(8) can pull them from bugzilla or send me mail.)
First times for everything... (Score:2)
So I proceeded to install OpenBSD on my 4 year old 486 from floppy images. (I didn't have the funds to buy the CD, either, but I did have some old AOL promo disks.) After a day and some of fiddling, I had the system up and running, although I had many of the same troubles as the author of the review, but without the prior Linux experience to draw upon. I installed X11 and a few other necessary programs, and ba-da-bing, it ran fine.
About a year later, after I was no longer in charge of that organization's computer woes, I transitioned to FreeBSD, since it had better focus on the Intel platform and in particular supported the odd arrangement I was resorting to to drive my CDROM. Still, for a first foray into the wild, wild world of installing and running UNIX from scratch, OpenBSD was pretty good!
Re:Are *BSDs dying ? (Score:2)
----------
Re:X Windows and Masochism involved thereof (Score:2)
a) check to make sure your video card is supported by xfree first
b) run
c)once that's done, go to post install -> configure xfree86 server from which it run XF86Setup (or the command line util if wanted).
d) once you have that running, then post install -> Setup XFree86 Desktop and install your window manager of choice (gnome + enlightenment or afterstrep [doesnt work very good in bsd], windowmaker, fvwm2, or KDE (i'd recommend kde + blackbox or windowmaker or just plain KDE).
All linux XFree setup's I have tried have been similarly intuitive..
----------
The land of the free (Score:2)
from Canada, and not the US of A, it can ship
with heavy encryption enabled, with out
being harrassed.
Someone overseas should take note of the business
model, and make a linux distribution based on
the same ideas.
Right on! (Score:2)
Right on! That was one of the hardest things I encountered when getting used to Linux. Binaries in /bin, /sbin, /usr/local/bin, etc. In thinking of a better way to set up an OS (yeah, like I'm gonna invent an OS) I figured most binaries will need:
Re:Learning from OpenBSD (Score:3)
Having said that, I wouldn't want Linux to pick up it's development model. Actually, Debian is almost there. The BSD groups are incredibly picky when it comes to what get's put into their OS. The kernel development is a much slower, and much more mature process. If Linux worked that way, we wouldn't see 2.4 until 2005.
A line-by-line audit of Linux's code wouldn't be bad idea, but the state of that code changes so frequently that I don't think it could be done properly without affecting the development process.
-----------
"You can't shake the Devil's hand and say you're only kidding."
Analysing the Conventional Wisdom (Score:3)
Precisely what features are desirable in a "server"? What features are desirable in a "workstation"? What even is the difference between a "server" and a "workstation"? Does optimizing for one of these environments pessimize-- or at least compromise--the other situation? Is there some technical feature that you really want to have in a multi-user situation that you don't care about in a single-user one? What about the other way around?
Here's my conjecture: there is no difference here. You want the same in both, because a soi-disant single-user Unix workstation is still a complete multi-user environment with all the attendant issues thereof.
A system's inadequacies appear more acceptable in a single-user system only because they can thereby annoy only one person at a time. In a multi-user situation, such problems are less tolerable because the pain is multiplied by the number of individuals affected. But inadequacies they remain.
Just as you want a solid, sane, robust system for a computer that provides services for an entire department, so too do you wish the same coherence and correctness on my very own computer that you are the principle user of. For example, you don't expect to reboot a server just because you install some new software, and neither do you expect to do the same on my own machine. Granted, Unix isn't stupid here, the way the Evil Empire is. But by allowing sloppiness in a "single-user" environment that would never be tolerated in a "multi-user" one, we risk relegating ourselves to a plane of Hell not so far removed from the one currently inhabited by gibbering victims of the Horror Out of Redmond.