#997827 dracut: /usr/lib/dracut/dracut-install ommit dependancies in .so

#997827#5
Date:
2021-10-25 13:55:40 UTC
From:
To:
Dear Maintainer,

   * What led up to the situation?
   dracut won't install sub libraries for plymouth script.so =>
   libply-splash-graphics.so is not installed
   The bug is in /usr/lib/dracut/dracut-install

   * What exactly did you do (or not do) that was effective (or
     ineffective)?
     dracut-install is ineffectiv in installing shared object files that
     are linked across other shared object files
     Because of this bug, plymouth themes that require script.so or
     label.so plugins won't show up.
     This but also affect all sharedd object files installed with
     inst_libdir_files() from dracut-install.sh

   * What was the outcome of this action?
   On Debian (dracut-install which is buggy):

root@debian11_container# /usr/lib/dracut/dracut-install -D /tmp/foobar --ldd /usr/lib/x86_64-linux-gnu/plymouth/script.so
root@debian11_container# find /tmp/foobar
/tmp/foobar
/tmp/foobar/usr
/tmp/foobar/usr/lib
/tmp/foobar/usr/lib/x86_64-linux-gnu
/tmp/foobar/usr/lib/x86_64-linux-gnu/plymouth
/tmp/foobar/usr/lib/x86_64-linux-gnu/plymouth/script.so

dracut-install won't install script.so dependancies (-ldd flig) while it should!

   * What outcome did you expect instead?

On CentOS-6: (same command that works properly)
mkdir /tmp/foobar
[root@centos7_container# /usr/lib/dracut/dracut-install -D /tmp/foobar --ldd /usr/lib64/plymouth/script.so
[root@centos7_container# find /tmp/foobar/
/tmp/foobar/
/tmp/foobar/usr
/tmp/foobar/usr/lib64
/tmp/foobar/usr/lib64/plymouth
/tmp/foobar/usr/lib64/plymouth/script.so
/tmp/foobar/usr/lib64/libply-splash-graphics.so.2.1.0
/tmp/foobar/usr/lib64/libply-splash-graphics.so.2
/tmp/foobar/usr/lib64/libpng15.so.15.13.0
/tmp/foobar/usr/lib64/libpng15.so.15
/tmp/foobar/usr/lib64/libpng15.so
/tmp/foobar/usr/lib64/libply-splash-core.so.2.1.0
/tmp/foobar/usr/lib64/libply-splash-core.so.2
/tmp/foobar/usr/lib64/libudev.so.1.6.2
/tmp/foobar/usr/lib64/libudev.so.1
/tmp/foobar/usr/lib64/libudev.so
/tmp/foobar/usr/lib64/libply.so.2.1.0
/tmp/foobar/usr/lib64/libply.so.2
/tmp/foobar/usr/lib64/libm-2.17.so
/tmp/foobar/usr/lib64/libm.so.6
/tmp/foobar/usr/lib64/libm.so
/tmp/foobar/usr/lib64/librt-2.17.so
/tmp/foobar/usr/lib64/librt.so.1
/tmp/foobar/usr/lib64/librt.so
/tmp/foobar/usr/lib64/libdl-2.17.so
/tmp/foobar/usr/lib64/libdl.so.2
/tmp/foobar/usr/lib64/libdl.so
/tmp/foobar/usr/lib64/libc-2.17.so
/tmp/foobar/usr/lib64/libc.so.6
/tmp/foobar/usr/lib64/libc.so
/tmp/foobar/usr/lib64/libz.so.1.2.7
/tmp/foobar/usr/lib64/libz.so.1
/tmp/foobar/usr/lib64/libz.so
/tmp/foobar/usr/lib64/libcap.so.2.22
/tmp/foobar/usr/lib64/libcap.so.2
/tmp/foobar/usr/lib64/libdw-0.172.so
/tmp/foobar/usr/lib64/libdw.so.1
/tmp/foobar/usr/lib64/libgcc_s-4.8.5-20150702.so.1
/tmp/foobar/usr/lib64/libgcc_s.so.1
/tmp/foobar/usr/lib64/libpthread-2.17.so
/tmp/foobar/usr/lib64/libpthread.so.0
/tmp/foobar/usr/lib64/libpthread.so
/tmp/foobar/usr/lib64/ld-2.17.so
/tmp/foobar/usr/lib64/ld-linux-x86-64.so.2
/tmp/foobar/usr/lib64/libattr.so.1.1.0
/tmp/foobar/usr/lib64/libattr.so.1
/tmp/foobar/usr/lib64/libelf-0.172.so
/tmp/foobar/usr/lib64/libelf.so.1
/tmp/foobar/usr/lib64/libelf.so
/tmp/foobar/usr/lib64/liblzma.so.5.2.2
/tmp/foobar/usr/lib64/liblzma.so.5
/tmp/foobar/usr/lib64/liblzma.so
/tmp/foobar/usr/lib64/libbz2.so.1.0.6
/tmp/foobar/usr/lib64/libbz2.so.1
/tmp/foobar/usr/lib64/libbz2.so
/tmp/foobar/lib64

#997827#10
Date:
2022-05-24 20:12:11 UTC
From:
To:
Please check if this bug is fixed in the new version 056-3.

The NEWS files says already for 052

- **plymouth:**  install binaries with dependencies

#997827#13
Date:
2022-05-24 20:12:11 UTC
From:
To:
Please check if this bug is fixed in the new version 056-3.

The NEWS files says already for 052

- **plymouth:**  install binaries with dependencies