[Bug 1610721] Re: Ctrl+S in terminal causes shutdown/reboot (init) to hang

Dan Streetman 1610721 at bugs.launchpad.net
Wed Jun 30 19:50:34 UTC 2021


please reopen if this is still an issue

** Changed in: systemd (Ubuntu)
       Status: New => Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1610721

Title:
  Ctrl+S in terminal causes shutdown/reboot (init) to hang

Status in systemd package in Ubuntu:
  Won't Fix

Bug description:
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1610721/+subscriptions



More information about the foundations-bugs mailing list