-
Linux normally does a nice shutdown as well, unless you force it.
-
You can force it on windows if you really want.
I’m so tired of linux memes posted/made by people who don’t know much about windows or linux.
Shutdown.exe -r -t 00 -f
Fast , no mucking around with graceful exiting of stuff. Kicks it in the teefs
If -t is specified -f is assumed and redundant, but also it will try to do graceful l, but with a patience of a cranky toddler
Absolutely, if people agree or not, the core windows is still a pretty powerful operating system. Its sad that they are ruining it by adding crap into it.
Oh, p-lease, can force it my ass, Linux has never failed to shutdown on me when using plain obvious GUI method. windows - can easily hang on forever as long as computer stays powered. The point of all the memes is exactly insane windows defaults, not the things that can or can’t be done by someone with enough knowledge
It was simpler using Linux to just kill things unceremoniously, but my coworkers are also consistently amazed when Epic throws a temper tantrum (rare, but it happens) and I walk over and ctrl-alt-delete and tell it to sit down and shut the fuck up until it’s ready to reboot and act right.
Idek what that is I learned ctrl-alt-del 20 years ago and haven’t needed to learn anything else since.
-
Linux programs either HAVE to be quick while receiving shutdown signal, otherwise the state will be fucked, work will be lost, and people will be mad, and program will stop being used.
-
Clicking the Windows button to force shutdown will straight up kill the program and won’t care at all.
Yeah this is more of a situation where because more applications are built for windows you’re more likely to encounter poor quality application level software on windows than on Linux. Especially if you stay within the walled garden that most distros provide.
People see a pattern with having a lot more problems with applications on windows than they do on linux and wrongly assume it’s because of the OS.
It’s really silly since there’s plenty of real bullshit going on with windows people could meme about. There’s no need to make up shit about windows being bad at something it actually does ok with.
If you hit Ctrl Alt Delete very quickly in succession (I believe it’s 7 times in a row) it will bail out from a stop job and proceed with shutting down
Learned that trick because I was so tired of seeing that occur ha. Along that research I swear I recall seeing that it’s a KDE/SDDM issue but I might be getting some wires crossed on that (and thus, don’t quote me/take my word on that 😅)
systemd moment in the sense that someone not affiliated with systemd used systemd to write a stop job that doesn’t terminate quickly? Or that you willingly installed software that brought along a slow stop job with it?
This is like so far away from systemd’s fault, idk, it must just be a meme right?
Pretty sure i’ve had this happen with services i didn’t even create, but yeah it was just a joke, i don’t care about init systems, but i don’t recall this ever happening when i was using runit.
He wrote Pulseaudio, Avahi, and systemd before joining Microsoft, where he currently works.
So that’s the story. SystemD feels very Microsofty, though. A big, opinionated, monolith.
to be honest if that happens its better to understand why that happens, instead of just pulling the plug. maybe a larger program (like firefox) is still exiting and in the middle of saving the session and closing databases. if you pull the plug, it’ll corrupt its data, it’ll forget your opened tabs and whatnot and you’ll be angry
Not only do I get this on shutdown I get a job on startup that runs for a minute thirty that looks for a swap partition that I have deleted.
Did you delete it or comment it out in /etc/fstab? Adding
noresume
to your boot arguments should also help. You can try that out in “extended options” during boot and add it to /boot/grub/grub.cfg later. Don’t forget to run
update-grub
after editing.
I’ve had that problem before, I think I had to mess around with my fstab and grub config to fix it.
Yes. Deleting partitions without editing /etc/fstab is a nice way to render your system unbootable.
Linux gives processes a chance to gracefully close. However, it also will absolutely NOT allow a process to hang up the shutdown or restart procedure after a point. If you’re using systemd (which there is a good chance you are), it’ll count down. If the process hasn’t stopped in the time allotted, it gets Old Yellered.
Linux does give every application time to shut down correctly, but unlike windows, it won’t wait for ages until every process is down. Linux WILL shut down in a certain timeframe, whereas windows waits for years if necessary. In my old job, we all had to use windows and I had times where I clicked shut down, turned off my monitor, grabbed my stuff, left and in the next morning, the PC was still on because Notepad refused to just close lmao.
That is what infuriates me so much. Instead of just killing the process after 5 mins of waiting it just cancels the shutdown. Like fuck off with that shit.
Is this even true? I am fairly sure that Linux also has a graceful shutdown process, but I’ll admit I haven’t looked into it.
yeah we have SIGTERM for graceful and SIGKILL for not so graceful shutting down a process.
In order of decreasing politeness: 1, 2, 15, 9 = HUP, INT, TERM, KILL = “Please stop”, “Quit it”, “I’m warning you” and “BANG”
Hup is frequently just “hey, reread your configuration files and keep going”
9 kills all 9 lives is they way the hpunix guy explained it to me in the mid 90s