Live data from Hacker News

Migrate Everything from Linux to BSD

unixsheikh.com

71–80 of 169 posts

Re: Migrate Everything from Linux to BSD

#71
post #42

Earlier quoted context omitted.

I noticed that, too: the author doesn't mention the many-splendored versions of *BSD. My personal favorite is FreeBSD. I like Linux, but I have mixed feelings about systemd, especially when I discovered that systemd runs its own DNS server, which prevents the DNS server I wrote from binding to port 53 using INADDR_ANY. Instead, I had to write code to enumerate the interfaces & corresponding IP addresses & bind to eac…

You know you turn that DNS server off by adding "DNSStubListener=no" to /etc/systemd/resolved.conf right?

Or disabling and stop systemd-resolved should do the same thing.

Re: Migrate Everything from Linux to BSD

#72
post #68

Earlier quoted context omitted.

If you want to prevent MitM attacks, run a local DNS server with DNSSEC. DoH is a trend in the wrong direction. The more IoT garbage begins using DoH, the less control over your privacy you will have. Solutions like pi-hole are rendered useless by DoH.

Not all MitMs inject malicious responses; denial of service is equally problematic. If you can block DNS requests via a pihole, so can your upstream ISP (whether it's because they want to throttle your internet usage, or police it, or whatever else). And even just a passive observer snooping on your DNS requests can result in an invasion of privacy.

I agree on all counts, but DoH removes control and choices that I want to keep. pi-hole itself supports DoH. It's a good way to protect privacy and keep control.

Re: Migrate Everything from Linux to BSD

#74
post #41

Earlier quoted context omitted.

I really don’t get the weird cult of people seemingly obsessed with Lennart. The man sets out to solve really hard problems in the Linux desktop space, isn’t afraid of tackling complexity when it shows up in the problem domain, and is obsessed with correctness. That last one gets him in trouble from people who want him to be more pragmatic but I personally really appreciate it. I really admire him for being the poste…

I can agree with not taking things personally but "obsessed with correctness" is not how I would describe systemd or PA

Correct. And there are other people working on those projects too, even if we assume Lennart is that good. I found a fairly trivial DoS issue in systemd-resolved in ~10min with a fuzzer. (Years ago, fixed already) That shouldn't happen in a system obsessed with correctness.

Re: Migrate Everything from Linux to BSD

#75
post #38

Earlier quoted context omitted.

systemd isn't an init system and doesn't pretend to be one [note] - it's OS middleware with ambitions to becoming a distro unto itself. The systemd project assumes responsibility for numerous aspects of the system that have no technical justification for being under the same project umbrella. You might like systemd-homed, for instance, but it doesn't really have anything to do with the functions of init. Calling it a…

Honest question, if nobody likes systemd, then why is it still around and why is it so difficult for me to find a distro that hasn't adopted it?

Easy answer: Gnome desktop.

Red Hat produced systemd. Red Hat is the major contributor to Gnome. Gnome now refuses to run without systemd. Every major distro wants to carry Gnome, so...

Well, at least some distros offer a choice. Some other distros (Alpine, popular for containers, Void, which powers my laptop) live happily without it. Various shims exist, logind exists to allow running things like Xfce without systemd.

Re: Migrate Everything from Linux to BSD

#76
post #38

Earlier quoted context omitted.

systemd isn't an init system and doesn't pretend to be one [note] - it's OS middleware with ambitions to becoming a distro unto itself. The systemd project assumes responsibility for numerous aspects of the system that have no technical justification for being under the same project umbrella. You might like systemd-homed, for instance, but it doesn't really have anything to do with the functions of init. Calling it a…

Honest question, if nobody likes systemd, then why is it still around and why is it so difficult for me to find a distro that hasn't adopted it?

It’s one of those polarizing things for which there is a small group of hyper vocal critics. When people discover something unexpected, they end up googling it and take a trip down the systemd rabbit hole.

The majority of people don’t give a hoot about it.

Re: Migrate Everything from Linux to BSD

#77
In terms of the privacy and corporate interests concerns, at least, it seems like a lot of this article consists of systemd hate. So use a non systemd Linux distro. Simple! https://nosystemd.org/ can help you choose one. (I know, pretty much all the major distros have fallen like dominoes, but there are still reasonably mainstream choices out there).

There's almost no mention of such issues in the Linux kernel itself, except for "the kernel forcing adaption of DRM". I'm not versed in that story, feel free to enlighten me. But from following the link to the kernel.org thread, it seems fairly clear that the feature in question is opt-in, and that the Linux kernel therefore isn't forcing DRM onto anyone.

Re: Migrate Everything from Linux to BSD

#78
post #38

Earlier quoted context omitted.

systemd isn't an init system and doesn't pretend to be one [note] - it's OS middleware with ambitions to becoming a distro unto itself. The systemd project assumes responsibility for numerous aspects of the system that have no technical justification for being under the same project umbrella. You might like systemd-homed, for instance, but it doesn't really have anything to do with the functions of init. Calling it a…

I just can't get myself worked up over systemd. Every in-principle objection I have to systemd also applies to the Linux kernel itself—but orders of magnitude "worse." Principles aside, in reality, systemd has been a complete non-issue for me and a massive quality of life improvement for Linux as a desktop operating system.

That’s kind of where I am. I have yet to run into issues with systemd in practice. I suppose I did run into two but they both came down to old style init scripts that didn’t work right and so systemd couldn’t make sense of them.

Is it not possible to turn off things like systemd’s DNS server, etc? I imagine if you care about such things you should be able to reconfigure your OS to use something else instead.

Re: Migrate Everything from Linux to BSD

#79
> Linux is fragmented

Ten year old FUD. Most distros are on systemd now. Whatever you want to say about systemd, it's definitely not fragmentation. Also there's the freedesktop project and dbus which creates a standard API for desktop applications. All Linux distros use glibc and GNU coreutils. Where's the fragmentation?

Linux desktop applications are all very fragmented and broken (GNOME, KDE, 100 different tiling window managers, 100 different music players that all suck), but that's not Linux, that's userspace.

> Torvalds has a bad opinion on ZFS

Doesn't matter. ZFS on Linux still works. Also ZFS is not immune to criticism. BTRFS is getting better and is more than adequate for everyone who is not running a CDN. Also ZFS isn't exactly usable on all BSDs, just FreeBSD (nor did FreeBSD come up with ZFS in the first place (why not migrate everything to Solaris then?)).

> Linux is being heavily influenced by corporate interests

Good. Problem? The computer is a tool not a political bumper sticker. I'm happy to use something for free that developers are paid to improve and that I still have complete control over. Linux [Android] is the most widely deployed OS in the world. It's constantly improving and lots of eyes are on the code. There just aren't enough skilled volunteers to maintain a giant codebase as critical as an OS.

https://madaidans-insecurities.github.io/openbsd.html

When BSD is used by corporations, they fork it and make their improvements proprietary.

> Time to migrate everything to BSD

Then almost everything I do with my computer would be impossible except for dicking around in a web browser. How do I run containers, modern hardware, or CUDA? Hard mode: No Linux emulation.

Re: Migrate Everything from Linux to BSD

#80
post #27

Earlier quoted context omitted.

I noticed that, too: the author doesn't mention the many-splendored versions of *BSD. My personal favorite is FreeBSD. I like Linux, but I have mixed feelings about systemd, especially when I discovered that systemd runs its own DNS server, which prevents the DNS server I wrote from binding to port 53 using INADDR_ANY. Instead, I had to write code to enumerate the interfaces & corresponding IP addresses & bind to eac…

you'd probably like voidlinux

For people who use Arch, Artix is a fork that offers a choice of init systems. You still get the AUR and rolling release, but you can use runit (void's init system) instead of systemd.

Worth a shot! https://distrowatch.com/table.php?distribution=artix

Post reply on HN