Article 52XVH systemctl rescue does not kill interactive shells?

systemctl rescue does not kill interactive shells?

by
berndbausch
from LinuxQuestions.org on (#52XVH)
I thought that the rescue target, which I can enter from multi-user with the commands systemctl rescueor systemctl isolate rescue, is single-user mode.

However I just found that on my Centos 8 server, existing interactive sessions continue. Also, systemctl rescue is supposed to send a message to all logged-in users but doesn't. I also expected it to shut down networking - it is obviously up.

The sshd service is shut down.

On a Debian 10 server, the behavior is different. The main network interface is shut down, but the bash process that I launched by logging on via ssh is still running.

I expected all interactive sessions and the network interfaces to be stopped. Is there a problem with the servers' configuration or is my expectation wrong?latest?d=yIl2AUoC8zA latest?i=TSXKb-epans:erpv4k9ACus:F7zBnMy latest?i=TSXKb-epans:erpv4k9ACus:V_sGLiP latest?d=qj6IDK7rITs latest?i=TSXKb-epans:erpv4k9ACus:gIN9vFwTSXKb-epans
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments