Package: dracut
Version: 051-1
Severity: important

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

-- System Information:
Debian Release: 11.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.47-linuxkit (SMP w/4 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_RANDSTRUCT
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /bin/dash
Init: unable to detect

Versions of packages dracut depends on:
ii  dracut-core  051-1

dracut recommends no packages.

Versions of packages dracut suggests:
ii  dracut-network  051-1

-- no debconf information

Reply via email to