# Restarting -\> stop job for user running!

**URL:** <https://forum.endeavouros.com/t/restarting-stop-job-for-user-running/32893>\
**Category:** Newbie\
**Created:** [October 16, 2022, 4:19pm UTC](https://forum.endeavouros.com/t/restarting-stop-job-for-user-running/32893 "2022-10-16T16:19:57Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![limotux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/limotux/32/35347_2.png) [@limotux](https://forum.endeavouros.com/u/limotux)\
**Post date:** [October 16, 2022, 4:19pm UTC](https://forum.endeavouros.com/t/restarting-stop-job-for-user-running/32893/1 "2022-10-16T16:19:57Z")

</div>

Restarting the system, while shutting down I see a message saying something like "stop job for user … " is running… and it takes long long time.  
CTL+ALT+Del seemed to stop it but did not actually shutdown or restart. Unfortunately I had to use power button.  
I can’t remember I had this before… maybe happened and too like 1:30 min. then continued.  
What might be causing this? Is there a way to avoid it?

---

<div class="post-metadata">

**Author:** ![dalto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dalto/32/5577_2.png) [@dalto](https://forum.endeavouros.com/u/dalto)\
**Post date:** [October 16, 2022, 4:20pm UTC](https://forum.endeavouros.com/t/restarting-stop-job-for-user-running/32893/2 "2022-10-16T16:20:59Z")

</div>

> [@limotux](#):
>
> Unfortunately I had to use power button.

Don’t do that. Especially on btrfs. Can easily corrupt the entire filesystem.

> [@limotux](#):
>
> What might be causing this? Is there a way to avoid it?

It means something is still running when you try to shutdown.

---

<div class="post-metadata">

**Author:** ![sradjoker](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/sradjoker/32/64224_2.png) [@sradjoker](https://forum.endeavouros.com/u/sradjoker)\
**Post date:** [October 16, 2022, 4:22pm UTC](https://forum.endeavouros.com/t/restarting-stop-job-for-user-running/32893/3 "2022-10-16T16:22:02Z")

</div>

> [@\[Tip\] Enable Magic SysRq Key (REISUB)](https://forum.endeavouros.com/t/tip-enable-magic-sysrq-key-reisub/7576):
>
> The Linux kernel authors have provided a very nice feature of issuing low-level commands to the kernel directly, regardless of the state the system is in. This is called the “Magic SysRq Key”, because these commands are issued by pressing the SysRq key on the keyboard (if you can’t find it, typically, it shares the same physical key as the Print Screen key, but on some laptops it can be elsewhere). A common use is to reboot when the computer freezes and becomes unresponsive due to some software…

---

<div class="post-metadata">

**Author:** ![keybreak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/keybreak/32/9257_2.png) [@keybreak](https://forum.endeavouros.com/u/keybreak)\
**Post date:** [October 16, 2022, 4:26pm UTC](https://forum.endeavouros.com/t/restarting-stop-job-for-user-running/32893/4 "2022-10-16T16:26:47Z")

</div>

> [@dalto](#):
>
> Don’t do that. Especially on btrfs. Can easily corrupt the entire filesystem.

Oh nooooooes!  
Not on the-future-of-linux-much-better-than-anything-else-fs !?!??! 😱 🙀 😵 🤯

Who could have possibly see that coming…  
 ![honka_animated-128px-11](https://forum.endeavouros.com/uploads/default/original/3X/f/e/fe9e98b9a582e61a6f999f6e474b99601b6ea15b.gif)

---

<div class="post-metadata">

**Author:** ![limotux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/limotux/32/35347_2.png) [@limotux](https://forum.endeavouros.com/u/limotux)\
**Post date:** [October 16, 2022, 4:27pm UTC](https://forum.endeavouros.com/t/restarting-stop-job-for-user-running/32893/5 "2022-10-16T16:27:04Z")

</div>

> [@dalto](#):
>
> Don’t do that. Especially on btrfs. Can easily corrupt the entire filesystem.

It was saying like 3 minutes remaining, then 4 minutes remaining… I can’t think of waiting even 3 minutes to reboot!

> [@dalto](#):
>
> It means something is still running when you try to shutdown.

What? and how to avoid it?

---

<div class="post-metadata">

**Author:** ![dalto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dalto/32/5577_2.png) [@dalto](https://forum.endeavouros.com/u/dalto)\
**Post date:** [October 16, 2022, 4:28pm UTC](https://forum.endeavouros.com/t/restarting-stop-job-for-user-running/32893/6 "2022-10-16T16:28:04Z")

</div>

> [@limotux](#):
>
> I can’t think of waiting even 3 minutes to reboot!

I assure you it will take more than 3 minutes to reinstall and restore all your data from backup.

> [@limotux](#):
>
> What? and how to avoid it?

It is your system, only you can know what is running…

---

<div class="post-metadata">

**Author:** ![KDen](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/k/858c86/32.png) [@KDen](https://forum.endeavouros.com/u/KDen)\
**Post date:** [October 16, 2022, 4:30pm UTC](https://forum.endeavouros.com/t/restarting-stop-job-for-user-running/32893/7 "2022-10-16T16:30:57Z")

</div>

A good place to start would be your Journal check last boot and scroll to the end  
`journalctl -b -1`

---

<div class="post-metadata">

**Author:** ![limotux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/limotux/32/35347_2.png) [@limotux](https://forum.endeavouros.com/u/limotux)\
**Post date:** [October 16, 2022, 4:32pm UTC](https://forum.endeavouros.com/t/restarting-stop-job-for-user-running/32893/8 "2022-10-16T16:32:56Z")

</div>

> [@keybreak](#):
>
> Oh nooooooes!  
> Not on the-future-of-linux-much-better-than-anything-else-fs !?!??! 😱 🙀 😵 🤯
> 
> Who could have possibly see that coming…

I can not think of something running that needs 4 minutes to shut down!

> [@dalto](#):
>
> It is your system, only you can know what is running…

Well, sometimes I press restart with chromium browser and Dolphin file manager running!  
Can this be the reason?  
Would a

```auto
sudo systemctl reboot

```

help?

---

<div class="post-metadata">

**Author:** ![limotux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/limotux/32/35347_2.png) [@limotux](https://forum.endeavouros.com/u/limotux)\
**Post date:** [October 16, 2022, 4:40pm UTC](https://forum.endeavouros.com/t/restarting-stop-job-for-user-running/32893/9 "2022-10-16T16:40:38Z")

</div>

> [@KDen](#):
>
> journalctl -b -1

I wonder if this helps

```auto
Oct 16 18:09:01 asus sddm[348]: Socket server started.
Oct 16 18:09:01 asus sddm[348]: Loading theme configuration from "/usr/share/sddm/themes/breeze/theme.conf"
Oct 16 18:09:01 asus sddm[348]: Greeter starting...
Oct 16 18:09:01 asus sddm[348]: Signal received: SIGTERM
Oct 16 18:09:01 asus sddm[348]: Socket server stopping...
Oct 16 18:09:01 asus sddm[348]: Socket server stopped.
Oct 16 18:09:01 asus sddm[348]: Display server stopping...
Oct 16 18:09:01 asus sddm-helper[33803]: [PAM] Starting...
Oct 16 18:09:01 asus audit[33803]: USER_AUTH pid=33803 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:authentication grantors=pam_permit acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success'
Oct 16 18:09:01 asus audit[33803]: USER_ACCT pid=33803 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_permit acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success'
Oct 16 18:09:01 asus sddm-helper[33803]: [PAM] Authenticating...
Oct 16 18:09:01 asus sddm-helper[33803]: [PAM] returning.
Oct 16 18:09:02 asus sddm[348]: Display server stopped.
Oct 16 18:09:02 asus sddm[348]: Running display stop script "/usr/share/sddm/scripts/Xstop"
Oct 16 18:09:02 asus sddm[348]: QProcess: Destroyed while process ("/usr/lib/sddm/sddm-helper") is still running.
Oct 16 18:09:02 asus systemd[1]: sddm.service: Deactivated successfully.
Oct 16 18:09:02 asus systemd[1]: Stopped Simple Desktop Display Manager.
Oct 16 18:09:02 asus audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=sddm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 16 18:09:02 asus systemd[1]: sddm.service: Consumed 38.014s CPU time.
Oct 16 18:09:02 asus systemd[1]: Stopping User Login Management...
Oct 16 18:10:28 asus systemd[1]: user-runtime-dir@1000.service: Stopping timed out. Terminating.
Oct 16 18:10:32 asus systemd[1]: systemd-logind.service: State 'stop-sigterm' timed out. Killing.
Oct 16 18:10:32 asus systemd[1]: systemd-logind.service: Killing process 317 (systemd-logind) with signal SIGKILL.
Oct 16 18:10:32 asus systemd[1]: systemd-logind.service: Killing process 33807 (close) with signal SIGKILL.
Oct 16 18:10:44 asus systemd[1]: Received SIGINT.
Oct 16 18:10:44 asus systemd[1]: Activating special unit System Reboot...
Oct 16 18:10:44 asus systemd[1]: Generate shutdown-ramfs was skipped because of a failed condition check (ConditionFileIsExecutable=!/run/initramfs/shutdown).
Oct 16 18:10:45 asus systemd[1]: Received SIGINT.
Oct 16 18:10:45 asus systemd[1]: Activating special unit System Reboot...
Oct 16 18:10:45 asus systemd[1]: Generate shutdown-ramfs was skipped because of a failed condition check (ConditionFileIsExecutable=!/run/initramfs/shutdown).
Oct 16 18:10:45 asus systemd[1]: Received SIGINT.
Oct 16 18:10:45 asus systemd[1]: Activating special unit System Reboot...
Oct 16 18:10:45 asus systemd[1]: Generate shutdown-ramfs was skipped because of a failed condition check (ConditionFileIsExecutable=!/run/initramfs/shutdown).

```

---

<div class="post-metadata">

**Author:** ![KDen](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/k/858c86/32.png) [@KDen](https://forum.endeavouros.com/u/KDen)\
**Post date:** [October 16, 2022, 4:53pm UTC](https://forum.endeavouros.com/t/restarting-stop-job-for-user-running/32893/10 "2022-10-16T16:53:26Z")

</div>

Never seen that before so maybe someone else will have an idea. In the mean time I found this:  
[https://bbs.archlinux.org/viewtopic.php?id=212327](https://bbs.archlinux.org/viewtopic.php?id=212327)  
Which sounds like your filesystem is not getting unmounted properly potentially your swaps. Do you use a swap partition?

---

<div class="post-metadata">

**Author:** ![limotux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/limotux/32/35347_2.png) [@limotux](https://forum.endeavouros.com/u/limotux)\
**Post date:** [October 16, 2022, 5:03pm UTC](https://forum.endeavouros.com/t/restarting-stop-job-for-user-running/32893/11 "2022-10-16T17:03:30Z")

</div>

WOW!  
I did it! Switched off and back on in a second! (biut did not have WiFi after restarting)  
A normal restart everything is back to normal.

> [@KDen](#):
>
> filesystem is not getting unmounted properly potentially your swaps. Do you use a swap partition?

I do not remember I set any swap during installation. Do I need it?  
My system has 20 GB RAM, i3 processor 10th. Gen, SSD.

The only thing I remember I changed was swappiness, down to only 10.

---

<div class="post-metadata">

**Author:** ![limotux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/limotux/32/35347_2.png) [@limotux](https://forum.endeavouros.com/u/limotux)\
**Post date:** [October 16, 2022, 5:06pm UTC](https://forum.endeavouros.com/t/restarting-stop-job-for-user-running/32893/12 "2022-10-16T17:06:15Z")

</div>

> [@KDen](#):
>
> [https://bbs.archlinux.org/viewtopic.php?id=212327](https://bbs.archlinux.org/viewtopic.php?id=212327)  
> Which sounds like your filesystem is not getting unmounted properly potentially your swaps. Do you use a swap partition?

Thanks @KDen  
It seems similar somehow to my case. But in my case it was mentioning something like “user” and “login”.

---

<div class="post-metadata">

**Author:** ![sradjoker](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/sradjoker/32/64224_2.png) [@sradjoker](https://forum.endeavouros.com/u/sradjoker)\
**Post date:** [October 16, 2022, 5:07pm UTC](https://forum.endeavouros.com/t/restarting-stop-job-for-user-running/32893/13 "2022-10-16T17:07:44Z")

</div>

Glad the issue is solved. It would be great if you could bookmark that Magic SysRq key post.

---

<div class="post-metadata">

**Author:** ![limotux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/limotux/32/35347_2.png) [@limotux](https://forum.endeavouros.com/u/limotux)\
**Post date:** [October 16, 2022, 5:12pm UTC](https://forum.endeavouros.com/t/restarting-stop-job-for-user-running/32893/14 "2022-10-16T17:12:21Z")

</div>

> [@sradjoker](#):
>
> It would be great if you could bookmark that Magic SysRq key post.

Sure I would.  
But just to update you or for my own record  
Pressing ALT+SysReq+RE the screen went black so I did not do the ISUB buttons. This is when it booted in a second.

But Ignoring the black screen and pressing the rest of the keys the system booted normally through Grub as normal!

---

<div class="post-metadata">

**Author:** ![KDen](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/k/858c86/32.png) [@KDen](https://forum.endeavouros.com/u/KDen)\
**Post date:** [October 16, 2022, 5:15pm UTC](https://forum.endeavouros.com/t/restarting-stop-job-for-user-running/32893/15 "2022-10-16T17:15:38Z")

</div>

> [@limotux](#):
>
> I do not remember I set any swap during installation. Do I need it?  
> My system has 20 GB RAM, i3 processor 10th. Gen, SSD.

No you don’t need a swap partition unless you plan on hibernating. With 20GB RAM it’s unlikely you’ll have overflow but depends on your use case.

[https://wiki.archlinux.org/title/Swap](https://wiki.archlinux.org/title/Swap)  
[https://www.makeuseof.com/tag/swap-partition/](https://www.makeuseof.com/tag/swap-partition/)

---

<div class="post-metadata">

**Author:** ![OrangeBoy](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/o/50afbb/32.png) [@OrangeBoy](https://forum.endeavouros.com/u/OrangeBoy)\
**Post date:** [October 16, 2022, 5:16pm UTC](https://forum.endeavouros.com/t/restarting-stop-job-for-user-running/32893/16 "2022-10-16T17:16:04Z")

</div>

> [@dalto](#):
>
> Don’t do that. Especially on btrfs. Can easily corrupt the entire filesystem.

Of course I understand forcefully shutting down any system might lead to corruption, but I though those issues with btrfs were ironed out? Would you say that if I live in a blackout-frequent area, ext4 would be the better choice?

---

<div class="post-metadata">

**Author:** ![limotux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/limotux/32/35347_2.png) [@limotux](https://forum.endeavouros.com/u/limotux)\
**Post date:** [October 16, 2022, 5:16pm UTC](https://forum.endeavouros.com/t/restarting-stop-job-for-user-running/32893/17 "2022-10-16T17:16:13Z")

</div>

I still have the question(s)  
Is it possible to prevent this?  
Would a `sudo systemctl reboot` be better perhaps and avoid it?

---

<div class="post-metadata">

**Author:** ![dalto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dalto/32/5577_2.png) [@dalto](https://forum.endeavouros.com/u/dalto)\
**Post date:** [October 16, 2022, 5:17pm UTC](https://forum.endeavouros.com/t/restarting-stop-job-for-user-running/32893/18 "2022-10-16T17:17:08Z")

</div>

> [@limotux](#):
>
> Is it possible to prevent this?

Prevent which thing?

> [@limotux](#):
>
> Would a `sudo systemctl reboot` be better perhaps and avoid it?

No.

---

<div class="post-metadata">

**Author:** ![limotux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/limotux/32/35347_2.png) [@limotux](https://forum.endeavouros.com/u/limotux)\
**Post date:** [October 16, 2022, 5:18pm UTC](https://forum.endeavouros.com/t/restarting-stop-job-for-user-running/32893/19 "2022-10-16T17:18:47Z")

</div>

> [@KDen](#):
>
> unless you plan on hibernating. With 20GB RAM it’s unlikely you’ll have overflow but depends on your use case.

I don’t hibernate… it is either running or switched off.

My use case is just very simple, browsing, reading PDFs, rarely even listening to music! Very light use!

---

<div class="post-metadata">

**Author:** ![keybreak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/keybreak/32/9257_2.png) [@keybreak](https://forum.endeavouros.com/u/keybreak)\
**Post date:** [October 16, 2022, 5:19pm UTC](https://forum.endeavouros.com/t/restarting-stop-job-for-user-running/32893/20 "2022-10-16T17:19:17Z")

</div>

> [@OrangeBoy](#):
>
> Would you say that if I live in a blackout-frequent area, ext4 would be the better choice?

Yes.

[Next page](https://forum.endeavouros.com/t/restarting-stop-job-for-user-running/32893.md?page=2)
