https://bugzilla.redhat.com/show_bug.cgi?id=2079295
Bug ID: 2079295 Summary: Busybox requires ld-musl-x86_64.so.1, but must be static Product: Fedora Version: rawhide OS: Linux Status: NEW Component: busybox Severity: medium Assignee: spotrh@gmail.com Reporter: atu@nmetau.edu.ua QA Contact: extras-qa@fedoraproject.org CC: admiller@redhat.com, dcavalca@fb.com, dvlasenk@redhat.com, epel-packagers-sig@lists.fedoraproject.org, spotrh@gmail.com Target Milestone: --- Classification: Fedora
Description of problem: Busybox is a special binary, which must be static. However, it requires so from musl library.
Version-Release number of selected component (if applicable): busybox-1:1.35.0-4.fc37.x86_64
How reproducible: Always
Steps to Reproduce: 1. rpm -Uvh --test busybox-1.35.0-4.fc37.x86_64.rpm
Actual results: error: Failed dependencies: ld-musl-x86_64.so.1()(64bit) is needed by busybox-1:1.35.0-4.fc37.x86_64
Expected results: Clean install without dependencies from any library.
Additional info:
https://bugzilla.redhat.com/show_bug.cgi?id=2079295
Jonas Ådahl jadahl@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Doc Type|--- |If docs needed, set a value CC| |jadahl@redhat.com
--- Comment #2 from Jonas Ådahl jadahl@redhat.com --- This issue breaks using `virtme-run` with -script-sh or -script-exec, as that works by copying the assumingly static /usr/sbin/busybox into a initramfs where it will assume it'll work without external shared objects. It doesn't, however, unless one *also* copies /lib/ld-musl-x86_64.so.1 into /lib in the initramfs. Doing that, I'd say is a work around, one should be able to assume /usr/sbin/busybox is a static executable, can one not, assuming no busybox-shared etc is installed.
This applies to F36 too. Should I clone this bug for F36?
Some other observations:
In F35, `ldd /usr/sbin/busybox` gives me "not a dynamic executable" while on F36 I get
linux-vdso.so.1 (0x00007ffc89161000) ld-musl-x86_64.so.1 => /lib/ld-musl-x86_64.so.1 (0x00007fa94925e000)
epel-packagers-sig@lists.stg.fedoraproject.org