portage-stable: Add Killmode=process into openssh service
By default, sshd's KillMode is control-group. Whenever, we reboot
the sshd, it will restart main daemon and forked processes, which
results to the drop of current sessions. This is not desired behavior
from customers, and also results to confusion and problem in the bug.
Other Enterprise distribution perfers to limit the killmode at process
level, which makes sens in a lot of scenarios.
TEST=presbumit, and manually test(systemctl restart sshd)
Tested-by: Cusky Presubmit Bot <email@example.com>
Reviewed-by: Robert Kolchmeyer <firstname.lastname@example.org>
1 file changed