On 13 August 2012 17:06, Olivier Thauvin <[email protected]> wrote: > Indeed: > > [root@apus bug-glibc]# rpm -q glibc > glibc-2.14.1-8.mga2 > glibc-2.16-5.mga3 > glibc-2.16-8.mga3 > > I wonder if it's not systemd fault: > > - systemd is installed and the line is added to /etc/pam.d/system-auth > (sshd is not restarted) > - later I urpmi --auto-update, a new glibc is installed and at end of > install sshd get restarted - this included my session - rpm is killed > too. > > 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.
Remember 10 years ago, flepied wanted us to restart services on glibc upgrade for security concerns & b/c: # On upgrade the services doesn't work because libnss couldn't be # loaded anymore. Over the time, only sshd remains. Now that urpmi advices to reboot, we could skip that %post script bit
