RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1285810 - Dracut module 'dmsquash-live' depends on 'img-lib' in kernel scriplet
Summary: Dracut module 'dmsquash-live' depends on 'img-lib' in kernel scriplet
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: dracut
Version: 7.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: dracut-maint
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks: 1289485 1313485
TreeView+ depends on / blocked
 
Reported: 2015-11-26 14:09 UTC by Lukas Zapletal
Modified: 2016-04-04 07:32 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-04 07:32:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Lukas Zapletal 2015-11-26 14:09:48 UTC
Cannot build a live image using livecd-creatorr because of some dependency issues in kernel scriplet:

dracut module 'dmsquash-live' depends on 'img-lib', which can't be installed
dracut module 'dmsquash-live' cannot be found or installed.
mkinitrd failed
warning: %posttrans(kernel-3.10.0-327.el7.x86_64) scriptlet failed, exit status 1

This is regression, it was working in 7.1.

Comment 2 Harald Hoyer 2015-11-26 15:18:18 UTC
img lib needs "tar gzip dd bash"

Comment 3 Lukas Zapletal 2015-11-27 13:22:26 UTC
So do you think as a workaround I can add those in the package kickstart profile? Are you going to fix the dependencies of the package, so I can make temporary comment with link to this BZ report? Thanks!

Comment 4 Harald Hoyer 2015-11-30 10:05:37 UTC
Upstream we already have a dracut-live subpackage, which requires "tar" and "gzip".

So, yes, I can change the requirements for dracut in 7.3.

Comment 5 Lukas Zapletal 2015-11-30 14:08:43 UTC
For the record, the temporary fix implemented in

https://github.com/theforeman/foreman-discovery-image/pull/54

Comment 6 Lukas Zapletal 2015-11-30 15:01:21 UTC
Ok I have added the following new packages in the kickstart:

%packages
tar
gzip
coreutils
bash

And I am still getting:

dracut module 'dmsquash-live' depends on 'img-lib', which can't be installed
dracut module 'dmsquash-live' cannot be found or installed.
mkinitrd failed
warning: %posttrans(kernel-3.10.0-327.el7.x86_64) scriptlet failed, exit status 1

Comment 8 Lukas Zapletal 2015-11-30 15:22:26 UTC
Oooh we had "-tar" in our kickstart! Trying without this line.

Comment 9 Lukas Zapletal 2015-11-30 16:03:53 UTC
Yep, that was it, sorry for the noise. Looks similar to https://bugzilla.redhat.com/show_bug.cgi?id=1182362

Comment 10 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 11 Lukas Zapletal 2016-04-04 07:32:35 UTC
I think this one can be closed.


Note You need to log in before you can comment on or make changes to this bug.