Bug#948318: openssh-server: Unable to restart sshd restart after upgrade to version 8.1p1-2
On Sat, 18 Jan 2020 23:55:10 +0100 Marco d'Itri <md@Linux.IT> wrote:
> On Jan 07, Guillaume Brocker <guillaume.brocker@gmail.com> wrote:
>
> > janv. 06 11:10:46 sigismund sshd[27148]: /usr/sbin/sshd: /lib/i386-linux-gnu/libcrypt.so.1: version `XCRYPT_2.0' not found (required by /usr/sbin/sshd)
> Does purging libxcrypt1 make it work?
>
> If you can confirm this then I will make the next libcrypt1 conflict
> with it. I did not expect for libxcrypt1 to be still around since it was
> not shipped in buster and nobody really ever used it.
I have the same issue. The symbol is in the file provided by libcrypt1, however, it is in /usr/lib.
what I have in /lib is:
```
ls -l /lib/x86_64-linux-gnu/libcrypt.so.1
lrwxrwxrwx 1 root root 16 déc. 27 20:31 /lib/x86_64-linux-gnu/libcrypt.so.1 -> libcrypt-2.25.so
ls -l /lib/x86_64-linux-gnu/libcrypt-2.25.so
-rw-r--r-- 1 root root 39272 déc. 2 2017 libcrypt-2.25.so
```
The version (2.25) looks like it's a leftover from an older libc6 package ? no package provides libcrypt-2.25.so as a file. libcrypt has been disabled in libc6 2.29-4.
It looks like a leftover or something. Removing the file and running ldconfig fixes the issue for me (but now I wonder if I have other leftover files like this…).
Anyway, I think the bug, if it's not a local problem, isn't in openssh-server, but more in libc6, and an old version...
Cheers,
--
nodens
Reply to: