this post was submitted on 15 Aug 2023
172 points (98.9% liked)

Linux

45530 readers
1026 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 a Linux user, but I don't really know how most things work, even after years of casual use on my Main, I just started getting into Devuan and wondered then, what exacly does systemd do that most distros have it? What even is init freedom? And why should I care?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 168 points 10 months ago (11 children)

Systemd is the first program that runs once the kernel has started. It's job is mostly just starting up other processes, and managing those other processes. If you don't know what systemd is, then you probably shouldn't care about if you're using it or not, it's good software but there are fine alternatives.

What makes systemd particularly interesting is that it is different from historical init systems. Historically these init systems were an unholy mess of shell scripts. This offers maximum flexibility, but limits the functionality of the init system itself. Systemd replaces these shell scripts with simple ini-like service files that allow everything to be declared simply and declaratively, and allows specifying more rich metadata, like dependencies. But it's different, and some people place a higher value on "how it's always been" than pragmatism. I personally have zero sympathy for them because throwing out objective progress to hold onto a broken system designed for 1960s computing is just dumb.

[–] [email protected] 8 points 10 months ago (2 children)

I thought people hate systemd because it’s a resource hog compared to OpenRC. TIL i guess

[–] [email protected] 4 points 10 months ago* (last edited 10 months ago) (1 children)

The difference is absolutely negligible.

[–] [email protected] 5 points 10 months ago

I never used openRC (outside of Docker containers that run Alpine) so I wouldn’t know. Linux community has enough controversies, init utils shouldn’t be one of them

load more comments (8 replies)