Bug 2072119 - [tar-split] Drop requirement on golang/x/crypto [17.0]
Summary: [tar-split] Drop requirement on golang/x/crypto [17.0]
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: distribution
Version: 17.0 (Wallaby)
Hardware: Unspecified
OS: Unspecified
high
low
Target Milestone: ---
: ---
Assignee: OSP Team
QA Contact: Lon Hohberger
URL:
Whiteboard:
Depends On:
Blocks: 2072683 2072688
TreeView+ depends on / blocked
 
Reported: 2022-04-05 16:09 UTC by Lon Hohberger
Modified: 2022-09-21 12:20 UTC (History)
4 users (show)

Fixed In Version: golang-github-vbatts-tar-split-0.11.1-9.el9ost golang-github-Sirupsen-logrus-1.1.1-7.el9ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2072683 2072688 (view as bug list)
Environment:
Last Closed: 2022-09-21 12:20:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-14526 0 None None None 2022-04-05 16:29:07 UTC
Red Hat Product Errata RHEA-2022:6543 0 None None None 2022-09-21 12:20:34 UTC

Description Lon Hohberger 2022-04-05 16:09:34 UTC
Description of problem:

Golang is static binaries, and cryptography has been a source of problems.

We ship a binary package called "tar-split", needed by openstack-tripleo-common. This requires logrus (which is a structured logging facility). Unfortunately, logrus imports golang/x/crypto in order to determine whether or not something is a terminal.

Rather than do that, let's use a syscall directly, so we do not end up with the maintenance burden of golang/x/crypto.

golang-googlecode-go-crypto
    golang-github-Sirupsen-logrus | # let me see if I can patch it out here
        golang-github-vbatts-tar-split
            openstack-tripleo-common


Version-Release number of selected component (if applicable): golang-github-Sirupsen-logrus-1.1.1-5.el9ost

Comment 1 Lon Hohberger 2022-04-05 16:12:28 UTC
I've been able to patch out golang/x/crypto and unit tests all pass for Sirupsen-logrus.

Comment 10 errata-xmlrpc 2022-09-21 12:20:11 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 (Release of components for Red Hat OpenStack Platform 17.0 (Wallaby)), 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/RHEA-2022:6543


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