[CentOS] running init disconnects ssh session

Thu Sep 19 17:27:52 UTC 2019
Stephen Berg (Code 7309) <stephen.berg at nrlssc.navy.mil>

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.

-- 
Stephen Berg, IT Specialist, Ocean Sciences Division, Code 7309
Naval Research Laboratory
W:   (228) 688-5738 <- (Preferred contact)
DSN: (312) 823-5738
C:   (228) 365-0162