Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
This issue is forked from https://bugzilla.redhat.com/show_bug.cgi?id=1814335
Description of problem:
Rightnow we have a strict dependency on the Perl package for ppc64-diag. But FCOS doesn't ship any perl right now, and it'd be preferable to keep it that way if possible (for example, FCOS doesn't ship python either right now). Do we really need Perl though to support hotplugged devices? Is there a more minimal set of packages that we can install that will do what we want? Can we tweak packaging to make the Perl-requiring bits a separate subpackage?
While addressing the above requirement, we encountered that ppc64-diag requires powerpc-util package which does depend on the Perl, so this bug is to address the Perl deps for the powerpc-utils package. Please refer to the bug mentioned in the first line for any additional information.
(In reply to lmcfadde from comment #2)
> Any update/progress on removing the Perl deps for the powerpc-utils package?
we have 2 options:
#1 : the 1. option is to move drmgr into subpackage powerpc-utils-core and CoreOS should install powerpc-utils-core instead powerpc-utils.
#2 : create powerpc-utils-perl-scripts subpackage (comment 3)
The RHEL-8.3.0-20200425.n.0 recipe in https://beaker.engineering.redhat.com/jobs/4222981 (https://beaker.engineering.redhat.com/recipes/8181652#task109516715) verifies the presence of the drmgr and rtas_errd commands even in the absence of the perl-interpreter package, with powerpc-utils-core-1.3.6-6.el8 and ppc64-diag-rtas-2.7.6-2.el8, as seen in the following output.
- eval drmgr=$(type -p drmgr) && rtas_errd=$(type -p rtas_errd) && rpm -qf $drmgr && rpm -qf $rtas_errd && dnf -qy --noautoremove remove perl-interpreter && rpm -qf $drmgr && rpm -qf $rtas_errd
powerpc-utils-core-1.3.6-6.el8.ppc64le
ppc64-diag-rtas-2.7.6-2.el8.ppc64le
powerpc-utils-core-1.3.6-6.el8.ppc64le
ppc64-diag-rtas-2.7.6-2.el8.ppc64le
- pass: the command returns 0.
In the RHEL-8.3.0-20200423.n.0 recipe (with powerpc-utils-1.3.6-6.el8 and ppc64-diag-2.7.6-1.el8) drmgr exists in the absence of perl-interpreter but rtas_errd does not exist, as seen in the following output.
- eval drmgr=$(type -p drmgr) && rtas_errd=$(type -p rtas_errd) && rpm -qf $drmgr && rpm -qf $rtas_errd && dnf -qy --noautoremove remove perl-interpreter && rpm -qf $drmgr && rpm -qf $rtas_errd
powerpc-utils-core-1.3.6-6.el8.ppc64le
ppc64-diag-2.7.6-1.el8.ppc64le
powerpc-utils-core-1.3.6-6.el8.ppc64le
- fail: unexpected error code 1.
The dependence of rtas_errd on perl-interpreter in this recipe is a result of RHEL-8.3.0-20200423.n.0 not having the fix for bug 1814335.
In the RHEL-8.3.0-20200422.n.1 recipe (with powerpc-utils-1.3.6-5.el8 and ppc64-diag-2.7.6-1.el8) removing the perl-interpreter package removes drmgr, as seen in the following output.
- eval drmgr=$(type -p drmgr) && rtas_errd=$(type -p rtas_errd) && rpm -qf $drmgr && rpm -qf $rtas_errd && dnf -qy --noautoremove remove perl-interpreter && rpm -qf $drmgr && rpm -qf $rtas_errd
powerpc-utils-1.3.6-5.el8.ppc64le
ppc64-diag-2.7.6-1.el8.ppc64le
- fail: unexpected error code 1.
powerpc-utils-core-1.3.6-6.el8 does not include the patch in attachment 1678816[details], contrary to what the summary of this bug might suggest, but the fix in powerpc-utils-core-1.3.6-6.el8 does provide a way to satisfy the apparent goals of bug 1814335, with a suitable choice of packages in CoreOS.
I'll move this to VERIFIED under the assumption that having powerpc-utils depend on perl-interpreter does not contradict the goal of this bug; rather, smaller packages (powerpc-utils-core and ppc64-diag-rtas) provide selected binaries with no perl dependency.
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 (powerpc-utils bug fix and enhancement update), 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-2020:4475
Comment 18Red Hat Bugzilla
2023-09-14 05:54:55 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days