this post was submitted on 04 Jan 2025
259 points (82.8% liked)

linuxmemes

21734 readers
1150 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  •  

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.

    founded 2 years ago
    MODERATORS
    259
    Orwelluan (lemmy.world)
    submitted 1 day ago* (last edited 1 day ago) by kshade to c/linuxmemes
     

    In reference to: https://lemmy.world/post/23862757

    I use Void btw

    Image text:

    Most people rejected his message.

    "Systemd is Satan's creation! Pure Evil!"

    They hated Talking Pig because He told them the truth.

    top 50 comments
    sorted by: hot top controversial new old
    [–] [email protected] 2 points 9 hours ago

    system d struggle sessions should be integrated into SystemD

    [–] amon 12 points 1 day ago

    Install what you want we're in the land of the free (and open source software) here

    [–] [email protected] 108 points 1 day ago

    Upvoted because it belongs in this community, and should not be silenced, even though it is the wrong opinion

    [–] [email protected] 62 points 1 day ago (4 children)

    I don't really get the hate for systemd. At least for someone who started really using Linux after it was introduced, it always seemed easier to control and manage than the init.d stuff.

    Obviously it's a hassle to migrate if you have a ton of legacy services, but it's pretty nice.

    [–] pelya 16 points 1 day ago (3 children)

    It's because you now need to do systemctl restart sshd instead of /etc/init.d/sshd restart, I see no other reason than having to learn new syntax.

    Arguably, init.d scripts were easier to understand, and systemd is a bit of a black box, it somehow works, but who knows where it writes logs or saves the process pid (it's all in the documentation somewhere), with init.d script you can just open the script itself and look.

    [–] AA5B 1 points 9 hours ago

    Don’t minimize those strengths. Init.d scripts are something you can figure out just knowing a bit of shell script, or historical knowledge from before there was an internet. For something I rarely use, why do I need to learn something more complex to do the same thing - I either haven’t been sold on all the new functionality they piled in or do not need it. After all these years crowing about the Unix/linux way being many independent flexible tools that can work together, why do we now have this all-in-one monstrosity that might as well have come directly from Microsoft?

    [–] [email protected] 21 points 1 day ago (1 children)

    I prefer the ini files systemd uses to bash scripts

    [–] [email protected] 6 points 1 day ago (1 children)

    Systemd syntax is not that hard if you read the manual. I think every hardcode Linux user hates systemd because it automatically does the thinkering for you and you can control your processes with simple commands

    [–] [email protected] 4 points 1 day ago (1 children)

    Yeah, the manpages for systemd are large but also informative. Most of us only use a small subset of the features—much like we never explored everything possible with separate init programs.

    Having used Linux on the desktop for some two decades and worked as a Linux sysadmin for a good while I don't miss the init scripts. My impression is more that a certain cohort wants to pretend that service management is easy by ignoring large amounts of it. It's easy to write a bad init script that breaks when you really need it, or be out of your depth with more complex cases.

    Not to mention the whole conformity by convention thing. Systemd unit files are descriptive and predictable by their nature. So-called init scripts didn't really have to be scripts, they just usually were, and their arguments and output and behaviour was also unenforced—there's nothing really stopping you from writing a compiled program that self-daemonizes and place the binary with the init scripts rather than in /bin. Ultimately people who make programs also have to be good at writing init programs with that setup.

    So we'd have people doing dumb shit themselves and getting angry at others doing dumb shit. PHP was also pretty popular and full of dumb shit. Lots of "worse is better" to go around.

    Ultimately it's more of the stuff covered in Bryan Cantrill's Platform as a reflection of values. Some of us value predictability and correctness, others feel it's a straitjacket. There's no way of pleasing everyone with the same platform.

    And currently the people who want to distribute their own riced-out init programs in bash, perl, php, node.js and so on are SOL. (They can still use them on their own machines.)

    [–] [email protected] 5 points 1 day ago

    The more I actually learn about systemd, the cooler it is.

    For example, you can automatically mount SMB shares using systemd, with automatic remount on failures. It's far superior to using fstab once you know how.

    https://anteru.net/blog/2019/automatic-mounts-using-systemd/

    [–] [email protected] 26 points 1 day ago (1 children)

    I think it's okay to not 100% know every little detail of how a system works, as long as it's possible to find out what you need when you need it.

    load more comments (1 replies)
    load more comments (3 replies)
    [–] [email protected] 18 points 1 day ago (3 children)

    In practice, what makes it so bad?

    [–] [email protected] 23 points 1 day ago (1 children)

    It's new and different, and the Linux boomers who are still stuck on ALSA and ext2 hate it.

    [–] answersplease77 1 points 19 hours ago (1 children)

    what is it? systemD is new?

    [–] [email protected] 4 points 19 hours ago

    When you entered the scene before epoch 0 I guess it is.

    [–] [email protected] 13 points 1 day ago* (last edited 1 day ago) (1 children)

    Everything else aside, my biggest gripes are with service control. Instead of just "service" they had to invent a new name that was super close to an existing function (systemctl vs sysctl) and reverse the switch order. (service sshd stop vs systemctl stop sshd.service)

    Besides that, I absolutely hate that all the service configs are not in a standard location. Well, you get things like sshd.conf which are still in etc, but the systemctl configs are who knows where.

    There are more important things to hate on with systemd, but I went for the superficial this time and I absolutely hate service management with systemd now.

    [–] sucoiri 6 points 1 day ago

    wrt conf file location, they're only generally in /usr/lib/systemd, /etc/systemd, or /run/systemd. You can always find out what's getting read with systemctl cat <service-name>. Way easier to find stuff than with some other random programs imo, I've seen crap have default conf files in dumb places like /usr/share/<service-name>/lib/etc.

    [–] dx1 3 points 1 day ago

    Bad usability, binary logs, crummy architecture.

    [–] MITM0 6 points 1 day ago (3 children)

    I still can't wrap my head around why SystemD has become the defacto standard & why aren't devs trying out OTHER init-systems

    [–] rtxn 9 points 1 day ago* (last edited 1 day ago)
    1. It was doing new things.
    2. It was easier to learn.
    3. The other init systems were (are) stagnant.

    Imagine trying to get new, young developers to adopt C or Pascal when the likes of Rust and Python exist. You can make arguments for a thing's superiority based on moral standards (which are always subjective), but morality is a poor metric. If everything was done based on that, the Linux ecosystem would be in the same state as the GNU Hurd kernel.

    [–] lurklurk 9 points 1 day ago (2 children)

    It's pretty good at starting services. It just keeps adding bundled things people wouldn't use otherwise, in a fairly microsoft fashion

    load more comments (2 replies)
    [–] [email protected] 3 points 1 day ago

    The choice of init system is up to the distro maintainers because init scripts are usually created and maintained by the packager of a given application. Debian for example chose its init system via a democratic vote. Distros that focus on different init systems exist, like the Debian fork Devuan.

    [–] [email protected] 17 points 1 day ago

    There is nothing wrong about it, also it's easy to use which is a plus to me

    [–] [email protected] 35 points 1 day ago* (last edited 1 day ago) (1 children)

    You don't have to use systemd. However, the rest of the world left you behind. Systemd isn't controversial since everyone has adopted it. No one is making you use it but keep in mind you are a very small minority. The rest if the community moved on after systemd was release 10 years ago.

    This is fine for the memes but outside of that it is silly.

    [–] kshade 37 points 1 day ago (14 children)

    Windows isn’t controversial since everyone has adopted it. No one is making you use it but keep in mind you are a very small minority.

    [–] [email protected] 3 points 1 day ago

    Windows has about 80% market share (decreasing) in a very specific and shrinking niche (desktop PC's).
    All other computing devices used by most people daily on the client and server side are dominated by some form of Linux or BSD.

    load more comments (13 replies)
    [–] [email protected] 7 points 1 day ago (1 children)

    Now we just need to find a way to integrate systemd into wayland and watch people lose their mind.

    [–] dx1 3 points 1 day ago

    It sort of is, the whole elogind thing.

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

    Hueheue i use artix btw

    [–] mlg 13 points 1 day ago

    Poettering worked for Red Hat from 2008 to 2022.[2][3] He then joined Microsoft.

    In 2017, Poettering received the Pwnie Award for Lamest Vendor Response to vulnerabilities reported in systemd.

    This Mastodon stream from Lennart Poettering describes a sudo replacement — called run0 — that will be part of the upcoming systemd 256 release. It takes a rather different approach to the execution of privileged commands, avoiding the use of setuid (which he calls "SUID") permissions entirely.

    Basically Microsoft bloat confirmed, everyone switch back to OpenRC lol

    [–] [email protected] 26 points 1 day ago* (last edited 1 day ago) (1 children)

    Hard disagree, I have been using Linux for over two decades and find sysd superior to sysv

    [–] kshade 9 points 1 day ago* (last edited 1 day ago) (1 children)

    I'm about 2 decades in too, really not here to argue since everything has already been said multiple times. I do see systemd in a somewhat similar light as Pulseaudio. Yes, some good ideas there and it's a useful tool, but it wasn't the be-all end-all solution.

    [–] [email protected] 6 points 1 day ago (1 children)
    load more comments (1 replies)
    [–] [email protected] 18 points 1 day ago

    Maybe, but SysV Init was just fucking awful. It's a shame.

    [–] [email protected] 8 points 1 day ago (1 children)

    It's not evil. It's merely

    • the wrong tool
    • built wrong
    • on wrong principles
    • by a bad team
    • who has poor coding and interaction

    and now RedHat's wunderkinder has moved onto Microsoft where he's a better fit. Ideally, we can go back to Linux again.

    Simple.

    As someone who ran security for an enterprise OS company, I can't see why there's any debate on this. Are we used to choosing comfy things despite the safety concerns, now, or just when Lennart shits them out?

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

    Are we used to choosing comfy things despite [...] concerns

    People have been choosing convenience above everything else for a while, personally I find that doing so is even glorified at times.

    [–] Cris_Color 8 points 1 day ago* (last edited 1 day ago)

    I've never really had issues with systemd, but I must say when I was setting up void I did really enjoy the runit init system 🤷‍♂️

    [–] TootSweet 8 points 1 day ago (1 children)

    Yeah, I'm planning to switch from Arch to Gentoo. Systemd isn't the only reason, but it's a big one.

    (Yes, I know about Artix, but it's... kindof a Frankenstein's monster, still mostly depending on the Arch repos and still with certain relics of Systemd. Or at least it was when I last tried it.)

    [–] kshade 7 points 1 day ago (1 children)

    If you like Arch you might like Void, it has roughly similar ideals and a very fast package manager. No AUR equivalent though.

    load more comments (1 replies)
    [–] [email protected] 2 points 1 day ago (1 children)

    been out of lemmy for a while, what happened to the comic strip where openrc and runit battled systemd?

    load more comments (1 replies)
    load more comments
    view more: next ›