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 1416155 - RFE: The RHEL7 installation image should contain a list of the packages used to create the image
Summary: RFE: The RHEL7 installation image should contain a list of the packages used ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: lorax
Version: 7.4
Hardware: All
OS: Linux
unspecified
high
Target Milestone: rc
: ---
Assignee: Brian Lane
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-01-24 17:47 UTC by Martin Kolman
Modified: 2018-04-10 17:39 UTC (History)
4 users (show)

Fixed In Version: lorax-19.6.98-1
Doc Type: Enhancement
Doc Text:
Feature: Log the package names used to create the boot.iso to "/root/lorax-packages.log" Reason: There is no rpmdb in the boot.iso, so it is difficult to tell what packages are used when creating the boot.iso without the original logs. Result: Package names and versions are logged to /root/lorax-packages.log
Clone Of:
Environment:
Last Closed: 2018-04-10 17:38:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0947 0 None None None 2018-04-10 17:39:16 UTC

Description Martin Kolman 2017-01-24 17:47:14 UTC
Description of problem:
As the RHEL7 installation image does not contain the RPM database (for space saving reasons), it is currently not possible to check the version of packages that are installed on it/have been used to create the image from inside the image (without querying external build logs).

It would be good if the image could contain a list of packages that have been used to create it - so that a users can for example check if a fix has been propagated to the image by checking that a version of a package with the fix has been used to create the given installation image.

Version-Release number of selected component (if applicable):
RHEL 7.4 nightlies

How reproducible:
always

Steps to Reproduce:
1. start RHEL7 installation
2. switch to TTY2, which is running a root shell

Actual results:
There is no file on the image listing what packages have been used to create the given image, making it not possible to check from the shell what packages at which version have been used to crete the image.

Expected results:
There is a file (say /root/lorax-packages.log) that list all the packages (including package version) used to create the image.

Additional info:
Lorax already creates the /root/lorax-packages.log for Fedora installation images.

Comment 2 Brian Lane 2017-08-08 21:30:35 UTC
https://github.com/rhinstaller/lorax/pull/232

Comment 4 Jan Stodola 2017-12-05 09:59:45 UTC
/root/lorax-packages.log is available during installation and the file contains a list of packages used to build the installation images.

Tested with lorax-19.6.101-1.el7.
Moving to VERIFIED.

Comment 7 errata-xmlrpc 2018-04-10 17:38:04 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:0947


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