• алсааас [she/they]@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    77
    ·
    edit-2
    3 days ago

    This is blatantly false, 99% of Gnu/Linux distros actually have systemd nicely asking the processes to terminate themselves, it just doesn’t take longer than ~10 seconds usually.

    This meme would imply a sigkill.

    Edit: the distros that don’t use systemd likely don’t do any such thing either, I just don’t know about them.

    • IsoKiero@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      31
      ·
      3 days ago

      Kernel will happily kill processes if it’s out of memory, regardless of systemd or whatever. But in general Linux first asks nicely for the program to shut down and if it doesn’t comply then it’s SIGKILL time.

    • qjkxbmwvz@startrek.website
      link
      fedilink
      arrow-up
      18
      ·
      3 days ago

      Except on the Linux systems I’ve used, when I ask it to shut down, it shuts down no matter what. Windows and macOS let programs stop the shutdown process indefinitely (when shutdown/reboot are invoked the usual way).

      I think that’s what the meme is trying to get at.

      • KiwiTB@lemmy.world
        link
        fedilink
        arrow-up
        6
        ·
        3 days ago

        I wish that was the case, I’ll often find my Linux desktop running because the os failed to shut something down.

        • qjkxbmwvz@startrek.website
          link
          fedilink
          arrow-up
          1
          ·
          2 days ago

          poweroff and reboot work as advertised for me, but I’m running headless homelab servers and a laptop with i3. Maybe DEs/GUI shutdown is more subtle?

          • droans@midwest.social
            link
            fedilink
            English
            arrow-up
            2
            ·
            2 days ago

            I’ve had containers which are locked up and won’t respond to SIGKILL or any other signal. I don’t think It should be possible with a regular process, though.

      • That would depend on the DE I suppose, on GNOME it’ll show open programmes and wait 60 seconds for the user to intervene IIRC.

        Still doesn’t kill them though and asks them to properly terminate themselves which allows them to take care of everything.

    • NeatNit@discuss.tchncs.de
      link
      fedilink
      arrow-up
      12
      arrow-down
      1
      ·
      edit-2
      3 days ago

      Yeah, I’m kinda sick of seeing this false information on this sub the linuxmemes community. It’s a surprisingly common meme subject somehow