RetroFed Forum
Your home away from modern life.
Seriously, every time I gotta be out the door. Just let me shut you down.
Post Reply
AuthorMessage
cannedtuna lemmy.world cannedtuna@lemmy.world
Joined: 2023-06-21
Quote

590   Original
Björn swg-empire.de bjoern_tantau@swg-empire.de
Joined: 2023-07-08
#2 · Quote Reply

A stop job is running
111
Rhaedas fedia.io Rhaedas@fedia.io
Joined: 2024-03-03
#3 · Quote Reply

Five seconds? What's hogging that system? Mine is about two, at most, from the WM shutdown selection.

12
Gyroplast pawb.social Gyroplast@pawb.social
Joined: 2024-06-22
#4 · Quote Reply

A stop job is running

Alt-SysRq-i, u, o

I don't have time for this shit.

24
picklerick lemmy.ml picklerick@lemmy.ml
Joined: 2026-07-20
Banned
#5 · (edited) Quote Reply

Alt-SysRq-i, u, o I don't have time for this shit.

have i learned a new magic combo?!

10
TwilightKiddy scribe.disroot.org TwilightKiddy@scribe.disroot.org
Joined: 2026-07-27
#6 · Quote Reply

A stop job is running

At least it tells you how long it'll take before it decides to SIGKILL whatever is holding the shutdown sequence.

46
pelya lemmy.world pelya@lemmy.world
Joined: 2023-07-03
#7 · Quote Reply

Just poweroff is fine. Why lose extra 2.5 seconds typing two words when one word will suffice?

15
AnUnusualRelic lemmy.world AnUnusualRelic@lemmy.world
Joined: 2023-07-06
#8 · (edited) Quote Reply

Just poweroff is fine. Why lose extra 2.5 seconds typing two words when one word will suffice?

What?

sync ; sync ; sync ; shutdown -h now

Or nothing!

15
mushroommunk lemmy.today mushroommunk@lemmy.today
Joined: 2025-08-18
#9 · Quote Reply

Just poweroff is fine. Why lose extra 2.5 seconds typing two words when one word will suffice?

Just alias whatever to "off"

3
Thorry feddit.org Thorry@feddit.org
Joined: 2025-08-30
#10 · Quote Reply

At least it tells you how long it'll take before it decides to SIGKILL whatever is holding the shutdown sequence.

Well you say that, but I've seen the countdown go past and then reset to a higher number often.

20
9tr6gyp3 lemmy.world 9tr6gyp3@lemmy.world
Joined: 2023-06-16
#11 · Quote Reply

Poor storage drives adding on power cycles

3
Eat_Your_Paisley lemmy.world Eat_Your_Paisley@lemmy.world
Joined: 2025-06-13
#12 · Quote Reply

I've never used systemd to shut down

Sudo shutdown -h now works on the Mac

19
Unleaded8163 fedia.io Unleaded8163@fedia.io
Joined: 2023-09-12
#13 · Quote Reply

Apparently there are a lot of ways to shutdown. halt is my preference from the command line.

6
YoSoySnekBoi kbin.earth YoSoySnekBoi@kbin.earth
Joined: 2025-07-19
#14 · Quote Reply

Apparently there are a lot of ways to shutdown. halt is my preference from the command line.

I like shutdown now because it feels like I'm reprimanding my PC

29
rozodru piefed.world rozodru@piefed.world
Joined: 2026-02-06
#15 · Quote Reply

meanwhile on KDE: A stop job is running

4
dadarobot lemmy.ml dadarobot@lemmy.ml
Joined: 2023-05-26
#16 · Quote Reply

What? sync ; sync ; sync ; shutdown -h now Or nothing!

why?

5
Sonotsugipaa lemmy.dbzer0.com Sonotsugipaa@lemmy.dbzer0.com
Joined: 2023-06-16
#17 · Quote Reply

why?

Gotta make sure the FS cache syncs.

Not too sure, hence the use of semicolons instead of double ampersands, but a moderately high level of sure.

6
kevincox lemmy.ml kevincox@lemmy.ml
Joined: 2021-01-21
#18 · Quote Reply

I've never used systemd to shut down Sudo shutdown -h now works on the Mac

In most distros shutdown is a symlink to systemctl.

28
Kairos lemmy.today LodeMike@lemmy.today
Joined: 2023-12-26
#19 · Quote Reply

A stop job is running

(X time / 1:30) but the second time will be extended indefinitely for some fucking reason.

19
tyler programming.dev tyler@programming.dev
Joined: 2023-06-12
#20 · Quote Reply

In most distros shutdown is a symlink to systemctl.

Oh interesting

7
Valmond lemmy.dbzer0.com Valmond@lemmy.dbzer0.com
Joined: 2025-11-13
#21 · Quote Reply

Windows cannot shut down because there is a folder open.

34
anon5621 lemmy.ml anon5621@lemmy.ml
Joined: 2023-08-03
#22 · Quote Reply

A stop job is running

Yes but no, u can in config file of systemd change timeout to 5,10 second or other number of seconds which u wish before it will kill it

6
AnUnusualRelic lemmy.world AnUnusualRelic@lemmy.world
Joined: 2023-07-06
#23 · Quote Reply

why?

It's traditional, it used to be done that way on old systems. It was done for extra luck I suppose.

Nowadays, shutdown syncs as a matter of fact, and filesystems are much less brittle.

10
RustyNova lemmy.world RustyNova@lemmy.world
Joined: 2023-11-24
#24 · Quote Reply

A stop job is running

My always plugged in HDD with bees on it does that. 1 minute to shutdown at least because there's always some kind of extend read or dedupe that need a sync.

... I brought this upon myself so I don't have to complain.

6
HM King Charles III DG FD feddit.uk Flax_vert@feddit.uk
Joined: 2023-06-19
#25 · Quote Reply

Everyone arguing about the amount of keypresses to type a shutdown command and time it takes to shutdown... I just power it off at the wall. One button press, shutdown is near instantaneous

10
cRazi_man europe.pub cRazi_man@europe.pub
Joined: 2025-06-04
#26 · Quote Reply

Everyone arguing about the amount of keypresses to type a shutdown command and time it takes to shutdown... I just power it off at the wall. One button press, shutdown is near instantaneous

Big brain move

3
dotslashme infosec.pub dotslashme@infosec.pub
Joined: 2023-06-07
#27 · Quote Reply

Just poweroff is fine. Why lose extra 2.5 seconds typing two words when one word will suffice?

I think doing just a poweroff might leave some services in an unclean state. I think systemctl poweroff make sure the services are shutdown cleanly before powering down.

1
Successful_Try543 feddit.org Successful_Try543@feddit.org
Joined: 2024-06-22
#28 · Quote Reply

Well you say that, but I've seen the countdown go past and then reset to a higher number often.

Similar to angry parents.

3
tuckerm feddit.online tuckerm@feddit.online
Joined: 2025-03-06
#29 · Quote Reply

People give Windows a lot of flak for this, but at least it usually does turn off after finishing its updates.

MacOS is the one that will just literally ignore the fact that you told it to shut down. Or it takes forever to tell you that a program has unsaved changes. At least Windows will tell you that right away, so that you see the "something is preventing shutdown" message before you walk away from the computer. Your Mac will wait 15 minutes, and then be like, "by the way, the browser doesn't want to close."

2
orlyowl piefed.ca orlyowl@piefed.ca
Joined: 2026-02-28
#30 · Quote Reply

Reminds me of one of the truest comics I ever read.

DsmoxSmOInIZlnj.jpg

69
HorseChandelier lemmy.world BenM2023@lemmy.world
Joined: 2023-10-01
#31 · Quote Reply

What? sync ; sync ; sync ; shutdown -h now Or nothing!

3 syncs? Sun Microsystems trainers told me 2!

3
AnUnusualRelic lemmy.world AnUnusualRelic@lemmy.world
Joined: 2023-07-06
#32 · Quote Reply

3 syncs? Sun Microsystems trainers told me 2!

Seems risky to me...

2
realitaetsverlust piefed.zip realitaetsverlust@piefed.zip
Joined: 2025-12-04
#33 · Quote Reply

At least it tells you how long it'll take before it decides to SIGKILL whatever is holding the shutdown sequence.

I think that depends on the setting, I had situations where one of my docker containers took ages to shutdown and it would just say 00/02 00s but when it reached that limit, it would just go up.

9
BartyDeCanter piefed.social BartyDeCanter@piefed.social
Joined: 2026-05-02
#34 · Quote Reply

why?

Before Linux had a shutdown command, you’d run “sync && sync && sync” then hit the power button.

3
Sheldan lemmy.world Sheldan@lemmy.world
Joined: 2024-03-24
#35 · Quote Reply

I've never used systemd to shut down Sudo shutdown -h now works on the Mac

I just use poweroff.

6
TwilightKiddy scribe.disroot.org TwilightKiddy@scribe.disroot.org
Joined: 2026-07-27
#36 · (edited) Quote Reply

Well you say that, but I've seen the countdown go past and then reset to a higher number often.

I entrust you with this horror, go figure out what to blame.

shutdown-analyze.sh
#! /usr/bin/env bash
shutdown_start=$(journalctl -b -1 -u systemd-logind --grep="System is (powering down|rebooting)" --output=cat --no-pager --output-fields=_SOURCE_REALTIME_TIMESTAMP)
shutdown_start=$((shutdown_start / 1000000))
units=$(journalctl -b -1 --since=@$shutdown_start --output=cat --no-pager --output-fields=UNIT JOB_TYPE=stop CODE_FUNC=job_emit_start_message)

for u in $units; do
    stopping_start=$(journalctl -b -1 --since=@$shutdown_start -u "$u" --output=cat --no-pager --output-fields=_SOURCE_REALTIME_TIMESTAMP JOB_TYPE=stop CODE_FUNC=job_emit_start_message _SYSTEMD_UNIT=init.scope)
    stopping_end=$(journalctl -b -1 --since=@$shutdown_start -u "$u" --output=cat --no-pager --output-fields=_SOURCE_REALTIME_TIMESTAMP JOB_TYPE=stop CODE_FUNC=job_emit_done_message _SYSTEMD_UNIT=init.scope)
    duration_human=$(systemd-analyze timespan $((stopping_end - stopping_start))us | tail -1 | sed 's/.*: //')
    printf "%s\t%10s %s\n" $((stopping_end - stopping_start)) "$duration_human" "$u"
done | sort -rn | cut -f 2
15
TwilightKiddy scribe.disroot.org TwilightKiddy@scribe.disroot.org
Joined: 2026-07-27
#37 · Quote Reply

I think that depends on the setting, I had situations where one of my docker containers took ages to shutdown and it would just say 00/02 00s but when it reached that limit, it would just go up.

Individual services can override the default 90 seconds timeout. But then you can override their override if you think you are smarter, of course.

6
Switorik sh.itjust.works Switorik@sh.itjust.works
Joined: 2026-04-18
#38 · Quote Reply

If that one thumb could read, this might make him mad

2
drcobaltjedi programming.dev drcobaltjedi@programming.dev
Joined: 2023-06-19
#39 · Quote Reply

People give Windows a lot of flak for this, but at least it usually does turn off after finishing its updates. MacOS is the one that will just literally ignore the fact that you told it to shut down. Or it takes forever to tell you that a program has unsaved changes. At least Windows will tell you that right away, so that you see the "something is preventing shutdown" message before you walk aw...

"Update and Shutdown" still acts as "Update and Restart" on windows. They added a whole new feature that is indistinguishable from the previous feature.

Though I agree macos has the problem of "well Firefox was open so I was stuck here over night"

6
Hiro8811 lemmy.world Hiro8811@lemmy.world
Joined: 2023-11-16
#40 · Quote Reply

I usually map the power button to shut down, although on laptop if I close the screen after shutdown it'll go to sleep mid shutdown

4
Thorry feddit.org Thorry@feddit.org
Joined: 2025-08-30
#41 · Quote Reply

I entrust you with this horror, go figure out what to blame. ::: spoiler shutdown-analyze.sh #! /usr/bin/env bash shutdown_start=$(journalctl -b -1 -u systemd-logind --grep="System is (powering down|rebooting)" --output=cat --no-pager --output-fields=_SOURCE_REALTIME_TIMESTAMP) shutdown_start=$((shutdown_start / 1000000)) units=$(journalctl -b -1 --since=@$shutdown_start --output=cat --no-pager...

Thanks, I usually know what it is tho. Most often it's VMs I was using for testing stuff, which I forgot to shutdown. It takes a while for them to cleanly shutdown, which is what the wait is for. I have a shortcut on my desktop to a script that checks for any running VMs still and shuts them down. But I forget to click it sometimes and then I have to wait. No big deal, except I like to switch off the power bar that powers the computer and everything attached to it. An old habit from when such a thing mattered, these days standby power is probably nothing to worry about. But still I wait patiently for the computer to shut down till I switch off the power strip.

4
HuntressHimbo lemmy.zip HuntressHimbo@lemmy.zip
Joined: 2025-06-04
#42 · Quote Reply

I get annoyed when a stop job shows up and I have to wait a minute. On my windows machines, that minute is the baseline and I half expect it to have decided to update and reboot itself again after. The difference is night and day

2
ShinkanTrain lemmy.ml ShinkanTrain@lemmy.ml
Joined: 2024-06-13
#43 · Quote Reply

Just poweroff is fine. Why lose extra 2.5 seconds typing two words when one word will suffice?

why use many word when few word do trick

3
TrackinDaKraken lemmy.world DarrinBrunner@lemmy.world
Joined: 2025-02-26
#44 · Quote Reply

You guys turn off your computers?

2
HotsauceHurricane lemmy.world HotsauceHurricane@lemmy.world
Joined: 2025-05-13
#45 · Quote Reply

Systemctl?
Bro just poweroff

5
dadarobot lemmy.ml dadarobot@lemmy.ml
Joined: 2023-05-26
#46 · Quote Reply

Before Linux had a shutdown command, you’d run “sync && sync && sync” then hit the power button.

is that true? i guess it makes sense. you dont "shutdown" DOS

1
Ŝan • 𐑖ƨɤ piefed.zip Sxan@piefed.zip
Joined: 2025-06-18
#47 · Quote Reply

systemctl invariably hangs on waitimg for some job to finish. systemd-shutdown-inhibitor is hideous.

poweroff -ff

11
hactar42 lemmy.ml hactar42@lemmy.ml
Joined: 2023-06-08
#48 · Quote Reply

Not to be that guy but...

shutdown /s /f /t 0

6
myszka lemmy.ml myszka@lemmy.ml
Joined: 2025-10-16
#49 · Quote Reply

I don't know how but a windows 7 machine I've recently had to use still got an update before shutting down...

2
TwilightKiddy scribe.disroot.org TwilightKiddy@scribe.disroot.org
Joined: 2026-07-27
#50 · Quote Reply

Thanks, I usually know what it is tho. Most often it's VMs I was using for testing stuff, which I forgot to shutdown. It takes a while for them to cleanly shutdown, which is what the wait is for. I have a shortcut on my desktop to a script that checks for any running VMs still and shuts them down. But I forget to click it sometimes and then I have to wait. No big deal, except I like to switch o...

If your script somehow shuts them down faster than plain old SIGTERM, putting it under /usr/lib/systemd/system-shutdown/ might be a good idea. Check man 8 systemd-shutdown for more info on that.

7
kbobabob lemmy.dbzer0.com kbobabob@lemmy.dbzer0.com
Joined: 2025-06-15
#51 · Quote Reply

"Update and Shutdown" still acts as "Update and Restart" on windows. They added a whole new feature that is indistinguishable from the previous feature. Though I agree macos has the problem of "well Firefox was open so I was stuck here over night"

They fixed that behavior recently.

2
Post Reply Page 1 of 4   Goto page 1, 2, 3, 4 Last »
Back to top