The -proposed kernel has verified on x86.

** Tags removed: verification-needed-bionic
** Tags added: verification-done-bionic

** Tags removed: verification-needed-cosmic
** Tags added: verification-done-cosmic

You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.

  Console got stuck using serial tty after logout

Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Bionic:
  Fix Committed
Status in linux source package in Cosmic:
  Fix Committed

Bug description:
  The agetty stopped working using serial tty when user logged out, especially 
if there is a remained process. The agetty failed to open tty device due to 
serial port used by previous process was not released.

  [Test Case]
  1. Run background processes from serial console
  $ while true; do sleep 10; done &

  2. Log out
  $ logout

  3. Read journal log by journalctl | tail
  Jan 28 16:07:01 ubuntu systemd[1]: Stopped Serial Getty on ttyAMA0.
  Jan 28 16:07:01 ubuntu systemd[1]: Started Serial Getty on ttyAMA0.
  Jan 28 16:07:02 ubuntu agetty[1643]: /dev/ttyAMA0: not a tty

  The upstream has a fix since 4.20-rc6, which turns off TTY_IO_ERROR flag if 
port comes from console. The commit is cherry-picked by

  [Regression Potential]
  Should be none, and it's regression becoz 4.4 kernel didn't have this case.

To manage notifications about this bug go to:

Mailing list:
Post to     :
Unsubscribe :
More help   :

Reply via email to