this post was submitted on 06 Aug 2025
363 points (95.0% liked)

linuxmemes

26696 readers
534 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 users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • 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.
  • 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, no politics, no trolling or ragebaiting.
  • 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.
  • 5. 🇬🇧 Language/язык/Sprache
  • This is primarily an English-speaking community. 🇬🇧🇦🇺🇺🇸
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  •  

    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 remove France.

    founded 2 years ago
    MODERATORS
    you are viewing a single comment's thread
    view the rest of the comments
    [–] blackstrat@lemmy.fwgx.uk 101 points 1 week ago (4 children)

    It's almost as if people think systemd is one massive executable rather than a suite of tools

    [–] rikudou@lemmings.world 80 points 1 week ago (4 children)

    Nah, it's a single executable, like GNU.

    [–] blackstrat@lemmy.fwgx.uk 54 points 1 week ago (1 children)

    All that happens at boot is that linux.exe calls systemd.exe, uses all your system resources making your machine unusable bloat.

    [–] Auth@lemmy.world 23 points 1 week ago (1 children)

    when you first boot Systemd calls back to Redhat HQ: "Mr Pottering, we got him"

    [–] udon@lemmy.world 4 points 1 week ago

    When did you last update your system? It should call Microsoft, not Red Hat.

    [–] Laser@feddit.org 38 points 1 week ago (1 children)

    None of this stuff for me. I prefer one tool doing one thing, like busybox

    [–] lastweakness@lemmy.world 3 points 1 week ago

    I'm worried some might not get this joke

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

    Initramfs is just a executable

    Prove me wrong

    [–] FauxLiving@lemmy.world 6 points 1 week ago

    It's executables all the way down

    [–] _stranger_@lemmy.world 8 points 1 week ago

    Yes, GNU.exe, I know it well.

    [–] uranibaba@lemmy.world 13 points 1 week ago (1 children)

    From all the hate you see, it does look like that. It is not?

    [–] rtxn@lemmy.world 41 points 1 week ago* (last edited 1 week ago) (2 children)

    The answer is more complex than a simple yes/no. Fortunately, an actual Arch Linux maintainer shared their experience with init scripts and why it was necessary to switch to systemd: https://redlib.privacyredirect.com/r/archlinux/comments/4lzxs3/why_did_archlinux_embrace_systemd/?

    This line is particularly great:

    What most systemd critics consider "bloat", I consider necessary complexity to solve a complex problem generically.

    Other than that, and especially in the case of Arch Linux, nobody is forcing anybody to use any other component of systemd, or as proven by the likes of Artix and Devuan, systemd itself.

    [–] uranibaba@lemmy.world 2 points 6 days ago

    That was an interesting and enlightening read. Thanks!

    [–] killingspark@feddit.org 6 points 1 week ago

    Well it is also a massive executable in the mix there

    [–] corsicanguppy@lemmy.ca 3 points 1 week ago (1 children)

    An inbred set of separate entities right out of x-files "home" , that can only coexist with one another in a toxic bug-eyed gang? Yeah, it's "separate" pieces.

    Now go mount a volume the normal way.

    [–] WhyJiffie@sh.itjust.works 6 points 1 week ago (1 children)

    I still write my mounts in fstab

    [–] kalpol@lemmy.ca 9 points 1 week ago (2 children)
    [–] F04118F@feddit.nl 5 points 1 week ago (2 children)

    /etc/systemd/system/mnt-nfs.mount

    [Unit]
    Description=Mount NFS Share
    
    [Mount]
    What=server:exported_path
    Where=/mnt/nfs_share
    Type=nfs
    Options=_netdev,auto,rw
    
    [Install]
    WantedBy=multi-user.target
    
    [–] The_Decryptor@aussie.zone 6 points 1 week ago

    And the reason you'll want to do this is that it exposes FS mounts in the service dependency tree, so e.g. you can delay starting PostgreSQL until after you've mounted the network share that it's using as a backing store, while letting unrelated tasks start concurrently.

    If all you want to do is pass some special mount flags (e.g. x-systemd.automount) then fstab is the way, after all it's still systemd that's parsing and managing it.

    [–] WhyJiffie@sh.itjust.works 2 points 1 week ago (2 children)

    oh! maybe it's the perfect chance to ask. what do you do with your mounted shares so that processes trying to access it do not hang when the server is unreachable?

    mostly I would prefer if that directory read would just fail but anything is better, except unmounting.

    [–] kalpol@lemmy.ca 2 points 1 week ago (1 children)

    Add -o hard

    And if youre using nfsv3 add retrans=5

    Nfsv4 doesbt really need retrans but it still worls.

    That has worked perfectly for me.

    [–] WhyJiffie@sh.itjust.works 1 points 1 week ago (1 children)

    does retrains have any effect with hard? this is what man nfs says:

    If neither option is specified (or if the hard option is specified), NFS requests are retried indefinitely. If the soft option is specified, then the NFS client fails an NFS request after retrans retransmissions have been sent, causing the NFS client to return an error to the calling application.

    also, do you know what can I do with CIFS/SMB? I have most of my shares through samba :/

    [–] kalpol@lemmy.ca 1 points 6 days ago

    Oh maybe retrans doesn't do anything with hard.

    Cifs has some options too, it is easier to deal with user ids than NFS. I just had Claude AI tell me options

    [–] F04118F@feddit.nl 1 points 1 week ago* (last edited 1 week ago) (1 children)

    Good question!

    In the Home Operations Discord there's some very smart people who solved this problem inside kubernetes by checking if their NAS is online (through a Prometheus exporter named node exporter) and then scaling down their workloads that use it, automatically, using KEDA (an autoscaler for kubernetes)

    Depending on how your processes are orchestrated, you might be able to do something similar?

    Source: https://github.com/onedr0p/home-ops/pull/9334/files

    [–] WhyJiffie@sh.itjust.works 2 points 1 week ago

    well that's also interesting, but I mainly experience this problem on my desktop. there was a plasma version when even the taskbar panel got frozen, and the kde file manager, double commander too for like a minute, every time they try to do anything with an unreachable network drive. and its even worse on my laptop so there I just don't mount my shares anymore.

    I have been wondering how does windows do it, and programs made for windows, because this is a nonissue there (though windows has its fair share of problems with network shares though..). maybe they just learned to do all IO ops on a different thread..

    [–] vaionko@sopuli.xyz 2 points 1 week ago

    I'm not even aware of another way