OpenBSD Drops Support For Loadable Kernel Modules
jones_supa writes: The OpenBSD developers have decided to remove support for loadable kernel modules from the BSD distribution's next release. Several commits earlier this month stripped out the loadable kernel modules support. Phoronix's Michael Larabel has not yet found an official reason for the decision to drop support. He wagers that it is due to security or code quality/openness ideals.
As far as I'm concerned, the OpenBSD developers are as close to infallable as software developers could ever hope to get.
If they've decided to do this, then it's just the correct thing to be doing.
It's probably because OpenBSD's "LKMs" are so ancient, limited, and inflexible that nobody bothers to use them. I imagine if there were demand they would have adopted a more modern loadable module system, more akin to what's found in FreeBSD, NetBSD, Linux, etc.
This isn't news. It's more Phoronix spam.
"...Michael Larabel has not yet found an official reason for the decision to drop support. He wagers that it is due to security or code quality/openness ideals."
I know Phoronix is infamous, but, wow...
The OpenBSD mailing lists are right there. You're already reading them! Many developers frequent them daily. All you need to do is post a question! Hell, send an email to Ted himself if you're that shy. Why bother writing this article without doing the most basic of research?
I hope OpenBSD becomes much more popular. I remember nearly 15 years ago when BSD was being touted for its performance and media capabilities. Now I want more alternative, free, and open-source OSes that tout security and privacy. Privacy while using technology has become practically extinct, well, at least so it seems to me.
"amazingly customizable kernel with"
Clearly you've never used OpenBSD before. Kernel hacking is one thing they explicitly frown upon. Too easy to break important things and compromise security.
And OpenBSD's init system (rc) is about as non-modular as it gets.
I use ports all the time, and I've never compiled my own kernel. From what I recall, everything available in the OpenBSD kernel is always enabled by default. The only reason to compile a new kernel is to remove something from the default kernel.
Removing the LKM means someone can't maliciously load a module that screws everything up. The malicious entity would have to replace your kernel and then force a reboot.
Now if they could also drop support for shared libraries I might consider upgrading my warezed copy of NetBSD 0.8.
This is it. Old implementation, low quality, and NOTHING USES IT. Bye bye!
wat
"If you love someone, set them free. If they come home, set them on fire." - George Carlin
Since it's a script, you can do what you want with it. run-parts style, if you like. It's a script, bring your own fun. Quite the opposite of systemd, if you will.
Why UNIX?
The official changelog also says they removed LKM http://www.openbsd.org/faq/cur...
The OpenBSD developers are so awesome that they've found a magical way to make modules unnecessary: Magical code compression with zero runtime overhead. As a result of this new approach, every possible kernel module (including ones that haven't been written yet) is stored in less space than an otherwise completely stripped kernel from the prior revision.
They also removed Sendmail and BIND. Where's the outcry there?
I'm more alarmed that procfs is going away.
For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
https://bitbucket.org/braindam...
These are some of the worst and most uninformative commit messages I've ever seen...
1) Why are there so many commits to achieve the same thing?
2) Any commit message that is only a single line other than "fix typo" is a bad commit message
Seriously, even some of the worst/most incompetent Android kangers have written better commit messages than the shitpile of LKM removals I'm seeing there.
retrorocket.o not found, launch anyway?
Exactly. The editors should be ashamed. The post was carefully engineered to promote someone's private fork. OpenBSD uses WebCVS for crying out loud! How stupid can people be?!
A successful API design takes a mixture of software design and pedagogy.
What wat? Just look at the link in the fine article. It's not to any official openbsd repo, because it's not even CVS, and OpenBSD uses CVS (yes, they do). That's wat. Again, how stupid can one be?
A successful API design takes a mixture of software design and pedagogy.
As an avid OpenBSD user and fan, this puzzle me because it would seem like a giant step backwards. Yes, loadable kernel modules do weaken the security some but it makes adding hardware drivers difficult. I really like OpenBSD as the OS does so many things very well but the team members are far from fallible. The community isn't as supportive and tends to be very exclusive, responding with RTFM sometimes a little too often. I can understand RTFM, but I cannot understand being told to read when I've read it already and I'm still unclear.
Do slashdot moderators click on any of the links for stories before sticking them on the slashdot front page? I'm thinking not in this case.
I shutter to think of how this would impact the development/debug cycle of an otherwise simple device driver.
WTF /. !!! The url says bsd.slashdot.org, but the theme isn't red anymore. Just another casualty to OMG beta! I presume.
the preceding comment is my own and in no way reflects the opinion of the Joint Chiefs of Staff
Are you trolling, or do you genuinely not know the difference between OpenBSD and FreeBSD?
Why? It mostly used for compat_linux(8) anyway, which is i386 only. Nobody was using mount_procfs(8) without the ancient -o linux option. It was broken for months before anyone noticed.
Linux or OpenBSD?
BSD seems to be strengthening (all BSDs). More and more serious businesses I know are considering FreeBSD. I used to run 6 BSD/OS servers and short of HW issues, never had an issue. In fact, we got to work about 9, went to lunch at 1130, hung out wherever until about 1330, came back smoked on the loading dock and left for home by 4. Rarely had issues. The Windows and Linux guys? Always something wrong.
Well, I was surprised by the bitbucket link as well, but a lot of developpers (OpenBSD or not) use git these days. The repo linked to seems to be a copy of the official OpenBSD CVS.
A better link could be, for instance:
http://cvsweb.openbsd.org/cgi-...
Or:
http://cvsweb.openbsd.org/cgi-...
The interesting thing is that the diff just before Ted Unangst is more than 11 years old -- which means LKMs really haven't been used for a long time in OpenBSD...
The right to offend is far more important than the right not to be offended. (Rowan Atkinson)
If any vendor has proprietary drivers for OpenBSD, they would undoubtedly be using better kernel interfaces directly. Especially for something like a driver for a hardware RAID controller. LKM(4) support has mostly been only "compile tested" for years. Nothing uses it seriously, at the time of it's removal.. the ports tree contained a single port making use of it.. a firmware flasher for some Dell systems.
See my answer above: OpenBSD dev also use git. LibreSSL - portable is maintained on Github, for instance.
Then again, you probably don't know a lot about OpenBSD... Do you? A simple Google search could have given you the links I included in my previous answer.
The right to offend is far more important than the right not to be offended. (Rowan Atkinson)
Yes, yes, little troll, you just demonstrated your total lack of knowledge when it comes to OpenBSD.
Straight from the horse's mouth: http://www.openbsd.org/faq/faq...
And I quote the aforementioned:
Why do I need a custom kernel?
Actually, you probably don't.
The only time you need to recompile OpenBSD kernel is when a major security issue has been found and your system is vulnerable.
The right to offend is far more important than the right not to be offended. (Rowan Atkinson)
OS X is not "based" on FreeBSD. At best, some parts of OS X are at best close relatives of FreeBSD, but the similarity stops there.
I didn't say it wasn't good I said it wasn't modular.
OpenBSD market share drops as it no longer supports third party hardware.
That's basically already the case, their hardware support is pisspoor. Which is okay if you're building a machine around openbsd, who cares? But it's a bummer if you want to use what you have lying around.
"You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
The OS X kernel code is taken from FreeBSD and Mach, It is a hybrid of both kernels. So part of OS X does come from FreeBSD.
To expand. If it's a script it has a script handler. If it has a script handler it can be rewritten.
There's no reason they couldn't add a few features from newer scripting languages to enable forking of functions or "own fun". If the kernel (the one running said script with said script handler) supports multiple cores/threads it could easily be the more modularized, etc.
All still from one script.
http://undeadly.org/cgi?action...
You don't know how to call a script from inside a script? Also - my openbsd box seems to have an interesting number of rc.d scripts.
$ uname -sr /etc/rc.d ....
OpenBSD 5.2
$ ls
amd apmd bgpd bootparamd cron ddclient dhcpd dhcrelay dnsmasq
76 scripts in total.
bloody nonsense. I've been using OpenBSD for nearly 20 years and never had to recompile the kernel to use anything in ports.
Are you shitting me? You think the various hardware vendors actually write drivers for OpenBSD? *ARE YOU SHITTING ME?*
Seriously?
For someone who doesn't care about OpenBSD, you sure sound off a lot on it.
I can't use several of my machines because of lack of drivers for horribly common hardware which is nearly identical to supported hardware and for which a fix has actually been submitted on the mailing list. In spite of it being only some changes in values and not in the basic functionality of the driver, they begged off adopting the changes because of concerns with Linux copyright, which has already been shown to not apply in this case. Just NIH. Well, fuck 'em. I'll use something with some support.
"You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
I have had more hardware support problems with Windows and Linux.
I regularly have uptimes of over a year, and bug reports generally produce a next day response. Try getting that elsewhere.
Sent from my ASR33 using ASCII
Why would anyone want a newer scripting language? That is like wanting to build a house from new bricks. If you know the old language, you can use it. If you don't, then perhaps you should not be messing with the system initialisation?
Its not like normal admins have to write these scripts - the people who manage ports supply them for you, and have a tool that puts them in the right place.Most people run OBSD because they want to have a system that runs their apps, not so they can experiment with the boot process. OBSD boots really fast. (Unless you screw up your fstab - like I did last week - In which case it might not boot at all).
Do you also complain about the type of pipe clip your car manufacturer uses on the under-bonnet pipes?
If you want to use Java to write a systemd replacement, then go ahead - I wont stop you. Do like Linus, and write your own damned OS.
Sent from my ASR33 using ASCII
I regularly have uptimes of over a year, and bug reports generally produce a next day response. Try getting that elsewhere.
Back when I ran obsd I had panics and problems with network card drivers that almost cost me a job. The machine was rock solid under Linux and the NICs were bog-standard eepro100s. Now I have a netbook and a laptop I can't use because of a lack of NIC support. Linux supports both NICs without ndiswrapper. I want to use these machines for low-end servers, but I can't without adding a NIC (dongle hell) or in one case, swapping out minipci. And I could do that, but it was cheaper to install Linux.
obsd lacks support for common hardware which everyone else supports. That's simply not arguable.
"You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
Some of the less-helpful "community" members could do with a kick up the arse though, better to not post than to post an RTFM without at least pointing out which bit of TFM to R. I'm sure that often they don't know the answer themselves. (Not to be mistaken with mails from time-starved people that are equally short but do actually point people in the right direction...)
Not that there's anything wrong with that. OpenBSD will remain a niche product run by a handful of users that otherwise run Macs (oh, citation needed? http://assets.keltia.net/photo... ) and other than being primary sources of OpenSSH and hopefully systemd shims, completely irrelevant.
It seems you took a picture of FreeBSD users, which indeed often run Macs. But FreeBSD runs on Macs too...
systemd shim is useful to simplify porting software that idiots thought it was useful to make systemd dependent. The most popular of this software is something I stopped using years ago because the devs were taking bad decisions, so that's not new.
I gave up with the idea of an useful sig...
No, seriously!