• @[email protected]
    link
    fedilink
    English
    102
    edit-2
    8 days ago

    I have a, honest to goodness breaks the electron flow, power switch for a reason, the shutdown command was a warning not a request.

    • palordrolap
      link
      fedilink
      478 days ago

      Love it or loathe it, systemctl is trying to do the right thing with regard to stability and data preservation.

      If you really mean it, the manual offers a few levels of strength beyond the plain one: -i (don’t check for busy processes, which is what’s going on in the meme), -f (force, presumably asks even less nicely), and -f -f (don’t even ask, just do it now, preservation be damned).

      • @Infernal_pizzaOP
        link
        English
        148 days ago

        It should give you the option to abort the shutdown and sort out whatever process it is though! Or at least let you kill it manually from the shutdown terminal. I know you can technically do that with the emergency shell but I don’t like leaving that enabled. Thankfully I rarely get this issue anymore anyway

      • @[email protected]
        link
        fedilink
        English
        -67 days ago

        systemctl is trying to do the right thing

        I love how this comment suggests every fucking alternative doesn’t or wouldn’t. That’s just bloody arrogance.

        Systemd’s entire existence is against best coding practice. Famously, when called out just on the ability to work with others, the systemd team represented trends ably.

        Never have I raged at a machine and demanded it tell me what the flying flaming fuck it was actually doing now than when systemd was trying to do what I’m charitably deciding is the right thing.

        Why would be doing the right thing now? It honestly only does a thing through luck and race conditions anyway.

        • @[email protected]
          link
          fedilink
          77 days ago

          I love how this comment suggests every fucking alternative doesn’t or wouldn’t.

          How did you get that from their sentence, what the fuck?

        • palordrolap
          link
          fedilink
          77 days ago

          I’m not sure I’m a fan of systemctl either, but I think your hatred of it has caused you to read way too much into what I said.

    • @AngryCommieKender
      link
      68 days ago

      You can do that to Windows. They may have gotten better, but I know that my friend that ran Debian Unstable back in the late '90s-'00s swore that if he didn’t properly shut down the machine every year or so, it would mess up his build.

    • Noxy
      link
      fedilink
      English
      18 days ago

      I feel the same way when I use my turn signals. I’m not asking.

      (assuming of course it’s safe to follow through)

  • Something Burger 🍔
    link
    fedilink
    English
    368 days ago

    $ poweroff

    kernel panics for some reason

    have to use the power switch anyway

    Such is life when using Linux on a laptop.

    • @[email protected]
      link
      fedilink
      18
      edit-2
      8 days ago

      I’ve recently had so many random freezes of the system, hangs on shutdown, panics on shutdown, freezes in system updates, that hard reset became a thing I did several times a day. Yet there were no systemd logs, nothing in dmesg, literally zero information on what happened.

      I was skeptical in blaming Nvidia because at this point it became a Linux chiche, but then I started to switch to integrated graphics (disabling dGPU) and all of the problems miraculously went away.

      • KillingTimeItself
        link
        fedilink
        English
        78 days ago

        Yet there were no systemd logs, nothing in dmesg, literally zero information on what happened.

        this is pretty typical for hard crashes, ur system is so unbelievably fucked up that it can’t even write to journal, and if it could, it wouldn’t be persisted anyway (hard shutdown)

      • Something Burger 🍔
        link
        fedilink
        68 days ago

        Same. I use nVidia on Wayland, and experience more crashes and panics than when using the iGPU. With older versions of the driver, I could consistently trigger a crash when exiting an app which used the discrete GPU (such as Steam), or by switching between a game and Firefox.

      • @[email protected]
        link
        fedilink
        38 days ago

        NVIDIA definitely has stability issues, newest drivers still kernel panic on resume from suspend. Only thing more you can do is try to capture debug logs with nvidia-bug-report.sh (I go in during a crash via SSH, usually the system is still responsive for a little while after), and post it to the NVIDIA Linux forums. They do actually seem to use the feedback there, NVIDIA reps respond from time to time and say they’ve submitted bug reports from the feedback. Otherwise, after that yeah you just do what you have to do for a usable system and wait…

      • @jrgn
        link
        17 days ago

        Had this issue for ages. Ditched Nvidia a month ago and now everything just works.

    • Estebiu
      link
      fedilink
      128 days ago

      Yeah, lol. One of the reasons my next laptop will be one intended with linux support for the start.

    • @[email protected]
      link
      fedilink
      45
      edit-2
      8 days ago

      The kernel is cleaning the corpses out of the basement freezer chest before the power goes out and stinks up the place.

      • DefederateLemmyMl
        link
        fedilink
        English
        2
        edit-2
        7 days ago

        Leave the poor kernel out of it, it has nothing to do with this. It’s Lennart, not Linus.

  • cooljimy84
    link
    218 days ago

    Unmounting CIFS , 1:30 timeout ! I just wannatgo to bed…

      • @linearchaos
        link
        English
        138 days ago

        I’ve been living that for years

        • @NegativeLookBehind
          link
          English
          12
          edit-2
          8 days ago

          Lol nice. But seriously:

          -l
          
          Lazy unmount. Detach the filesystem from the filesystem hierarchy now, and cleanup all references to the filesystem as soon as it is not busy anymore. (Requires kernel 2.4.11 or later.)
          
  • Björn Tantau
    link
    fedilink
    107 days ago

    I was glad my server did this the other day to make sure the data Lemmy put into my database is secure.

  • @RustyNova
    link
    88 days ago

    The culprit often filesystem sync for me…

    • @[email protected]
      link
      fedilink
      28 days ago

      Yes. Mounted network drives.

      I think a lot of the shutdown hang problems went away when i switched to systemd automount

      • @RustyNova
        link
        38 days ago

        It isn’t those for me tho. It’s just BTRFS that like to hang. Auto scrub going? Hang. Auto balance? Hang. Time shift/urbackup doing back up things? Let’s hang!