Re[2]: Reboot or Shutdown commands dont exit from tty auto

From: Laurent Bercot <ska-supervision_at_skarnet.org>
Date: Sun, 24 Nov 2024 12:49:30 +0000

> Would it then be correct to remove agetty from the supervised?

  No, you should be able to run a shutdown command from any terminal,
the design of s6-linux-init is made for that use case.

  What's happening is that your agetty is resistant to the signal it's
being sent, so it's not dying when it should.

  Some implementations of getty explicitly resist SIGTERM. So, try
"echo SIGHUP > down-signal" in the service directory for your agetty.

--
  Laurent
Received on Sun Nov 24 2024 - 13:49:30 CET

This archive was generated by hypermail 2.4.0 : Sun Nov 24 2024 - 13:50:02 CET