Bug 1317009

Summary: dracut throwing error messages about ldd when creating initramfs, might be irrelevant
Product: [Fedora] Fedora Reporter: stan <gryt2>
Component: dracutAssignee: dracut-maint-list
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: dracut-maint-list, gryt2, harald, jonathan, zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-12 10:59:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description stan 2016-03-11 17:01:05 UTC
Description of problem:
When using dracut to build an initramfs, it spews error messages about not being able to use ldd.  But the resulting initramfs seems to boot just fine.  This occurs when dnf is installing a kernel, or when I run it standalone to create an initramfs.

Version-Release number of selected component (if applicable):
Name        :  dracut
Version     :  044
Release     : 18.git20160108.fc24
Architecture: x86_64

How reproducible:
Every time

Steps to Reproduce:
1.  Install a kernel in rawhide, or run dracut manually
2.
3.

Actual results:
Errors like:
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/lib64/libgcc_s.so.1'
dracut-install: ERROR: installing '/lib64/libgcc_s.so.1'
racut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/lib64/libgcc_s.so.1'


Expected results:
No errors.


Additional info:

This is a complete stanza of one error from install, there are many of them.

/usr/lib/dracut/dracut-init.sh@211(inst_multiple): /usr/lib/dracut/dracut-install -D /var/tmp/dracut.HSmrm1/initramfs -a -l /lib64/libgcc_s.so.1 /usr/lib64/libgcc_s.so.1
dracut-install: Handle '/lib64/libgcc_s.so.1'
dracut-install: dracut_install('/lib64/libgcc_s.so.1', '/lib64/libgcc_s.so.1')
dracut-install: '/var/tmp/dracut.HSmrm1/initramfs/lib64/libgcc_s.so.1' already exists, but checking for any deps
dracut-install: ldd: '/usr/bin/ldd: line 160: /lib/ld-linux.so.2: cannot execute binary file: Exec format error
dracut-install: '
dracut-install: dracut_install('/usr/bin/ldd:', '/usr/bin/ldd:')
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/lib64/libgcc_s.so.1'
dracut-install: dracut_install('/usr/ldd:', '/usr/ldd:')
dracut-install: ldd: '  linux-vdso.so.1 (0x00007fff3033d000)
dracut-install: '
dracut-install: ldd: '  libc.so.6 => /lib64/libc.so.6 (0x00007fbb73552000)
dracut-install: '
dracut-install: dracut_install('/lib64/libc.so.6', '/lib64/libc.so.6')
dracut-install: '/var/tmp/dracut.HSmrm1/initramfs/lib64/libc.so.6' already exists
dracut-install: Lib install: '/lib64/libc.so.6'
dracut-install: dracut_install('/lib64/libc.so', '/lib64/libc.so')
dracut-install: '/var/tmp/dracut.HSmrm1/initramfs/lib64/libc.so' already exists
dracut-install: Lib install: '/lib64/libc.so'
dracut-install: dracut_install('//libc.so.6', '//libc.so.6')
dracut-install: dracut_install('//libc.so', '//libc.so')
dracut-install: ldd: '  /lib64/ld-linux-x86-64.so.2 (0x0000560cf856a000)
dracut-install: '
dracut-install: dracut_install('/lib64/ld-linux-x86-64.so.2', '/lib64/ld-linux-x86-64.so.2')
dracut-install: '/var/tmp/dracut.HSmrm1/initramfs/lib64/ld-linux-x86-64.so.2' already exists
dracut-install: Lib install: '/lib64/ld-linux-x86-64.so.2'
dracut-install: dracut_install('/lib64/ld-linux-x86-64.so', '/lib64/ld-linux-x86-64.so')
dracut-install: dracut_install('//ld-linux-x86-64.so.2', '//ld-linux-x86-64.so.2')
dracut-install: dracut_install('//ld-linux-x86-64.so', '//ld-linux-x86-64.so')
dracut-install: ERROR: installing '/lib64/libgcc_s.so.1'
dracut-install: Handle '/usr/lib64/libgcc_s.so.1'
dracut-install: dracut_install('/usr/lib64/libgcc_s.so.1', '/usr/lib64/libgcc_s.so.1')
dracut-install: '/var/tmp/dracut.HSmrm1/initramfs/usr/lib64/libgcc_s.so.1' already exists, but checking for any deps
dracut-install: ldd: '/usr/bin/ldd: line 160: /lib/ld-linux.so.2: cannot execute binary file: Exec format error
dracut-install: '
dracut-install: dracut_install('/usr/bin/ldd:', '/usr/bin/ldd:')
dracut-install: hash hit items_failed for '/usr/bin/ldd:'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/lib64/libgcc_s.so.1'
dracut-install: dracut_install('/usr/ldd:', '/usr/ldd:')
dracut-install: hash hit items_failed for '/usr/ldd:'
dracut-install: ldd: '  linux-vdso.so.1 (0x00007fffded75000)
dracut-install: '
dracut-install: ldd: '  libc.so.6 => /lib64/libc.so.6 (0x00007f0abc3c2000)
dracut-install: '
dracut-install: dracut_install('/lib64/libc.so.6', '/lib64/libc.so.6')
dracut-install: hash hit items for '/lib64/libc.so.6'
dracut-install: Lib install: '/lib64/libc.so.6'
dracut-install: dracut_install('/lib64/libc.so', '/lib64/libc.so')
dracut-install: hash hit items for '/lib64/libc.so'
dracut-install: Lib install: '/lib64/libc.so'
dracut-install: dracut_install('//libc.so.6', '//libc.so.6')
dracut-install: hash hit items_failed for '//libc.so.6'
dracut-install: dracut_install('//libc.so', '//libc.so')
dracut-install: hash hit items_failed for '//libc.so'
dracut-install: ldd: '  /lib64/ld-linux-x86-64.so.2 (0x0000562607e26000)
dracut-install: '
dracut-install: dracut_install('/lib64/ld-linux-x86-64.so.2', '/lib64/ld-linux-x86-64.so.2')
dracut-install: hash hit items for '/lib64/ld-linux-x86-64.so.2'
dracut-install: Lib install: '/lib64/ld-linux-x86-64.so.2'
dracut-install: dracut_install('/lib64/ld-linux-x86-64.so', '/lib64/ld-linux-x86-64.so')
dracut-install: hash hit items_failed for '/lib64/ld-linux-x86-64.so'
dracut-install: dracut_install('//ld-linux-x86-64.so.2', '//ld-linux-x86-64.so.2')
dracut-install: hash hit items_failed for '//ld-linux-x86-64.so.2'
dracut-install: dracut_install('//ld-linux-x86-64.so', '//ld-linux-x86-64.so')
dracut-install: hash hit items_failed for '//ld-linux-x86-64.so'
dracut-install: ERROR: installing '/usr/lib64/libgcc_s.so.1'

Comment 2 Mike McCune 2016-03-28 22:31:02 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 3 Jan Kurik 2016-07-26 04:14:29 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle.
Changing version to '25'.

Comment 4 Fedora End Of Life 2017-11-16 19:41:54 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 5 Fedora End Of Life 2017-12-12 10:59:04 UTC
Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.