this post was submitted on 04 Oct 2023
728 points (95.4% liked)

linuxmemes

21355 readers
1644 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, 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 1 year ago
    MODERATORS
     
    top 50 comments
    sorted by: hot top controversial new old
    [–] VinesNFluff@pawb.social 158 points 1 year ago* (last edited 1 year ago) (2 children)

    Having sniffed around the Linux community for years, I feel like whatever flaws SystemD has as a computer program are of tertiary importance when faced with the thing that really matters:

    • The developer of SystemD was mildly rude to some community members that one time. That means he is two hitlers and a stalin wearing a trenchcoat and everything he makes must be utter garbage.
    [–] loutr@jlai.lu 82 points 1 year ago (2 children)

    Yeah they seem to think he "took over" the Linux init process all by himself. Like distro maintainers aren't the ones who made the decision to move to systemd based on technical merits (presumably).

    [–] cyanarchy@sh.itjust.works 25 points 1 year ago

    I think people like that view Linux as some kind of fiefdom rather than a community of individuals.

    load more comments (1 replies)
    load more comments (1 replies)
    [–] zephr_c@lemm.ee 122 points 1 year ago (6 children)

    It's a giant mess of interconnected programs that could theoretically still be disentangled, but in practice never are. It was very quickly and exclusively adopted by pretty much every major distro in a short period of time, functionally killing off any alternatives despite a lot of people objecting. Also, its creator was already pretty divisive even before systemd, and the way systemd was adopted kinda turned that into a creepy hate cult targeted at him.

    There's nothing actually wrong with systemd. I personally wish there was still more support for the alternatives though. Systemd does way more than I need it to, and I just enjoy having a computer that only does what I want.

    [–] MeanEYE@lemmy.world 58 points 1 year ago (1 children)

    Am not sure about "giant mess" but indeed it has a lot of moving parts. All that said, systemd is solving tangible problems which is why you will almost never see maintainers complain about it. It's mostly Linux users which by definition oppose any change, Firefox 4 → Firefox 5, Gnome2 → Gnome3, SysV → systemd

    [–] zephr_c@lemm.ee 32 points 1 year ago

    "Giant mess" was maybe an uncharitable phrase to use, but it really is a lot of programs that are always used together because trying to mix and match it with other stuff or even just take pieces out is a massive pain in the rear. Again, I don't actually object to systemd. I use it myself because it's so much better supported. It is not always ideal for everything though, and I'm a little sad about the lack of support for other options.

    The idea that Linux users by definition oppose any change is just silly though. We almost all got here by making a big change in how we use computers. Almost any change will be opposed by at least some members of any group. That's just how people are. That's not a special thing about Linux users. Sometimes a change that is overall for the better causes some things to be lost, and saying the people who are unhappy with that "by definition oppose any change" is kinda creepy, if I'm being honest. In particular all of those examples you gave are times people were forced into a change that was not all for the better, especially in the short term, with little notice, and no opportunity to voice their concerns in a more constructive manner. Of course some people complained. It would be weird if they didn't.

    load more comments (5 replies)
    [–] gayhitler420@lemm.ee 79 points 1 year ago* (last edited 1 year ago) (25 children)

    If you really want the short version:

    Systemd was half baked literally when it came out and figuratively as an idea, so much so that there’s already a replacement for it in the works.

    A longer version:

    Systemd replaced the init script style of boot and process management, which had been in place for decades. init scripts were so simple they could be understood just by looking at the name: the computer is Initialized by Scripts. Systemd was much more complex and allowed many more tools to interact with the different parts of the computer, but people had to learn these tools. Previously all a person had to understand to deal with the computer was how to edit a text file and what various commands and programs did. After systemd a person has to understand how to use the dozens of invocations of systemctl and it’s variants and if they are dealing with a problem, —you know, the only reason a person would ever be dealing with initializing services— they gotta know what’s going on with the text files that systemd uses to run different commands and programs.

    So a person who already understood what was going on might rightly say “hey, this systemd thing is just the same shit with different file locations and more to learn”.

    People complain about the creator and maintainer of systemd, lennart poettering . Poettering is also the person behind pulseaudio, an powerful but complex audio management daemon in Linux whose name you only recognize because it’s caused you no end of trouble. Pulseaudio was also replaced relatively quickly by pipewire.

    The argument could be made (and probably has) that poetterings work is indicative of the problems with foss developers working as employees of major companies with their job responsibilities inclusive of their foss projects. The developer in that situation has an incentive to make big sweeping changes, they’re being paid for it after all, instead of being more careful and measured.

    When every big foss maintainer is trying to find a way to justify being paid for it, their projects are never done.

    At least poettering is working for Microsoft, ruining windows now…

    E: oh my god I forgot about the binary log files! So before (and now), the universal format for log files was plain text. You know, because it’s a log that’s text. Systemd uses binary log files that need a special tool to open and parse. So if you want to look through them on a computer without that tool you’re kinda screwed. Now systemd isn’t the only software package with binary log files, but many people have made the very persuasive argument that it’s not a trait to copy.

    E2: actually spelled the man’s name right. Thanks @floofloof@lemmy.ca !

    [–] Chobbes@lemmy.world 30 points 1 year ago (1 children)

    Pulseaudio was also replaced relatively quickly by pipewire.

    I really wouldn't say that... PulseAudio has been around since like 2004, and PipeWire's initial release was in 2017 (13 years later). I don't think PulseAudio was incorporated into most distros by default until like 2007 or so, but that's still 10 years before PipeWire was even released. PipeWire is only recently becoming the default in popular distros. We've had to deal with Pulse for a long time.

    load more comments (1 replies)
    [–] timbuck2themoon@sh.itjust.works 25 points 1 year ago (2 children)

    Init scripts were simple? Man you haven't seen a bunch of shitty init scripts then.

    load more comments (2 replies)
    [–] K0W4LSK1@lemmy.ml 15 points 1 year ago (2 children)

    gayHitler420 taught me something today. thank you for this informative comment

    load more comments (2 replies)
    load more comments (22 replies)
    [–] tho@lemmy.ml 78 points 1 year ago (1 children)

    i will never grow tired repeating this: systemd is the best thing that happened to linux in the 10s

    [–] thelastknowngod@lemm.ee 37 points 1 year ago (2 children)

    Yeah I agree. It was rolled out pretty early in its development maturity so it undoubtedly left a bad taste in some people's mouths. Overall it's a net positive though. I don't want to go back to the old way.

    load more comments (2 replies)
    [–] CakeLancelot@lemmy.world 76 points 1 year ago (15 children)

    Does too much for one tool (against unix philosophy) and has poor interop with other tools (binary logfiles).

    [–] ichbinjasokreativ@lemmy.world 66 points 1 year ago

    That's not really true. systemd is split up into many different, independent binaries, and each of those does one job and does it well.

    [–] GCostanzaStepOnMe@feddit.de 40 points 1 year ago (1 children)

    Linux User when their program does more than IO text streams:

    load more comments (1 replies)
    [–] ichbinjasokreativ@lemmy.world 21 points 1 year ago (2 children)

    That's not really true. systemd is split up into many different, independent binaries, and each of those does one job and does it well.

    [–] CakeLancelot@lemmy.world 56 points 1 year ago

    Does it really matter if you can't use those independent binaries with any other init system? If you want to use systemd, you pretty much have to take the whole ecosystem.

    [–] remotelove@lemmy.ca 18 points 1 year ago (1 children)

    If I remember correctly, there was a ton of pain configuring a minimal systemd. I am unaware if that has changed much in recent years.

    Here is an old thread talking about it: https://unix.stackexchange.com/questions/150975/what-is-needed-for-a-minimal-systemd-boot-to-launch-getty-on-a-virtual-console

    load more comments (1 replies)
    load more comments (12 replies)
    [–] seaQueue@lemmy.world 65 points 1 year ago (7 children)

    I find it incredibly useful - instead of needing to learn a million quirks about the init of every distro they all use the same predictable system now, you learn it's quirks once and those skills transfer everywhere. Hopping from Ubuntu to Debian to Arch to Fedora is trivial now compared to the old days.

    That and systemd-boot and systemd-nspawn are awesome.

    [–] redcalcium@lemmy.institute 15 points 1 year ago (1 children)

    Hopping from Ubuntu to Debian to Arch to Fedora is trivial now compared to the old days.

    Another take of this is we're losing diversity which might have some consequences in the future.

    load more comments (1 replies)
    load more comments (6 replies)
    [–] Perroboc@lemmy.world 55 points 1 year ago (6 children)

    I LOVE systemd, flatpaks, appimages, wayland, and pipewire. The desktop environment feel way more managed!

    Sure, wayland is not complete yet (HDR), flatpak is missing some things (some portals), but the whole ecosystem is way more mature than before.

    This is from someone who used init.d scripts, apt-get and dpkg, x.org, and alsa/pulseaudio/gstreamer.

    [–] darcy@sh.itjust.works 19 points 1 year ago (3 children)

    first sentence i thought you were being ironic

    load more comments (3 replies)
    load more comments (5 replies)
    [–] AVincentInSpace@pawb.social 49 points 1 year ago* (last edited 1 year ago) (8 children)

    ya see, when i ssh into a server and i run some commands, sometimes i mess up, see, and i wanna reboot to get the system back to a known state, right

    and even if the system is in an unknown or invalid state, right,

    i don't wanna wait half a bloody hour for systemd to get tired of waiting for 1m30s countdowns and actually bounce the damn machine, if it bounces at all

    and i can't just hold the power button, see, because i'm 2000 miles away from the bloody box

    (I did not make that number up, by the way. I once has a hard drive get hot removed while it was mounted, couldn't umount it so I had to reboot, and it confused systemd so bad it took 27 minutes to shut down)

    EDIT: aw come on, are you really gonna downvote without leaving a reply?

    [–] seaQueue@lemmy.world 24 points 1 year ago* (last edited 1 year ago) (2 children)

    Check out systemd's userspace reboot feature, they implemented it to avoid long reboot times on server hardware.

    https://www.phoronix.com/news/systemd-254-Released

    load more comments (2 replies)
    [–] Sysosmaster@infosec.pub 24 points 1 year ago

    how is this any diffrent from SysV scripts hanging and preventing a reboot that way....

    you are blaming SystemD for an issue not part of SystemD, but a generic computing issue...

    and yes, you can still just hard reboot your system with SystemD as @elscallr@lemmy.world has point out....

    load more comments (6 replies)
    [–] remotelove@lemmy.ca 49 points 1 year ago* (last edited 1 year ago) (3 children)

    Binary logs are annoying, but once you get the hang of journalctl, it's not so bad. That is about my only remaining hate for it.

    In its early days, it was a serious pain. Its service management was annoying and is still a bit scattered to this day. It has improved a ton, for sure.

    Then there was PID 1. Here is a legacy discussion about it as I refuse to talk any more about it these days: https://news.ycombinator.com/item?id=10485131

    Above all else, it was kinda forced on us. Most of us were comfortable with sysv already. If I remember correctly, people often said the main dev for systemd could be a real jackass. I have no judgement or experience regarding that though.

    [–] IsoKiero@sopuli.xyz 16 points 1 year ago

    Above all else, it was kinda forced on us. Most of us were comfortable with sysv already.

    And at least for me it solved a problem which didn't exist. Sure, there's some advantages, but when it rolled out it was a huge pain in the rear and caused various problems and made things more complicated for no apparent reason.

    load more comments (2 replies)
    [–] z3rOR0ne@lemmy.ml 46 points 1 year ago* (last edited 1 year ago)

    I use runit on Artix. I wasn't around for the init wars, but dove into the rabbit hole of Debian email exchanges, where lots of shade was thrown around because of suspicions over corporate influence on Linux, and Canonical dropping the ball because of their Licensing on their competitor init, Upstart.

    I reviewed videos of Poettering going on about it, adamently placing systemd as the hill he was willing to die on.

    I read the Torvaulds email complaining about Kay Sievers being an asshole. Looked at how Kay Sievers famously refused to fix early boot problems with systemd. Read Laurent Bercot's technical break down of why even from a software design level, systemd should be called into question.

    Its all interesting, and on my home desktop, I decided to only use Artix, Void, Gentoo, or Devuan over any of the others for as long as I can.

    At work, I don't care. Do I wish that runit or s6 was more predominant and widely used? Absolutely. Imho both init systems are just more minimal and their implementations are so solid, they are two of the very few pieces of software I can say are finished. No notes, no new features, and because of the minimal attack surface, barely any security patches have been necessary.

    Due to their following of the UNIX Philosophy, both runit and s6's source code can be reviewed in an afternoon, as opposed to systemd which has taken me considerably more time to parse through (though I'll admit systemd has some decent comments in their code that helps out).

    But at work, while I have my preferences and opinions, the systemd debate isn't even close to the top of my list on arguments I'd like to have at the work place.

    On Lemmy otoh, lol. 😁

    [–] IverCoder@lemm.ee 44 points 1 year ago

    Are you using Linux for ordinary daily tasks like browsing, gaming, and coding? Then SystemD is perfect for such systems. No need to use distros that sell the lack of SystemD as their main selling point—it's more trouble than it's worth. Avoid SystemD haters like the plague.

    Do you use Linux for enterprise servers? Then SystemD is just one of the options for you, go try all of them out to see what's best for such workflow.

    [–] Deckweiss@lemmy.world 40 points 1 year ago (16 children)

    A stop job is running ... 3/180 s

    [–] RickyRigatoni@lemmy.ml 18 points 1 year ago

    Then when it gets to 180 it just adds 180 more seconds.

    load more comments (15 replies)
    [–] TootSweet@lemmy.world 36 points 1 year ago

    Everything everybody else said plus everything with Systemd is just... more complex. With OpenRC, it felt like I could keep all the information I needed to use and administrate it in my head. With Systemd, I have to look stuff up all the time.

    [–] hottari@lemmy.ml 35 points 1 year ago

    I don't get the hate as well. It's great for running services and system administration.

    [–] MonkderZweite@feddit.ch 33 points 1 year ago* (last edited 1 year ago)

    It does things in a way that it's hard to use other init without banning Systemd completely from your repo. And because it has feature and scope creep and causes dependencies to it everywhere, that does not happen once you're on it, too much work. Which most distros are, because at it's time it was either Systemd or SysV scripts.

    [–] Zeth0s@lemmy.world 29 points 1 year ago (3 children)

    I simply don't care. I am in a position lucky enough that I can trust distro maintainers, without the need to care about the details, as long as my system behaves as I expect, satisfying my requirements of reliability and stability

    load more comments (3 replies)
    [–] chemicalwonka@discuss.tchncs.de 23 points 1 year ago* (last edited 1 year ago) (5 children)

    Roughly speaking, it is because it does not follow the Unix philosophy and proposes to do several tasks making the code very complex and therefore more susceptible to bugs.

    [–] epat@lemmy.world 17 points 1 year ago (4 children)

    But systemd is not a single tool, nor a single binary, it's a collection of tools.

    load more comments (4 replies)
    load more comments (4 replies)
    [–] NoXzema@lemmynsfw.com 21 points 1 year ago (7 children)

    I'd argue systemd has bad, borderline incorrect design. I didn't like SysV because it caused inconsistencies and hard to understand processes. systemd fixed the inconsistencies but the rest is sort of hacked together bullshit that developers play wackamole with. That hackery is the reason it can't be used in Docker for example. It has a complicated parser for a language that's basically a DSL that doesn't really solve the problem of complexity for the user. It requires a whole slew of random non-sense to work and it feels like stars have to align perfectly for things to function. It encourages bad behavior like making everything socket activated for literally no reason.

    Compared to SysV, I'll take systemd. I don't find it ideal at all though. It's serviceable... much like how Windows services are serviceable. S6 is I think what the ideal init would look like. I'm more impressed with it's execline and utilities suite but that's another story.

    The only thing I think systemd did right is handling cgroups.

    load more comments (7 replies)
    [–] Holzkohlen@feddit.de 19 points 1 year ago

    I underatand, but I just don't care. Give me a functioning linux desktop and I will also run your garbage proprietary nvidia software. The alternative is windows, so I have to take what I can get.

    load more comments
    view more: next ›