[CentOS] running init disconnects ssh session

Fri Sep 20 10:13:29 UTC 2019
James Pearson <james-p at moving-picture.com>

Stephen Berg (Code 7309) via CentOS wrote:
> On 9/19/19 12:15 PM, James Pearson wrote:
>> Stephen Berg (Code 7309) via CentOS wrote:
>>> Noticing a new behavior lately.  Logged in via sshd and ssh keys as root
>>> to a remote system.  When changing runlevels between multi-user or
>>> graphical the ssh session is disconnected.  It's not a big deal but
>>> annoying if I have other tasks to do on that particular system. I've
>>> tried logging in as normal user, su to root and it still disconnects the
>>> ssh session upon either an "init 3" or "systemctl isolate
>>> multi-user.target" command.
>> That sounds like a bug to me ... doesn't happen with 7.6, but does
>> with 7.7 ...
>> Might need to report it via https://bugzilla.redhat.com (if there
>> isn't already a bug report for the issue)
>> James Pearson
> I'll send a bug report in the morning, quitting time for me today. I did
> just notice that it seems as though any ssh session is disconnected.
> Logged in as myself to system A, then logged in as root to system A.
> Changed runlevel from the root login and both sessions disconnected.

Looks like this is a known issue:



James Pearson