Red Hat Bugzilla – Bug 1477207
rlogin killed when changing run level
Last modified: 2017-08-10 23:41:46 EDT
Description of problem:
If the runlevel on a host is changed, any rlogin sessions to that host are killed
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install rsh-server on host
2. rlogin into host from a client
3. On rsh-server host, change run level (e.g. with 'telinit' or 'systemctl isolate'
rlogin session terminates
rlogin session continues
Adding 'KillMode=none' to the '[Service]' section of rlogin@.sevice prevents the session from being killed - although not sure if this is a sensible workaround?
The KillMode=none option could actually make some trouble during shutdown. The option we're looking for here is IgnoreOnIsolate=true in the [Unit] section. I tried that and it works.
James can you confirm that adding this option to rlogin@.service works for you as well? If so, I will probably add this to the service file.
IgnoreOnIsolate=true appears to work for me - thanks