this post was submitted on 29 Jun 2023
123 points (95.6% liked)

Linux

48333 readers
1213 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
 

SystemD is blamed for long boot times and being heavy and bloated on resources. I tried OpenRC and Runit on real hardware (Ryzen 5000-series laptop) for week each and saw only 1 second faster boot time.

I'm old enough to remember plymouth.service (graphical image) being the most slowest service on boot in Ubuntu 16.04 and 18.04. But I don't see that as an issue anymore. I don't have a graphical systemD boot on my Arch but I installed Fedora Sericea and it actually boots faster than my Arch despite the plymouth (or whatever they call it nowadays).

My 2 questions:

  1. Is the current SystemD rant derived from years ago (while they've improved a lot)?
  2. Should Linux community rant about bigger problems such as Wayland related things not ready for current needs of normies?
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 12 points 1 year ago (1 children)

Just try to implement user session management on a non systemd distro...

Systemd is way better than others init system. I'm using Alpine Linux on my phone and I really wait for a Fedora/Arch like PMOS project (it's on the way)

[–] [email protected] 8 points 1 year ago* (last edited 1 year ago) (1 children)

[pi@raspberry]# sudo su

Just saying, not everyone needs session management...

[–] [email protected] 9 points 1 year ago (3 children)

sudo su

Why spawn additional process when you can get into shell directly with sudo -s?

[–] [email protected] 4 points 1 year ago

Well, sudo itself is a purely optional component—you can run a system quite happily with just su .

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

Because I already had my fingers closer to "su" than to "-s"... but more seriously, because I tend to use sudo -E su on a remote terminal with a PS1 set to colorize the prompt based on whether I'm running root and the host if it's remote, but sudo -E -s doesn't run the root's .bashrc that runs the updated colorization while at the same time exports too much of the user's environment into the root shell.

[–] [email protected] 2 points 1 year ago

What do you do with all the process you save with that trick ?