reupload because i mixed up sigterm and sigkill like a dumb fuck

  • Evotech@lemmy.world
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    27 minutes ago

    Reboot

    Windows: save all your woooork. What apps you had open? How would I know?

    Linux: it’s all saved in ram, don’t worry. It’ll be like you never rebooted

  • Wispy2891@lemmy.world
    link
    fedilink
    arrow-up
    21
    ·
    5 hours ago

    Reverse meme when it’s time to install the updates.

    Windows in that case is “I MUST REBOOT IMMEDIATELY PREPARE TO LOSE ALL UNSAVED DATA IN 3. 2. 1…”

    • Buddahriffic@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      1 hour ago

      When I switched to win 10, I actually gave them more money to get the pro version for access to the group policy editor so I could control updates and never have to deal with my PC telling me it’s time to restart on its own. Because I was stupid.

      When it came time to switch to Win 11, I did the much more sensible thing and installed Fedora instead. I started with cinnamon and even though I ended up disliking it also, it was still way better than the windows experience.

  • Get_Off_My_WLAN@fedia.io
    link
    fedilink
    arrow-up
    11
    ·
    6 hours ago

    I had to update a Windows 11 work laptop after not touching it for nearly a year. I click ‘shut down’ from the start menu and nothing happens. What? Try it again. Nothing again.

    I have to hold down the power button before the screen shows a “slide to shut down” screen now. How did Microslop fuck up the ‘shut down’ so badly.

    • chiliedogg@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      53 minutes ago

      I love how the design is so bad now we’re missing the days when shutting down the computer required the “Start” button.

  • eighty@aussie.zone
    link
    fedilink
    English
    arrow-up
    7
    ·
    6 hours ago

    It’s tragic the level of immediate relief I feel every time I shutdown on Linux after years on Windows.

    • Sylvartas@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      10
      ·
      6 hours ago

      I’ve had it yell at me because it couldn’t close some dialog window that explorer opened because I was trying to shut it down

    • tc4m@lemmy.world
      link
      fedilink
      arrow-up
      10
      ·
      3 hours ago

      Had the pleasure of installing some HPE proprietary crap on RHEL the other day.

      After the cli installer ran it printed: rebooting now.

      It then killed PID 1 to force the reboot …

      We were flabbergasted. Why would the first and only method of asking the system to reboot be to shoot the system in the head?

      • Billegh@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        2 hours ago

        I was installing something decades ago that set the default runlevel to 6 and inserted itself as a runlevel 6 service. It would reboot until it had finished the changes it wanted to make and then set the runlevel back. Weirdest trash software. The service stayed to “apply updates on reboot”

        I’m glad I don’t have to work there anymore.

      • addie@feddit.uk
        link
        fedilink
        arrow-up
        6
        ·
        6 hours ago

        Just bind update/shutdown to a key you don’t press often, like keypad insert.

        yay --noconfirm ; sudo shutdown now
        

        Any problems with update, computer is put straight out of its misery. Bang.

  • De Lancre@lemmy.world
    link
    fedilink
    arrow-up
    18
    ·
    8 hours ago

    I don’t know what comment section or post are talking about. Default timer for systemd on arch is 3 minutes (and I think it’s default for most distros). Whenever some service fails to quit on reboot, system will stuck for 3 minutes until systemd decide to kill it. I need to manually configure it lower to like, 10 seconds, cause there shit ton of services that always fails to quit.

    And not like I’m using old pentium - my system build on AM5 with amd 7700x, 128gb of 5600MT\s ram and 7900xtx, with kingston nvme pcie4 ssd’s on top of that. It’s literally “best case scenario”.

      • RustyNova@lemmy.world
        link
        fedilink
        arrow-up
        10
        ·
        7 hours ago

        That’s because it first send sigterm, then sigkill. Then it gives up and let the kernel handle it…

        Happens on my BTRFS disk’s unmount. If the kernel is currently busy handling some heavy btrfs command (like a 4tb scrub), systemd cannot stop it with sigkill.

        So when it eventually gives up, you also need to wait for the kernel to finally stop the operation and actually disconnect the disk.

        • RustyNova@lemmy.world
          link
          fedilink
          arrow-up
          7
          ·
          edit-2
          7 hours ago

          In those cases there’s an easy solution.

          Step 1: sigh

          Step 2: press the power button 5 or 10 seconds while contemplating why you decided to do a quick restart instead of keeping the session and do something actually productive

          • KubeRoot@discuss.tchncs.de
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 hour ago

            I recommend starting with SysRq+E before that, there’s a chance it gets whatever the shutdown was waiting for. And if that fails… REISUB my beloved.

  • CosmoNova@lemmy.world
    link
    fedilink
    arrow-up
    21
    ·
    9 hours ago

    Ironic. Because a bug on CachyOS KDE made the shut down button in the quick menu disappear. Nobody in their community could help me or explain why. Generally I would say support is rather spotty with CachyOS in general. Of course you can shut it down in many other ways but that was my preferred one. So I just lived with it and instead used ctrl+alt+delete for a while until the button magically returned one day.

    • FatVegan@leminal.space
      link
      fedilink
      arrow-up
      7
      ·
      9 hours ago

      I’m kind of a linux noob, and i currently run catchyos and there are some things i don’t really understand. Last time i used linux is like 10 years ago, and i read and experienced that a really big plus on linux compared to windows is that you don’t need to restart when yoj install or update, but on catchy, you need to restart almost every update, which is almost every day it seems. Another thing that puzzles me is that every now and then, i restart for the update and wander off, and when i come back i don’t use the pc anymore and want to shut it down, but in the log in screen there is no shut down button, just a restart button.

      • KubeRoot@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 hour ago

        I use Arch personally, and as mentioned you should restart every update - but you can just not update everyday (updates don’t even come at a scheduled time, it’s just packages getting new versions whenever, so by the time you finish updating there could be another updated package for you)

        I think updating weekly and as necessary is a good schedule, though if you don’t update frequently and try to install something new, the version pacman will try to install will be based on your local repository information, matched to your other packages, and might no longer be available in mirrors. And you shouldn’t install an updated version of just one package, because if it pulls in the wrong updated dependencies you could break your install.

      • De Lancre@lemmy.world
        link
        fedilink
        arrow-up
        10
        ·
        8 hours ago

        CachyOS based on Arch, with basically arch repos, so it have rolling release with frequent kernel updates. And yes, you need to reboot your system to apply kernel update, so CachyOS (cause it targets casual audience) explicitly prompts to user that reboot is needed, to avoid weird arch quirks like losing ability to connect new usb devices after kernel update (arch is quirky like that). Better safe than sorry.

        You can just, well, not update that frequent. My server also running arch, I update it like, each couple of months, updated packages will just pile up and go in one update, that the beauty of rolling release (the ugly side is that no one tests if big update like that will work or not, so you may end up with dead system or it just wont update for example, lmao).

      • Barbarian@sh.itjust.works
        link
        fedilink
        arrow-up
        2
        arrow-down
        4
        ·
        8 hours ago

        In general, it’s true that Linux doesn’t need to restart for most updates. However, if you get a power cut right in the middle of an update, that could leave your OS in a really bad state. Therefore, for safety reasons, some distros (apparently including CachyOS) do updates in a ‘safe mode’ on boot, so that if there’s a power cut it just rolls back cleanly.

        In short, how exactly distros approach updates differ slightly. A tradeoff between safety and convenience.

    • lyralycan@sh.itjust.works
      link
      fedilink
      arrow-up
      1
      ·
      9 hours ago

      If you use Emby Desktop, when it’s full screen it interrupts all shutdown commands. Only GUI option is ‘cancel’, running shutdown remotely fails… Just need to exit full screen but who the hell decided an Electron app was more important than my choices

  • empireOfLove2@lemmy.dbzer0.comOP
    link
    fedilink
    English
    arrow-up
    45
    ·
    edit-2
    11 hours ago

    also yes i know shutdown typically uses sigterm and waits nicely, but it doesn’t take 45 seconds for no damn reason like windows

    also sigkill is funnier