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.

Bug 2039488

Summary: RFE: upgrade to 1.5.1 and enable gz/xz,lzma/lz4 support
Product: Red Hat Enterprise Linux 9 Reporter: Michel Lind <michel>
Component: zstdAssignee: Jakub Martisko <jamartis>
Status: CLOSED ERRATA QA Contact: Radka Brychtova <rskvaril>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: CentOS StreamCC: bstinson, jamartis, jwboyer, ngompa13, rskvaril
Target Milestone: rcKeywords: FutureFeature, Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: zstd-1.5.1-1.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-17 16:03:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michel Lind 2022-01-11 18:57:00 UTC
Description of problem:
1.5.1 is out with
- speed improvements
- compression gains
- smaller binary sizes

We should rebase the changes in Fedora's 1.5.1-5 which also enables the optional gz, xz/lzma, and lz4 support. This gets linked into the zstd binary, so it does not affect libzstd. Debian enables it and it's faster than invoking gzip/gunzip.

See discussion in https://src.fedoraproject.org/rpms/zstd/pull-request/4 

Version-Release number of selected component (if applicable):
1.5.0-2

Additional info:
MR coming up

Comment 2 Michel Lind 2022-01-11 19:12:58 UTC
Note that there's a security fix as well backported from Fedora: amd64 assembly code is now only used on x86_64, ensuring the stack is non-executable:
https://github.com/facebook/zstd/issues/2963

Comment 4 Michel Lind 2022-01-11 22:28:31 UTC
Fix MR link

Comment 5 Jakub Martisko 2022-01-14 12:34:31 UTC
Thanks for the MR, I'll try to look at it as soon as possible.

Comment 6 Michel Lind 2022-01-19 17:54:57 UTC
(In reply to Jakub Martisko from comment #5)
> Thanks for the MR, I'll try to look at it as soon as possible.

thanks Jakub. as I noted there, I can't upload to the lookaside cache, so unfortunately the CI is failing right now.

Comment 7 Michel Lind 2022-02-03 06:08:29 UTC
Jakub, any chance you could take a look soon? We're getting quite close to freeze time. Thanks! Also, please spectool -gf and centpkg new-sources for me, since I can't upload the new sources, so CI does not work.

Comment 14 errata-xmlrpc 2022-05-17 16:03:25 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 (new packages: zstd), 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-2022:4052

Comment 15 Red Hat Bugzilla 2023-09-15 01:50:59 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 365 days