Public bug reported:

A user reported that libguestfs-test-tool is broken on Resolute, with
the following failure mode:

++ od -x -A n
+ machine_id=' c8ce 3a4d 5997 9aad cb59 7275 0ed4 b246'
+ echo c8ce3a4d59979aadcb5972750ed4b246
+ systemd-tmpfiles --prefix=/dev --prefix=/run --prefix=/var/run --create --boot
systemd-tmpfiles: error while loading shared libraries: libzstd.so.1: cannot 
open shared object file: No such file or directory
+ for f in /lib/systemd/systemd-udevd /usr/lib/systemd/systemd-udevd 
/sbin/udevd /lib/udev/udevd /usr/lib/udev/udevd
+ '[' -x /lib/systemd/systemd-udevd ']'
+ UDEVD=/lib/systemd/systemd-udevd


I believe the issue is that the guest environment is not copying or making 
available libzstd within itself. (based on the fact that we confirmed that the 
user does have a valid libzstd.so.1 resolution on their host):


$ ldd $(which systemd-tmpfiles)
    linux-vdso.so.1 (0x0000769cbcd37000)
    libsystemd-shared-259.so => 
/usr/lib/x86_64-linux-gnu/systemd/libsystemd-shared-259.so (0x0000769cbc800000)
    libc.so.6 => /usr/lib/x86_64-linux-gnu/libc.so.6 (0x0000769cbc400000)
    libcrypt.so.1 => /usr/lib/x86_64-linux-gnu/libcrypt.so.1 
(0x0000769cbc7c3000)
    libcrypto.so.3 => /usr/lib/x86_64-linux-gnu/libcrypto.so.3 
(0x0000769cbbc00000)
    libm.so.6 => /usr/lib/x86_64-linux-gnu/libm.so.6 (0x0000769cbc69d000)
    /lib64/ld-linux-x86-64.so.2 (0x0000769cbcd39000)
    libz.so.1 => /usr/lib/x86_64-linux-gnu/libz.so.1 (0x0000769cbc67f000)
    libzstd.so.1 => /usr/lib/x86_64-linux-gnu/libzstd.so.1 (0x0000769cbc2e9000)

$ apt list --installed | grep zstd

WARNING: apt does not have a stable CLI interface. Use with caution in
scripts.

libzstd-dev/resolute,now 1.5.7+dfsg-3 amd64 [installed]
libzstd-dev/resolute,now 1.5.7+dfsg-3 i386 [installed,automatic]
libzstd1/resolute,now 1.5.7+dfsg-3 amd64 [installed]
libzstd1/resolute,now 1.5.7+dfsg-3 i386 [installed,automatic]
zstd/resolute,now 1.5.7+dfsg-3 amd64 [installed,automatic]

$ ldconfig -p | grep zstd
    libzstd.so.1 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libzstd.so.1
    libzstd.so.1 (libc6) => /usr/lib/i386-linux-gnu/libzstd.so.1
    libzstd.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libzstd.so
    libzstd.so (libc6) => /usr/lib/i386-linux-gnu/libzstd.so


The user said that he believes the guest appliance was completely fresh, and 
that he is fairly certain that this is the first time libguestfs-test-tool was 
attempted on this installation.

Attached is the full log from the user.

** Affects: libguestfs (Ubuntu)
     Importance: High
         Status: New

** Affects: libguestfs (Ubuntu Resolute)
     Importance: Undecided
         Status: New

** Attachment added: "libguestfs-error-log.txt"
   
https://bugs.launchpad.net/bugs/2163548/+attachment/5992247/+files/libguestfs-error-log.txt

** Changed in: libguestfs (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2163548

Title:
  libguestfs-test-tool is broken on resolute due to libzstd
  unavailability in guest appliance

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libguestfs/+bug/2163548/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to