Subject: Re: bug#580: libguestfs-tools crashed because of unsolved dependcies to libsystemd.so on Devuan

From: Mark Hindley <[email-masked]>
Date: Fri, 14 May 2021 14:38:29 +0100

Joerg,

Sorry, there is a typo in what I wrote

On Fri, May 14, 2021 at 02:02:13PM +0200, Joerg Schiermeier wrote:
> Hello Mark,
> 
> on Thursday, May 13th, 2021 at 23:12 o'clock you wrote:
> 
> MH> You should have either one of
> 
> MH>  /usr/lib/x86_64-linux-gnu/libsytemd.so.0
> $ ls -l /usr/lib/x86_64-linux-gnu/libsytemd.so.0
> ls: cannot access '/usr/lib/x86_64-linux-gnu/libsytemd.so.0': No such file or directory
> 
> MH>  /lib/x86_64-linux-gnu/libsytemd.so.0
> $ ls -l /lib/x86_64-linux-gnu/libsytemd.so.0
> ls: cannot access '/lib/x86_64-linux-gnu/libsytemd.so.0': No such file or directory
> 
> MH> Which is present?

libsystemd.so.0 rather than libsytemd.so.0. Apologies,

> # dpkg -l '*' | grep -i libelogind0
> ii  libelogind0:amd64                                                         241.4-2                                                 amd64        user, seat and session management library
> ii  libelogind0:i386                                                          241.4-2                                                 i386         user, seat and session management library
> 
> Aha, OK.
> 
> So:
> # dpkg -L libelogind0:amd64
> /.
> /usr
> /usr/lib
> /usr/lib/x86_64-linux-gnu
> /usr/lib/x86_64-linux-gnu/libelogind.so.0.25.0
> /usr/share
> /usr/share/doc
> /usr/share/doc/libelogind0
> /usr/share/doc/libelogind0/README.Debian
> /usr/share/doc/libelogind0/changelog.Debian.gz
> /usr/share/doc/libelogind0/copyright
> /usr/lib/x86_64-linux-gnu/libelogind.so.0
> /usr/lib/x86_64-linux-gnu/libsystemd.so.0
>
> and:
> 
> # ls -l /usr/lib/x86_64-linux-gnu/libelogind.so.0
> lrwxrwxrwx. 1 root root 20 Jan  1  2020 /usr/lib/x86_64-linux-gnu/libelogind.so.0 -> libelogind.so.0.25.0
> 
> # ls -l /usr/lib/x86_64-linux-gnu/libsystemd.so.0
> lrwxrwxrwx. 1 root root 15 Jan  1  2020 /usr/lib/x86_64-linux-gnu/libsystemd.so.0 -> libelogind.so.0
> 
> 
> # ls -l /usr/lib/x86_64-linux-gnu/libelogind.so.0.25.0
> -rw-r--r--. 1 root root 830880 Jan  1  2020 /usr/lib/x86_64-linux-gnu/libelogind.so.0.25.0

Which looks correct. I don't understand why guestfsd doesn't find and use the
libsystemd.so.0 symlink.

What does ldd /usr/sbin/guestfsd show?

Mark