Skip to content

Fixed reboot delay caused by the root shell service#2022

Merged
lslezak merged 1 commit intomasterfrom
stop_root_shell
Feb 19, 2025
Merged

Fixed reboot delay caused by the root shell service#2022
lslezak merged 1 commit intomasterfrom
stop_root_shell

Conversation

@lslezak
Copy link
Contributor

@lslezak lslezak commented Feb 19, 2025

Problem

Solution

  • Properly terminate the running shell to avoid systemd timeout
  • Run the shell at tty8 (there was a collision with the login prompt at tty2)
  • Use systemd features instead of the openvt tool

Testing

  • Tested manually, the system reboots immediately

- gh##2018
- Run the shell at tty8 (there was a collision with the login
  prompt at tty2)
- Uses systemd features instead of the openvt tool
@lslezak lslezak merged commit 819eb2c into master Feb 19, 2025
4 checks passed
@lslezak lslezak deleted the stop_root_shell branch February 19, 2025 08:11
@imobachgs imobachgs mentioned this pull request Feb 26, 2025
imobachgs added a commit that referenced this pull request Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants