Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 714838 - sys-kernel/dracut-050 generates bad initramfs with busybox module enabled
Summary: sys-kernel/dracut-050 generates bad initramfs with busybox module enabled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: 729656
  Show dependency tree
 
Reported: 2020-03-26 09:38 UTC by Daniel Harding
Modified: 2020-07-03 11:18 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Harding 2020-03-26 09:38:29 UTC
Upstream bug:  https://bugzilla.redhat.com/show_bug.cgi?id=1810504

The symptom is that the busybox symlinks are created in the root of the initramfs instead of under /bin, /sbin, etc.  This includes init, which ends up pointing to busybox instead of systemd, resulting in a failure to boot.
Comment 1 David 2020-04-27 20:06:48 UTC
I can confirm this issue, disabling busybox is a working workaround for now.
Comment 2 Alexander Tsoy 2020-05-25 16:50:05 UTC
https://github.com/dracutdevs/dracut/pull/825
Comment 3 Larry the Git Cow gentoo-dev 2020-07-03 11:18:41 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88969ec3eacbd206d0f694bd865554f945dc6986

commit 88969ec3eacbd206d0f694bd865554f945dc6986
Author:     Alexander Tsoy <alexander@tsoy.me>
AuthorDate: 2020-06-24 14:46:47 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2020-07-03 11:17:37 +0000

    sys-kernel/dracut: Apply fix for busybox module to 050
    
    Closes: https://bugs.gentoo.org/714838
    Signed-off-by: Alexander Tsoy <alexander@tsoy.me>
    Closes: https://github.com/gentoo/gentoo/pull/16394
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 sys-kernel/dracut/dracut-050-r1.ebuild             | 166 +++++++++++++++++++++
 .../dracut/files/050-busybox-module-fix.patch      | 102 +++++++++++++
 2 files changed, 268 insertions(+)