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 1886201 - Please drop dependency on perl
Summary: Please drop dependency on perl
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: s390utils
Version: 8.2
Hardware: s390x
OS: Linux
unspecified
medium
Target Milestone: rc
: 8.4
Assignee: Dan Horák
QA Contact: Vilém Maršík
URL:
Whiteboard:
Depends On: 1894529
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-10-07 21:37 UTC by Prashanth Sundararaman
Modified: 2021-05-18 14:55 UTC (History)
2 users (show)

Fixed In Version: s390utils-2.15.1-2.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-18 14:55:06 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Prashanth Sundararaman 2020-10-07 21:37:57 UTC
Similar to https://bugzilla.redhat.com/show_bug.cgi?id=1877905

When building RHCOS for Openshift container platform, noticed that perl is being pulled in as a dependency.

We'd like not to ship perl (or any interpreters) on the host system to avoid people depending on them.
https://github.com/coreos/fedora-coreos-tracker/blob/master/Design.md#approach-towards-shipping-Python

Comment 1 Dan Horák 2020-10-08 12:40:08 UTC
We can't drop the Perl dependency without rewriting the remaining tools in some other language. But we can split the "base" subpackage so only the bare minimum of the tools will be in a new "core" subpackage with the Perl dependency. They will allow the system to be installed and to boot, but nothing else. This change has been already done in Fedora (see https://src.fedoraproject.org/rpms/s390utils/c/365ca29316f968e8c05ac0ecde3589288fffa582?branch=master and few next commits) and will be part of the s390utils rebase in 8.4.

Comment 6 Vilém Maršík 2020-11-06 12:42:03 UTC
Looks good. A new package s390utils-core was created without Perl dependency, and the very base functionality (zipl, dasdfmt) is there:
$ rpm -q --requires http://download.eng.brq.redhat.com/brewroot/packages/s390utils/2.15.1/2.el8/s390x/s390utils-core-2.15.1-2.el8.s390x.rpm | grep -i perl
$ rpm -ql http://download.eng.brq.redhat.com/brewroot/packages/s390utils/2.15.1/2.el8/s390x/s390utils-core-2.15.1-2.el8.s390x.rpm | grep bin/
/usr/sbin/chreipl
/usr/sbin/chzdev
/usr/sbin/cio_ignore
/usr/sbin/dasd_cio_free
/usr/sbin/dasdconf.sh
/usr/sbin/dasdfmt
/usr/sbin/dasdinfo
/usr/sbin/device_cio_free
/usr/sbin/normalize_dasd_arg
/usr/sbin/zfcp_cio_free
/usr/sbin/zfcpconf.sh
/usr/sbin/zipl
/usr/sbin/znet_cio_free

Comment 8 errata-xmlrpc 2021-05-18 14:55:06 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 (s390utils 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-2021:1617


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