139 points · by microtonal · 10y ago · 67 comments
I wish more of the HardenedBSD features would land in FreeBSD trunk. Other than that, I'm really glad to see that it's making great progress, like RISC-V support. The address randomization feature in 11 is ASR (not ASLR), per the review comments by the inventor of ASLR (PaX dev), so it's a pity the initial HardenedBSD devs decided to not continue upstreaming things after they felt the ASLR patch review was taking too long. OPNsense seems to be basing itself on HardenedBSD, so that's nice to see.
However, its worth noting, that if it wasnt for them persistently making a lot of 'noise' around this particular feature, FreeBSD guys wouldnt come up with their own implementation anytime soon.
[0] https://www.openbsd.org/papers/bsdcan08-sensors.pdf
[1] I attended the BSDCan this was presented at, and sat close to phk and witnessed the exchanges about the technical merits, problems, "'good enough' vs 'good'", but am recalling from memory.
[2] Poul-Henning Kamp, https://twitter.com/bsdphk
Do you know if there are there plans to implement the rest of the important mitigation techniques?
>"and get management to make a donation in kind"
Unlike FreeBSD and pretty much every other serious donation-supported project (including NetBSD) the OpenBSD Foundation is not a [strike]legal non-profit[/strike] "tax deductible charity" (in the US that'd commonly be a 501(c) tax empty). So donations are not tax deductible and may run into barriers that others sail through. Many of the matching programs I've seen for example simply have official non-profit status as a flat-out requirement. While of course it might be possible to negotiate exceptions with management, just in having the conversation at all we're already talking massively more friction, and friction is the enemy of spending.
OpenBSD has some little bit of handwaving about it (Canadian, too much trouble) which may well be valid in isolation but is irrelevant in the larger picture, and feels more like a common pattern of prideful disdain at being about "anything but the code". But to the extent money from non-coders is considered important, the interests of non-coders also have to be at least mildly considered if an increased response rate is desired. It's the 100% right of OpenBSD to make it a PITA and have snark and proudly run rough sites and such, but of course that's going to have natural consequences in interactions with the rest of the world.
There's no right or wrong answer here, but I don't think your "it's pretty sad and says a lot about the IT industry that they are not" actually fully captures the situation. Other foundations are registered non-profits, have somewhat nicer pages (not crazy webapp monstrosities, but even little things like simple acknowledgment of smaller donors that OpenBSD blows off), and so on. Donors are special and rare, and a bit of personal recognition and appreciation is free and can go a long way. A lot of coders may dislike the softer general human networking side of things, but tossing it aside will generally result in a reduced experience unless there is some other form of stickiness.
I've also had the FreeBSD Foundation as my Amazon Smile beneficiary ever since Smile was introduced. It's not a huge amount (0.5%), but I shop a lot on Amazon.
Money well spent.
I'm not talking about Linus. Linus swears, I think that's almost OK. No, I'm talking about the people who go out of their way to be unpleasant. Some of them swear too, but saying fuck isn't the heart of what makes them bad. And I wish Linus wouldn't swear — he attracts too much criticism and shields people who could use a little headwind.
I'm going to donate to freebsd just for that.
Look at ports/sysutils/u-boot-cubieboard2 for a template on how to build a suitable U-Boot, and sys/boot/fdt/dts/arm/cubieboard2.dts for a template for your dtb.
For a detailed list of supported hardware, have a look at the wiki: https://wiki.freebsd.org/FreeBSD/arm/Allwinner
Also, the sddm package didn't build because the kdemerge tool can't merge the UIDs/GIDs files. That was changed to go ahead and build the package and give a pkg-message to create the user.
I want people to be able to test using 11.0-BETA2 and have sddm, so I've updated the jail and am currently in the process of rebuilding the packages.
Because the jail changed, everything builds from scratch, so it's taking a little while, but when they're done building (should be soon), I'll test some more and write up some docs on testing KDE5 and post them for those who are interested.
> Intel GPUs up to and including the unreleased Kaby Lake are supported
> Amdgpu AMD/ATI driver has been updated to GCN 1.1 and higher
Maybe at some point one of the BSDs will implement a new, cleaner init system.
Could you eloborate where you had problems? The BSD init system is already quite clean, much cleaner than sysvinit.
I'm not sure what systemd features you need but most if not all can be replaced by small unix tools - that's kind of the point of the BSD philosophy.
(I know these topics can get quite heated, but I'm genuinely not looking to start a flame war).
While systemd clearly helped consolidate and make administration more predictable across linux distros, there are deficiencies and regressions due to systemd which for the most part didn't exist in the pre-systemd era. It may be due to the scope of functionality systemd aims to cover, but some of the unconventional or missing command line options don't help either. However, it's used by enough mainstream distros that I expect the kinks to be fixed with time.
I was more interested in why the OP didn't consider FreeBSD to have a "useful init system". Just wondered if it was a preference thing or if there were features s/he considered it to be missing or were perhaps unaware of.
I keep seeing this argument, and i keep wondering what it is actually trying to say.
Just about the only time i can think of that i want to spin up a daemon in response to hardware changes would be with a USB bluetooth dongle, as it would require certain daemons to get working.
But the cost of just leaving a deamon idle in ram seems much lower than having to engineer a whole new init that monitor /dev changes so that it can start or stop a process or two in response to them.
Then again, maybe i am not the laptop packing dev convention goer that seems to use their laptop more like an oversized phone than a laptop (never mind a desktop).
Edit: damn keyboard ignored the copy command somehow, so i had the wrong quote pasted...
There's a new version of nosh ready on the new WWW site. I'll be announcing in the usual places soon. I believe that it has a few things of interest to people, including (given what was said above) a slight further extension on the cross-platform front.
BSD init is pretty small and clean. I would argue systemd is much less so because of the large scope of the project. The more lines of code and features you have means there's going to be more bugs and more ugliness, and that's true for all large programs. New doesn't mean better either. If it isn't broken and still works well, then you don't need a replacement, which really is why systemd exists to begin with. Sysvinit was a god awful and byzantine program IMO.