El 2024-11-24 13:49, Laurent Bercot escribió:

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

Thank you Laurent, it works perfectly with that "echo", at least I'm not crazy xDD

Can I do anything to make my agetty behave compatible or accept this signal? The solution would be to implement ngetty?

Thanks again, Luis.

Reply via email to