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

Linux

48365 readers
381 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] 4 points 1 year ago* (last edited 1 year ago)

From man systemd:

DESCRIPTION
       systemd is a system and service manager for Linux operating systems. When run as first process on boot
       (as PID 1), it acts as init system that brings up and maintains userspace services. Separate instances
       are started for logged-in users to start their services.

       systemd is usually not invoked directly by the user, but is installed as the /sbin/init symlink and
       started during early boot. The user manager instances are started automatically through the
       [email protected](5) service.

       For compatibility with SysV, if the binary is called as init and is not the first process on the
       machine (PID is not 1), it will execute telinit and pass all command line arguments unmodified. That
       means init and telinit are mostly equivalent when invoked from normal login sessions. See telinit(8)
       for more information.

       When run as a system instance, systemd interprets the configuration file system.conf and the files in
       system.conf.d directories; when run as a user instance, systemd interprets the configuration file
       user.conf and the files in user.conf.d directories. See systemd-system.conf(5) for more information.