When ever i try to reboot or shutdown in s6 I get a warning about my pc shutting off, But it doesn't even turn off. What do I do?
File size would let me upload the image
There are a lot of possibilities here, and not enough information to work with. Just for start:
How old is your computer? Do you have ACPI enabled? Have you tried shutting down with other OSes? Do you see the final message, stating the system is halted? Does any of the following commands work:
(shutdown:)
- sudo shutdown -h now
- sudo loginctl poweroff
(reboot:)
- sudo shutdown -r now
- sudo loginctl reboot
Some pointers:
- https://bbs.archlinux.org/viewtopic.php?id=24513
- /etc/elogind/logind.conf
Can you post your
/etc/elogind/logind.conf and
sudo inxi -F output (need
sudo and
inxi installed)?
My pc is 2 years old, I have apci enabled, I have shut down my pc countless times with and without systemd, I don’t see the final message (https://i.imgur.com/HK55eoE_d.webp?maxwidth=1520&fidelity=grand) the first two commands listed for shut down doesn’t work, reboot commands don’t work either.
Elogind config:
(https://i.imgur.com/2fI4zxt.jpg)
Inxi output:
(https://i.imgur.com/NT9FuOQ.jpg)
I don't understand, you are running a live system? If so, you can't install anything on it permanently, but you can temporarily install programs in the loaded live system (they won't be there when you restart):
$ su
# pacman -Syyu
# pacman -S sudo inxi
About the picture you posted, you just pressed Ctrl+Alt+Del there? Can you try actually entering one of the commands from my previous post? Also, system logs would be helpful. See here: https://forum.artixlinux.org/index.php/topic,1923.0.html
Edit: Also, what is the output of
cat /proc/cmdline (https://askubuntu.com/a/882993 (https://askubuntu.com/a/882993))? You might need to edit kernel command line in Grub to include
acpi=force.
https://youtu.be/o670aoWS11s (https://youtu.be/o670aoWS11s)
https://youtu.be/hjLwMiz-hwc (https://youtu.be/hjLwMiz-hwc)
https://youtu.be/mfMW1UkRB0o (https://youtu.be/mfMW1UkRB0o)
https://youtu.be/Cu2HMTVZzdI (https://youtu.be/Cu2HMTVZzdI)
I've actually noticed this can occur on the live usb which appears to be what you're using here. I never got around to figuring out why exactly this happens. s6-linux-init appears to run all of its shutdown scripts but hangs at some point before sending TERM to every process. It shouldn't be too big of a deal though since it doesn't happen on a real system. It might have something to do with the buildiso scripts.
Live USB isn't meant to be used for much else anyway, other than installing the system on the computer, or recovering the system. Both not something one would be doing very often.
Well it's not the best first impression so probably I should get to the bottom of it eventually. The previous stable iso actually had a far more serious bug that somehow only a couple of people complained about so it's still better overall. ;)
Heh, turned out the problem was just metalog hanging. That was a lot simpler than expected.