Public bug reported:
1. Boot an Ubuntu 16.04 machine that doesn't have an X server installed
2. When you get the terminal log-in prompt (on tty1), instead of logging in,
press Ctrl+S to stop terminal flow
3. Connect to the machine via SSH
4. Run "sudo init 0" via SSH
The init command hangs. Only when you press Ctrl+Q in the terminal does
the machine shut down.
This behavior is confusing when you accidentally hit Ctrl+S. It also
means that you cannot shut down or reboot the machine remotely if
someone has pressed Ctrl+S locally.
Pressing the power button instead of running "init 0" produces the
behavior as well - nothing happens until you press Ctrl+Q.
I'm attaching a screen recording to illustrate the problem.
** Affects: ubuntu
Importance: Undecided
Status: New
** Attachment added: "shutdown hangs with Ctrl-S.mp4"
https://bugs.launchpad.net/bugs/1610721/+attachment/4716095/+files/shutdown%20hangs%20with%20Ctrl-S.mp4
** Description changed:
1. Boot an Ubuntu 16.04 machine that doesn't have an X server installed
2. When you get the terminal log-in prompt (on tty1), instead of logging in,
press Ctrl+S to stop terminal flow
3. Connect to the machine via SSH
4. Run "sudo init 0" via SSH
The init command hangs. Only when you press Ctrl+Q in the terminal does
the machine shut down.
This behavior is confusing when you accidentally hit Ctrl+S. It also
means that you cannot shut down or reboot the machine remotely if
someone has pressed Ctrl+S locally.
+ Pressing the power button instead of running "init 0" produces the
+ behavior as well - nothing happens until you press Ctrl+Q.
+
I'm attaching a screen recording to illustrate the problem.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1610721
Title:
Ctrl+S in terminal causes shutdown/reboot (init) to hang
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1610721/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs