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 1819566 - Remove perl deps from powerpc-utils and split package - coreos requirement
Summary: Remove perl deps from powerpc-utils and split package - coreos requirement
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: powerpc-utils
Version: 8.1
Hardware: ppc64le
OS: Linux
unspecified
urgent
Target Milestone: rc
: 8.3
Assignee: Than Ngo
QA Contact: Eirik Fuller
URL:
Whiteboard:
Depends On:
Blocks: 1776265 1819712 1844058 1844060
TreeView+ depends on / blocked
 
Reported: 2020-04-01 04:38 UTC by mkumatag
Modified: 2023-09-14 05:54 UTC (History)
9 users (show)

Fixed In Version: 1.3.6-6
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1844058 (view as bug list)
Environment:
Last Closed: 2020-11-04 01:43:13 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Spec file diffs to create powerpc-utils-perl-scripts subpackage (2.24 KB, patch)
2020-04-14 22:00 UTC, IBM Bug Proxy
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
IBM Linux Technology Center 184688 0 None None None 2020-04-01 14:23:50 UTC

Description mkumatag 2020-04-01 04:38:53 UTC
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.

Comment 2 lmcfadde 2020-04-14 20:54:48 UTC
Any update/progress on removing the Perl deps for the powerpc-utils package?

Comment 3 IBM Bug Proxy 2020-04-14 22:00:47 UTC
Created attachment 1678816 [details]
Spec file diffs to create powerpc-utils-perl-scripts subpackage

Comment 4 Than Ngo 2020-04-15 07:31:00 UTC
(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)

Comment 5 Than Ngo 2020-04-22 15:11:37 UTC
it's fixed in 1.3.6-6

Comment 8 Eirik Fuller 2020-04-26 20:59:05 UTC
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.

Comment 9 Than Ngo 2020-06-05 18:51:55 UTC
Request the fix for 8.1 and 8.2 zstream

Comment 10 Than Ngo 2020-06-06 08:14:45 UTC
we do not fix this in 8.1 at all because that's EUS and coreos is going to move off EUS soon!

Comment 17 errata-xmlrpc 2020-11-04 01:43:13 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 (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 18 Red 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


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