You are not logged in.

#1 2024-04-27 21:48:57

Pixel.exe
Member
Registered: 2024-04-27
Posts: 1

Can't shutdown Arch anymore

I just installed and setup arch and now I can’t shutdown or reboot anymore. I just get a black screen with a blinking '_' after trying to turn off. I tried overwriting the systemd-poweroff service with no luck

Kernel: 6.8.7-arch1-2
NVIDIA RTX 3080
Ryzen 7 5800X3D
Gnome 46.1
Running X11

What i've tried so far:
edit /etc/default/grub and change the line GRUB_COMMAND_LINE_DEFAULT="quiet" to GRUB_COMMAND_LINE_DEFAULT="quiet acpi=force", run grub-mkconfig -o /boot/grub/grub.cfg afterwards.

overwrite the systemd-poweroff.service with:

[Service]

ExecStart=

ExecStart=/usr/local/bin/shutdown-fix

Where shutdown-fix is:

#!/bin/bash

sync

/usr/bin/systemctl --force poweroff

When I run sudo /usr/bin/systemctl --force poweroff my pc shuts down. Does that indicate that the override of the poweroff service didn’t work?

EDIT: I looked through the logs and found out that arch couldn't kill tmux:
Apr 28 11:46:39 archlinux systemd[1093]: tmux-spawn-a4f3b58f-561a-433b-ae39-139228815818.scope: Stopping timed out. Killing.
Apr 28 11:46:39 archlinux systemd[1093]: tmux-spawn-a4f3b58f-561a-433b-ae39-139228815818.scope: Killing process 2452 (bash) with signal SIGKILL.
Apr 28 11:46:39 archlinux systemd[1093]: tmux-spawn-a4f3b58f-561a-433b-ae39-139228815818.scope: Failed with result 'timeout'.
Apr 28 11:46:39 archlinux systemd[1093]: Stopped tmux child pane 2452 launched by process 2295.

How can I fix it?

Last edited by Pixel.exe (2024-04-28 10:43:29)

Offline

#2 2024-04-27 22:25:29

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,005

Offline

Board footer

Powered by FluxBB