Bug 526432

Summary: deltarpm contains an own, modified copy of zlib
Product: [Fedora] Fedora Reporter: Florian Festi <ffesti>
Component: deltarpmAssignee: Jonathan Dieter <jonathan>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: a.badger, cassmodiah, jonathan, mls, robatino
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 3.4-18.fc11 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-10-09 03:37:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 495310    
Bug Blocks: 504493    
Attachments:
Description Flags
Patch to build against system zlib and fix to detection of COMP_ZLIB_RSYNC payloads none

Description Florian Festi 2009-09-30 08:57:24 UTC
...for supporting the rsync protocol.

Shipping an own copy of a system library is not allowed by the Fedora Packaging Guidelines (and bad practise and bad for security). Problem is that rsync does also contain a modified version of zlib and though the modified zlib is needed to support the rsync protocol. This means that rsync/zlib needs to be fixed first.

See also: https://www.redhat.com/archives/fedora-devel-list/2009-September/msg00525.html and follow ups

Comment 1 Toshio Ernie Kuratomi 2009-09-30 17:21:49 UTC
According to Michael Schroeder, this is not the same fork as the rsync fork.  Does anyone know if this fork is necessary or just an optimization?  I'm rebuilding against system zlib now under the assumption that this is only an optimization.

Comment 2 Toshio Ernie Kuratomi 2009-10-01 06:46:10 UTC
mls, jdieter Okay, I've gotten all packages rebuilt but not pushed yet (except F-13 of course). mls, I'll attach the patch I made for your comments.  jdieter, can you do some testing?

To push this to F-12, we'll want to add information to this ticket about what we've tested:  https://fedorahosted.org/rel-eng/ticket/2240

We want to get this onto the releng boxes in fedora infrastructure as well.  But we'll need a change request for that.  I'd like to have testing done first so that we can make just one change request.

Here's the CVE for the zlib issue that's unpatched in the bundled library.
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-1849

Comment 3 Toshio Ernie Kuratomi 2009-10-01 06:48:00 UTC
Created attachment 363280 [details]
Patch to build against system zlib and fix to detection of COMP_ZLIB_RSYNC payloads

Patch that's been applied or backported to deltarpm

Comment 4 Jonathan Dieter 2009-10-01 07:20:50 UTC
I've just tested the builds for F11 and Rawhide (x86_64) from inside yum-presto (yum downgrade bzr; yum update bzr) and everything worked perfectly.

Thanks so much for your work on this!

Comment 5 Fedora Update System 2009-10-01 17:11:43 UTC
deltarpm-3.4-11.fc10.1 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/deltarpm-3.4-11.fc10.1

Comment 6 Fedora Update System 2009-10-01 17:11:48 UTC
deltarpm-3.4-8.el5.1 has been submitted as an update for Fedora EPEL 5.
http://admin.fedoraproject.org/updates/deltarpm-3.4-8.el5.1

Comment 7 Fedora Update System 2009-10-01 17:11:53 UTC
deltarpm-3.4-8.el4.1 has been submitted as an update for Fedora EPEL 4.
http://admin.fedoraproject.org/updates/deltarpm-3.4-8.el4.1

Comment 8 Fedora Update System 2009-10-01 17:11:57 UTC
deltarpm-3.4-17.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/deltarpm-3.4-17.fc11

Comment 9 Fedora Update System 2009-10-03 19:12:18 UTC
deltarpm-3.4-11.fc10.1 has been pushed to the Fedora 10 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update deltarpm'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-10233

Comment 10 Fedora Update System 2009-10-03 19:12:50 UTC
deltarpm-3.4-17.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update deltarpm'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-10237

Comment 11 Fedora Update System 2009-10-05 10:38:22 UTC
deltarpm-3.4-18.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/deltarpm-3.4-18.fc11

Comment 12 Fedora Update System 2009-10-06 10:03:50 UTC
deltarpm-3.4-18.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update deltarpm'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-10262

Comment 13 Fedora Update System 2009-10-08 18:03:05 UTC
deltarpm-3.4-8.el5.1 has been pushed to the Fedora EPEL 5 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update deltarpm'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/EL-5/FEDORA-EPEL-2009-0586

Comment 14 Fedora Update System 2009-10-08 18:03:50 UTC
deltarpm-3.4-8.el4.1 has been pushed to the Fedora EPEL 4 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update deltarpm'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/EL-4/FEDORA-EPEL-2009-0591

Comment 15 Fedora Update System 2009-10-09 03:37:20 UTC
deltarpm-3.4-17.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 16 Fedora Update System 2009-10-09 03:43:52 UTC
deltarpm-3.4-11.fc10.1 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 17 Fedora Update System 2009-10-10 20:24:39 UTC
deltarpm-3.4-8.el4.1 has been pushed to the Fedora EPEL 4 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 18 Fedora Update System 2009-10-10 20:26:01 UTC
deltarpm-3.4-8.el5.1 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 19 Fedora Update System 2009-10-14 01:40:58 UTC
deltarpm-3.4-18.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.