> 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