this post was submitted on 25 Sep 2024
66 points (100.0% liked)

Linux

1259 readers
85 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I am not the author.

(page 2) 45 comments
sorted by: hot top controversial new old
[–] wuphysics87@lemmy.ml 2 points 1 month ago

Uh oh here we go again... spaces are better than tabs! Fight me! The shirt is coming off! Granular white space beats fewer character per file!

[–] jlh@lemmy.jlh.name 2 points 1 month ago* (last edited 1 month ago) (1 children)

Systemd is mandatory on desktop linux, as it's required for gnome, kde, encrypted home directories, sandboxing, etc. If someone has made an init system with cgroups that genuinely improves on systemd let me know, because I haven't heard of one.

On servers, init systems are already obsolete, as the majority of servers now use Kubernetes for service orchestration instead of systemd.

If someone is complaining about the other daemons in the systemd project like resolved, timesyncd, etc, they are not monolithic, and nobody is forcing you to use them.

[–] Cube6392 2 points 1 month ago (1 children)

wow a lot to unpack here…

  1. things being tightly coupled to a single init is not good, it's an absolute tragedy. projects that tightly couple to a single init are abandoning non-linux Unix operating systems
  2. and who do you think runs and monitors kubernetes? oh that's right: systemd or another alternative. low level task schedulers cannot be rendered obsolete, not unless you're handing off responsibility entirely to another entity, but if you should do this, you still need to be aware that you are paying that entity to manage the task scheduler for you. it didn't become irrelevant. you just shifted the shared responsibility model
[–] jlh@lemmy.jlh.name 1 points 1 month ago* (last edited 1 month ago)

I'm not sure why GNOME, the EU, etc should spend money on supporting Desktop BSD when that money could be better used building features to dethrone Windows.

Again, if another init had features that were better than systemd, then they're welcome to step up. Sometimes software just becomes natural monopolies, not too many people complain that linux distros don't support WolfSSH, or musl C. Nobody complained that sysvinit was a monopoly in 2010.

Of course, even kubernetes servers still run init, but their importance has greatly diminished, including the arguments about what features are needed and the best way to write service definitions. Most of the tasks are now handled by newer cloud-native service orchestrators.

My kubernetes nodes have 17 processes that are not managed by Kubernetes. 5 of them are systemd or systemd-project daemons (journald, oomd, udevd, and logind). 3 are dbus related daemons, 2 are prometheus metrics exporters, and then sshd, agetty, nsncd, chronyd, polkitd, and fwupd. Finally, there's k3s, which starts and runs all my containerd processes for Kubernetes. On these systems, Kubernetes is managing 500 or more processes that systemd has nothing to do with.

I don't actually interact with systemd at all on my servers, aside from scraping journald for system logs, seeing if services are down, and occasionally restarting services in a broken state. All the service definitions were included by NixOS.

I use systemd because I like all the features that NixOS and Gnome have, I couldn't care less if they replaced it with whatever, as long as it stays out of my way.

[–] CrypticCoffee@lemm.ee 2 points 1 month ago* (last edited 1 month ago) (1 children)
[–] flying_sheep@lemmy.ml 2 points 1 month ago (1 children)

systemd, not SystemD, or system d.

But yeah, wonderful talk!

[–] CrypticCoffee@lemm.ee 1 points 1 month ago

Point taken. Saves me some clicking!

load more comments
view more: ‹ prev next ›