328
submitted 1 year ago by TCB13@lemmy.world to c/linux@lemmy.ml

After a few conversations with people on Lemmy and other places it became clear to me that most aren't aware of what it can do and how much more robust it is compared to the usual "jankiness" we're used to.

In this article I highlight less known features and give out a few practice examples on how to leverage Systemd to remove tons of redundant packages and processes.

And yes, Systemd does containers. :)

(page 2) 47 comments
sorted by: hot top controversial new old
[-] merthyr1831@lemmy.world 4 points 1 year ago

Having choice is the best part of Linux, but Systemd is something so ubiquitous to Linux that it might as well be called Systemd/Linux instead of GNU/Linux.

When you think of it like that, it feels much less like a bloated behemoth that needs to be de-monopolised and more like an integral piece of the puzzle that is turning the Linux kernel into an functional operating system.

[-] TCB13@lemmy.world 3 points 1 year ago

systemd-kerneld 😜

[-] Laser@feddit.de 1 points 1 year ago

systems always implies Linux, but Linux doesn't necessarily imply systemd.

I always try to cover most of my stack with systemd components because they actually tend to be quite sane with a very transparent configuration. It's no surprise a lot of distributions picked it up. As you said, it does exactly that, make an OS based on Linux easily available. Sure you can do the same with a variety of other tools, but just letting systemd do the heavy lifting for you sure is tempting.

That doesn't mean it's the only choice. I'd love to try Chimera Linux one day which doesn't include systemd (in fact it doesn't include a lot of stuff most other distributions do) but it ticks a lot of boxes for many.

[-] gkpy@feddit.de 3 points 1 year ago

systemd is great, but being disingenious isn't helping anyone:

chrony -> sd-timesyncd [...] one less daemon

just because it ships with systemd doesn't mean it magically runs without it's own process

[-] TCB13@lemmy.world 4 points 1 year ago

chrony -> sd-timesyncd […] one less daemon

Thanks for pointing that out, it was out of place. :)

[-] bitwolf@lemmy.one 2 points 1 year ago

Pretty sure that's how the Steam Deck runs also. At least every custom OS I've seen for it is just a ContainerFile and systemd-boot

[-] nomadjoanne@lemmy.world 1 points 1 year ago

Very cool. I had no idea systemd sort of has a cron replacement. While in I don't think I'll switch from cron in the immediate future, it's really good to know.

load more comments (4 replies)
[-] Xandris@kbin.social 1 points 1 year ago

ah soft reboot ive been waiting for something like that

[-] Drito@sh.itjust.works 1 points 1 year ago* (last edited 1 year ago)

And yes, Systemd does containers. :)

Are systemd duplicates such as containers and systemd-boot are better than the existing ?

load more comments (1 replies)
[-] ryannathans@lemmy.world -2 points 1 year ago

All of this shit packed in is why it sucks. Do one thing and do it well. Try setting up a script to run on boot that doesn't stop executing until you want to turn your pc off and watch all traces of sanity drain from your being. Now try it on freebsd. Much much easier

load more comments (2 replies)
[-] Rune@lemmy.ml -2 points 1 year ago

Systemd together with NetworkManager are two pieces of software I really dislike. They go against the very Unix philosophy. I like being able to piece all the bricks together on my own, not having monolithic pieces of software that try to do everything.

[-] isVeryLoud@lemmy.ca 1 points 1 year ago

Eh, they work for me. To each their own.

load more comments (2 replies)
load more comments
view more: ‹ prev next ›
this post was submitted on 10 Aug 2023
328 points (96.6% liked)

Linux

48335 readers
405 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