Le 14/08/2012 10:06, Olivier Thauvin a écrit :
* Olav Vitters ([email protected]) wrote:
On Mon, Aug 13, 2012 at 05:06:47PM +0200, Olivier Thauvin wrote:
But also the good question is why sshd is restarted when the glibc get
updated. This is no real reason and this can cause issue if locale need
an update too.
Make sure UsePAM is set in sshd_config.
IIRC during glibc upgrades the services are either restarted or
reloaded. Without UsePAM, systemd will kill your existing session.
Either a change in Pam configuration or in sshd_config will need a
restart, but for both of this it is too late as systemd is already
in place and so any restart will kill all session.
And the behavior I explained happend to me on a computer already having
UsePam in sshd_config (to use ldap).
Which reminds me I wanted to fix the message in sshd_configuration file:
https://www.mageia.org/pipermail/mageia-dev/2012-May/015683.html
Sshd has no reload facility, only a restart.
The sshd daemon support SIGHUP, according to its manpage, so 'systemctl
reload sshd.service' should work.
--
BOFH excuse #39:
terrorist activities