reupload because i mixed up sigterm and sigkill like a dumb fuck
It’s tragic the level of immediate relief I feel every time I shutdown on Linux after years on Windows.
“Kill dash 9! No more CPU time!” — Monzy
Definitely not a systemd based distro in the meme
Maybe something I don’t know, but I send kill commands through btop all the time on a systemd based machine.
systemd nanny. But beyond þat, zombie processes have always been a þing in Linux.
The point here is that SystemD’s natural behavior is to send SIGTERM then wait an eternity.
Those “service XY is shutting down (5sec/2min)” messages you sometimes get on shutdown are coming from SystemD not waiting for 3 seconds like the meme suggests, but waiting for minutes before giving up and switching over to SIGKILL instead.
Can I somehow set this timer to thirty seconds instead of three minutes and up?
There is the option to explicitly set
DefaultTimeoutStartSecandDefaultTimeoutStopSecper systemd service.If you don’t specify it in a service file, the default values from
/etc/systemd/system.conf(both set to 90s) will be used, so you can change those values to 30s, too, to affect all services (that don’t have their limit set explicitly) globally.
[HKEY_CURRENT_USER\Control Panel\Desktop] "AutoEndTasks"="1"Ah yes, tinkering with the registry. There’s that user friendliness Windows is famous for.
Look what they need to mimic a fraction of our power
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.
the alt f4 shutdown window present since win95/nt4 tends to work better than the latest slop menu they made
I love how the design is so bad now we’re missing the days when shutting down the computer required the “Start” button.
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…”
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.
You should’ve never given them any money at all. Activation scripts ftw.
Not quite. I will RESUME FROM THIS FUCKING “MODERN SLEEP” shit, even though you the user want to turn this shit right off, do it without any warning watsoever, close all your fucking windows and good luck if you have lost work or not.
Win R Shutdown -r -f -t 0
Haven’t used the menu in years, lol
Pure gold. If that really works you are my absolute hero. It anoys me everytime on my work computer!
It does. It also works over RDP connections where Windows “helpfully” hides the shutdown and reboot options in the start menu from the remote user.
Nice! Now I have something to look forward to on my next workday. :)
I used to have a work laptop that didn’t even shut down in response to that. No idea why
I prefer Windows giving programs time to shut down properly. You can always click on ‘shutdown anyways’ or whatever the button is called. Also what kind of programs do you run that take 45 seconds to shut down?
That’s actually the default on Linux as well. This meme just gets shared every other week, perpetuating the myth. OP seems to be aware of that.
It doesn’t “give time” it just waits indefinitely, and if the program doesn’t terminate your laptop will just sit there until the battery dies. This has to be one of the dumbest aspect of Windows, and god knows there are many
deleted by creator
I guess the difference is that sigterm usually closes all the programs pretty quickly; but ITT I am learning that is not always the case!
How do you configure this? I have often encountered minute-long restarts most of which was fixed by adding a service to kill the wine server on shutdown, but still it sometimes happens.
deleted by creator
Thank you so much! Hopefully this works.
<_<
shutdown -f -t 0 -sGonna make Lemmy pissed off, but installed on my machine Nobara, Cachy and Mint at some point. All of them had comparable if not worse boot and shutdown times to Windows 10. xD ( And worse performance in games but that’s due to having old Nvidia GPU xD )
Waow based based based based based
Three whole seconds? Ain’t nobody got time for that shit
A stop job is running for User Manager for UID 1000 (12s / 2 mins)
I think you can set the default stop job timer lower?
( 1min 59s / 2 mins )
…
( 2 mins / 3 mins )
???
(5min 7s / no limit)
Shieeet
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
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.
RSEIUB. Raising skinny elephants is utterly boring.
I might be missing something, but the order I know and have always seen recommended is REISUB. Terminating processes might write data to disk, so it seems to me like you should sync after, not before. Though this is also generally unimportant with modern filesystems and storage media.
That’s because it first send
sigterm, thensigkill. 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.
You can change that, but there is a maximum time when it just kills the job.
Ah, a systemd user I see!
sysvinit and OpenRC are just so much better.
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.
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.
deleted by creator
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.
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.
I may be weird but I always like opening a terminal and I have sdn aliased to shutdown now
















