this post was submitted on 23 Sep 2024
771 points (95.5% liked)

linuxmemes

21280 readers
1262 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
    771
    submitted 1 month ago* (last edited 1 month ago) by renzev@lemmy.world to c/linuxmemes@lemmy.world
     
    you are viewing a single comment's thread
    view the rest of the comments
    [–] tortina_original@lemmy.world 18 points 1 month ago (3 children)

    "Just avoid places that sysadmins and security guys frequent and get your opinions on systemd from memes and people running arch on home machine". Great plan.

    Systemd is absolute and utter shit, especially from security perspective.

    Noone was asking security guys but package maintainers.

    My favorite systemd thing is booting up a box with 6 NICs where only 1 was configured during the initial setup. Second favorite is betting on whether it will hang on reboot/shutdown.

    Great tool, 10/10.

    [–] qjkxbmwvz@startrek.website 23 points 1 month ago* (last edited 1 month ago) (1 children)

    My favorite was when the behavior of a USB drive in /etc/fstab went from "hmm it's not plugged in at boot, I'll let the user know" to "not plugged in? Abort! Abort! We can't boot!"

    This change over previous init behavior was especially fun on headless machines...

    [–] possiblylinux127@lemmy.zip 0 points 1 month ago (2 children)

    You could just use systemd mounts like a normal person. Fstab is for critical partitions

    [–] renzev@lemmy.world 20 points 1 month ago (1 children)

    Fstab is for critical partitions

    Hush everyone, don't tell this guy about noauto, it'll burst his bubble

    [–] possiblylinux127@lemmy.zip -2 points 1 month ago (1 children)

    I've never seen it used in the wild

    [–] InverseParallax@lemmy.world 8 points 1 month ago (1 children)

    Jesus, I mount everything manually from noauto, except root.

    If nfs isn't available, I don't want my system to hang, typing mount takes 2 seconds.

    [–] possiblylinux127@lemmy.zip 0 points 1 month ago* (last edited 1 month ago) (1 children)

    Wouldn't your NFS not mount in that case? Wouldn't you want it to retry periodically? Also, what happens to your service when NFS isn't available?

    Sounds like systemd mounts are better in this case (unless the device is non critical)

    [–] InverseParallax@lemmy.world 4 points 1 month ago

    I mount it manually when I'm sure everything is up.

    The issue is, I use this workstation to bring up the rest of my network and servers if they're down, can't have a hard dependency on nfs if it's job is to bring up nfs.

    [–] qjkxbmwvz@startrek.website 8 points 1 month ago* (last edited 1 month ago) (1 children)

    This happened to me when Debian switched from SysV to systemd. I am not the only person who experienced this (e.g., https://bbs.archlinux.org/viewtopic.php?id=147478 ).

    This is not to say the systemd behavior is wrong, but it essentially changed the behavior of fstab. Whether this is Debian's fault, Arch's fault (per the above link), systemd's fault, or my fault is a fair question. But this committed that most egregious of sins per our Lord and Savior Torvalds


    it broke my userspace.

    [–] possiblylinux127@lemmy.zip -3 points 1 month ago

    That was a really long time ago. (2015) I don't understand why you are holding a grudge for almost 10 years. Most people have never used a system without systemd.

    [–] renzev@lemmy.world 13 points 1 month ago (3 children)

    I've gotten into quite a lot of systemd-related flame wars so far, and what strikes me is that I haven't heard a single reason why systemd is good and should be used in favor of openrc/sysvinit/whatever. The only arguments I hear in favor of systemd, even from the its diehard defenders, are justifications why it's not that bad. Not once have I heard someone advocate for systemd with reasoning that goes likes "Systemd is superior to legacy init systems because you can do X much easier" or "systemd is more secure because it's resistant against Y attack vector". It's always "Linus says it's allright" or "binary logfiles aren't a problem, you can just get them from journald instead of reading the file", or "everyone already uses it".

    When it comes to online discourse, systemd doesn't have advocates, it has apologists.

    [–] pmc@lemmy.blahaj.zone 24 points 1 month ago* (last edited 1 month ago) (1 children)

    Well, I'll tell you that I prefer systemd because I can comprehend its declarative unit files and dependency-based system a lot better than the shell script DSLs and runlevels that I've had to mess with in other init systems. systemctl status has a quite nice output that can be really handy when debugging units. I like being able to pull up logs for just about any service on my system with a simple journalctl command instead of researching where the log file is.

    [–] renzev@lemmy.world 1 points 1 month ago

    Thank you for the detailed response, very informative. You make a really good point about centralized logging, I can see how that can be very helpful when you run A LOT of different server process on one machine. I get centralized logging as a bonus of running everything in Docker, but I can see how it is nice to have logging as part of the init system if you want to run a lot of services natively.

    [–] InverseParallax@lemmy.world 10 points 1 month ago

    Linus had an epic flame war with the systemd idiots for breaking Linux stupidly: https://igurublog.wordpress.com/2014/04/03/tso-and-linus-and-the-impotent-rage-against-systemd/

    He didn't do anything because he made it clear he owned the kernel and userspace was someone else's problem, but also that the systemd guys were absolute morons who were a danger to themselves and everyone else.

    [–] s_s@lemm.ee 0 points 1 month ago

    I’ve gotten into quite a lot of systemd-related flame wars so far, and what strikes me is that I haven’t heard a single reason why systemd is good and should be used in favor of openrc/sysvinit/whatever.

    "Hi I'm new to Linux, I switched from Windows to Alpine Linux and my laptop's battery life has gone from 6 hours to 30 minutes before needing a charge."

    [–] mogoh@lemmy.ml 3 points 1 month ago (1 children)

    “Just avoid places that sysadmins and security guys frequent and get your opinions on systemd from memes and people running arch on home machine”. Great plan.

    So salty. Also twisting the things I said. I for sure like to visit phoronix, but I avoid the phoronix forum and advice was to avoid the forum.

    Noone was asking security guys but package maintainers.

    citation needed.

    Keep using Devuan if it makes you happy.

    [–] tortina_original@lemmy.world -2 points 1 month ago (3 children)

    Not really interested in debating with average "I run arch btw" user. We are not in the same universe, things I have to audit and maintain are not in the same universe with things you do, so having such a smart advice coming from you is not a surprise at all. I could, after all, just roll out my own distro if I am not happy, amirite?

    I run systemd machines because I don't have a choice. It doesn't make it any less of a shit. Simple as that.

    But hey, tell me some more about systemd, I am really new to all this 🤔

    [–] renzev@lemmy.world 5 points 1 month ago

    Out of curiosity, why exactly do you not have a choice in not running systemd? Is it company policy / are they clients' machines?

    [–] wormer@lemmy.ml 5 points 1 month ago

    Buddy lay off the Rick and Morty and take a shower

    "I'm not in the same universe as you!!!!!!" Get a grip

    [–] mogoh@lemmy.ml 5 points 1 month ago (1 children)

    Not really interested in debating with average “I run arch btw” user. We are not in the same universe, things I have to audit and maintain are not in the same universe with things you do

    Sir, this is the Linux memes sublemmy.

    [–] tortina_original@lemmy.world 1 points 1 month ago

    Right. I am dumb 😕🤗