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 1035782

Summary: perl-CPANPLUS: unnecessary download of 03modlist.data.gz
Product: Red Hat Enterprise Linux 7 Reporter: Florian Weimer <fweimer>
Component: perl-CPANPLUSAssignee: perl-maint-list
Status: CLOSED CURRENTRELEASE QA Contact: Martin Kyral <mkyral>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: mkyral, ppisar
Target Milestone: rcKeywords: Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: perl-CPANPLUS-0.91.38-3.el7 Doc Type: Bug Fix
Doc Text:
Cause: Running cpanp command. Consequence: CPANPLUS mirrors 03modlist.data.gz which is not used by CPANPLUS anymore. Fix: CPANPLUS::Internals::Source Perl module has been modified not to download dslip database. Result: CPANPLUS does not perform useless downloads anymore.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-12 07:56:57 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:
Bug Depends On:    
Bug Blocks: 1035754    
Attachments:
Description Flags
Proposed fix
none
Upstream fix none

Description Florian Weimer 2013-11-28 13:21:02 UTC
The modlist parser has been disabled with this line in lib/CPANPLUS/Internals/Source.pm:

    return {}; # Quick hack

which was added to the __create_dslip_tree sub.  This is nice because of the evals further down, which appear to enable arbitrary code execution.

However, the 03modlist.data.gz file is still downloaded and stored locally, which seems wasteful.

Comment 2 Petr Pisar 2013-12-09 12:17:47 UTC
Indeed, the file seems unused now. I will propose a patch to the upstream.

Comment 3 Petr Pisar 2013-12-09 12:18:48 UTC
Created attachment 834310 [details]
Proposed fix

Comment 4 Petr Pisar 2013-12-11 08:01:30 UTC
Created attachment 835171 [details]
Upstream fix

The patch has been accepted by upstream as:

commit 68f75c070e1c77a63164a8d127ea775d0ddb62dc
Author: Petr Písař <ppisar>
Date:   Mon Dec 9 19:52:01 2013 +0000

    [RT#91273] Useless downloading 03modlist.data.gz