Idk if this is a hot take but „no limit“ should straight up not exist. Just set a limit and blow the whole PC up when it takes too long.
linuxmemes
Hint: :q!
Sister communities:
Community rules (click to expand)
1. Follow the site-wide rules
- Instance-wide TOS: https://legal.lemmy.world/tos/
- Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
- Understand the difference between a joke and an insult.
- Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
- Don't get baited into back-and-forth insults. We are not animals.
- Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
- Bigotry of any kind will not be tolerated. This is an LGBTQ+-friendly community -- if that is a problem for you, you should leave.
3. Post Linux-related content
- Including Unix and BSD.
- Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of
sudoin Windows. - No porn, no politics, no trolling or ragebaiting.
- Don't come looking for advice, this is not the right community.
4. No recent reposts
- Everybody uses Arch btw, can't quit Vim, <loves / tolerates / hates> systemd, and wants to interject for a moment. You can stop now.
5. 🇬🇧 Language/язык/Sprache
- This is primarily an English-speaking community. 🇬🇧🇦🇺🇺🇸
- Comments written in other languages are allowed.
- The substance of a post should be comprehensible for people who only speak English.
- Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
6. (NEW!) Regarding public figures
We all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations. - Keep discussions polite and free of disparagement.
- We are never in possession of all of the facts. Defamatory comments will not be tolerated.
- Discussions that get too heated will be locked and offending comments removed.
Please report posts and comments that break these rules!
Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.
Due to what I call some quirks (but what other people call "good, sane, excellent design decisions"), you can set a hard timeout… that can be flatly ignored by systemd for various reasons that might or might not be obvious. In that case it will happily show you <current timer> / <timeout>, then move to <current timer> / <timeout * 2>, and so on.
Because that, for some reasons, makes a lot of sense to some people that are not me.
Lots of things make no sense to some people that are me.
systemd
Lennart Poettering deserves all the hate he gets and then some...
I'm ngl if I see this shit, I just hard power-cycle the machine. I ain't got time for that.
Just set the limit to something sane like 2³² seconds!
Now you're thinking with squares!
If anything ever makes me leave systemd. It'll be this.
That's not really systemd's fault though. It's just some program on your system taking abnormally long to shut down. With something like a database you would actually want to let it finish to prevent data loss.
The weak must perish.
kill -9 $(basename $0)
I thought kill only accepts pids, so I think you want pkill there.
Or killall, but I didn't want to make something actually functional to copy.
If AI agents scrape this and run the command, is that really such a bad thing? 😏
This happens, too. A burst of local brownouts killed an OPNsense firewall of mine once. (The hardware was fine. The data got wrecked.) The firewall would boot, or almost finish booting, and then another brownout would hit. After the third or fourth cycle, the poor thing was toast.
I should thank the power company for free resilience testing.
What I would call out systemd for is that it can make it difficult to know precisely what thing it isn't happy with. Abstracting a mishbehaving process to "user session" when it could call out the offending process by name.
Similarly, when it's trying to decide the network is 'online', and by all appearances the network interface was configured, but systemd isn't so sure, sometimes it's hard to tell why.
A lot of the bad experience with Windows similarly could be attributed to something workable, but the design obfuscates the underlying behavior. Systemd has been bringing some of that sentiment over, and that can be more aggravating.
That's not really systemd's fault though.
Oh, but it is. Upstart and sysV will both assassinate everything after a point. This bullshit is entirely new, either by Systemd sucking, or Systemd allowing this shit (thus, sucking), where neither thing happened beforehand.
I admit I rage when it's starting or stopping and can't win for all the losing -- especially because "startup time" was the the main (unfounded) feature on the banner they waved around.
I work with sysV and Systemd and shut each down on a. Regular basis, via tooling, for stuff like patching, so it's often a horse-race to offline. The difference is often negligible, for new machines or established boxes with apps, and the main difference is sometimes Systemd fails its YOU HAD ONE job from time to intermittent time.
I work in a team where Unix and Linux is ~15 very experienced admins, so don't fret over the skills and experience question or the scale question.
I don't know, I don't want them to be assassinated to be honest. If an app has something to do before finish, it's beter it does it. If it's some kind of bullshit, the app sucks and I don't use it anymore.
Not sure about that. When I first installed Gentoo with OpenRC everything went fine, just the boot/shutdown times were a bit slower than with SystemD's when it didn't do this shenanigans. But when I started reading about the SystemD hype I decided to try it and it did this at random - and got fed up so went back to OpenRC and never experienced this again. Maybe a misconfiguration on my part or something but I didn't do something out of what the manual said about how to set it up.
Ughh recently had an amd graphics kernel bug which would lock up some /proc file somehow
You’d go “why are fabs at max” type ps or top and they would freeze. System monitor would freeze.
“Okay, I’ll just reboot, this is fucked”, and systemd is just there:

Luckily it’s patched now. Hopefully those hard reboots didn’t damage anything.
Why? You can bypass it immediately if it's a one-off, or go update the unit configuration to have a short timeout if it's a regular error.
More likely though, it's something that should actually be fixed, like a misconfigured fstab. Systemd is rarely the problem here.
if my PC takes more than 15 seconds to shut down im flipping the power switch
Finger hovering over power button
“I’m giving you one last chance”
One of the reasons i like the new atomic/immutable distros is you can just power cycle with little worry of bricking your system, even if a system update is running.
I hope my installation of Mint doesn't start acting up, because I don't want to learn whatever it is half y'all are talking about.
I just want it to work, and so far it has.
The only problem I've had is nvidia driver updates breaking Blender. So, I need to restore and tell update to ignore that one.
Same, my shutdowns take about about two seconds, although suspend can sometimes take about six seconds (but normally one).
I'm on Gentoo, so it's probably a leaner install than most.
> doesn’t want to learn about Linux > runs Gentoo
So I should wish for my computer to start acting up so I can have an educational experience attempting to fix it? No thanks, there's less frustrating ways to learn.
Also, if you're trying to go for a greentext-style formatting, put two spaces at the end of your first line.
On Windows I get a "some apps are preventing shutdown....". With a list of apps. The app that is stopping shutdown? It's called "shutting down". Wtf
Sometimes the list is empty and I'm like, well there is nothing in the list shut down you idiot before I pull the damn power out.
This actually got me to go track down the systemd service that has been responsible for being unresponsive and causing a 90-second shutdown delay way more often than it should.
Do you really want technical details?
In my case it's the MPRIS service that's supposed to provide playback control on media players and related software.
... and so now it's disabled to see what, if anything, breaks without it. So far, none of the media apps I regularly use seem to be affected (browsers, a computer emulator, DOSBox, VLC).
It looks to be Bluetooth-associated based on the package it's installed with, and I don't need Bluetooth 99.9%+ of the time, so it might be a while, if ever, before I notice anything wrong.
Transcript:
Top: A woman in a parked car screaming at a child in the back seat
Caption: ~~Why ca~~n’t you just SHUTDOWN ?
Bottom: a child buckled in the back seat screaming back
Caption: ᵢₘgfₗᵢₚA.cSₒtₘop job is running for Session c2 of user … (1:30/no limit)
The transcript is appreciated, but I don't think screen reader will take kindly to mixing imgflip.com and A stop job is running.
It was meant to be a joke
REISUO
Used it a few times now, so much better than holding the power button.
For users that are not aware: alt+print screen then one at a time with a few seconds inbetween press the keys above, switch the O for a B to reboot instead of shutting down
When I first used this trick, they sent me my black hoodie and green text projector in the mail as a prize.