172
submitted 1 year ago by mateowoetam@lemmy.zip to c/linux@lemmy.ml

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
[-] m_randall@sh.itjust.works 28 points 1 year ago

This is a good post.

As for why people don't like systemd, it follows the kitchen-sink approach to software and does a lot of things at once.

For people new to Linux I just want to point out - for better or for worse this goes against the Unix philosophy.

Write programs that do one thing and do it well. Write programs to work together. Write programs to handle text streams, because that is a universal interface.

[-] NRoach44@lemmy.ml 17 points 1 year ago* (last edited 1 year ago)

One thing that people miss - either out of ignorance, or because it goes against the narrative - is that systemd is modular.

One part handles init and services (and related things like mounts and sockets, because it makes sense to do that), one handles user sessions (logind), one handles logging (journald), one handles networking (networkd) etc etc.

You don't have to use networkd, or their efi bootloader, or their kernel install tool, or the other hostname/name resolution/userdb/tmpfiles etc etc tools.

Could one argue that a monolithic kernel such as the Linux kernel also goes against that principle?

[-] c1177johuk@lemmy.world 5 points 1 year ago

Technically the Linux kernel is just an interface with lots of modules

[-] 347_is_p69@lemmy.blahaj.zone 6 points 1 year ago

So is systemd. It is definitely modular and I think it has multiple interfaces as well. I’m not sure if you have configure systemd modules like GRUB does.

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

Linux

48746 readers
1042 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