Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions live/root/etc/systemd/system/live-root-shell.service
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
[Unit]
Description=Start root shell in a free terminal (usually tty2)
Description=Root shell at tty8
# after setting the host name to correctly display it in the shell prompt
After=agama-hostname.service

[Service]
ExecStart=openvt --verbose --wait bash
# start it again after crashing or accidentally closing the shell via "exit" or Ctrl+D,
# unfortunately it might use a different tty after restart :-/
TTYPath=/dev/tty8
StandardInput=tty
ExecStart=/usr/bin/bash
# start it again after crashing or accidentally closing the shell via "exit" or Ctrl+D
Restart=always
Type=exec
Environment=TERM=linux
# Bash ignores SIGTERM, send SIGHUP to ensure that it terminates cleanly
KillSignal=SIGHUP

[Install]
WantedBy=default.target
8 changes: 8 additions & 0 deletions live/src/agama-installer.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Feb 19 07:37:51 UTC 2025 - Ladislav Slezák <lslezak@suse.com>

- Fixed reboot delay caused by the root shell service
(gh#agama-project/agama#2018)
- Run the shell at tty8 (there was a collision with the login
prompt at tty2)

-------------------------------------------------------------------
Tue Feb 18 13:14:30 UTC 2025 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com>

Expand Down