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 1371989

Summary: lftp-4.0.9-6.el6_8.2 waits forever on connection during mirroring
Product: Red Hat Enterprise Linux 6 Reporter: p.f.leggett
Component: lftpAssignee: Michal Ruprich <mruprich>
Status: CLOSED DUPLICATE QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.8   
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-13 11:55:09 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 p.f.leggett 2016-08-31 15:40:12 UTC
Description of problem:

A recently released  bug fix version of lftp no longer works when used for mirroring repositories as part of the mrepo program.

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

4.0.9-6.el6_8.2 exhibits has the problem.

Downgrading to 4.0.9-6.el6 (previous version) fixes it.

How reproducible:

The following will show the problem,

lftp -c 'mirror -c -P -v -v -v -e -I *.rpm -X "/headers/" -X "/repodata/" -X "*.src.rpm" -X "/SRPMS/" -X "*-debuginfo-*.rpm" -X "/debug/" http://spacewalk.redhat.com/yum/2.3-client/RHEL/5/i386/ /tmp/test'

Some of the output from above:-

$ lftp -c 'mirror -c -P -v -v -v -e -I *.rpm -X "/headers/" -X "/repodata/" -X "*.src.rpm" -X "/SRPMS/" -X "*-debuginfo-*.rpm" -X "/debug/" http://spacewalk.redhat.com/yum/2.3-client/RHEL/5/i386/ /tmp/test'
---- Resolving host address...
---- 1 address found: 209.132.183.81                           
---- Connecting to spacewalk.redhat.com (209.132.183.81) port 80
<--- HTTP/1.1 200 OK                               
<--- Date: Wed, 31 Aug 2016 15:31:36 GMT
<--- Server: Apache
<--- Connection: close
<--- Content-Type: text/html;charset=ISO-8859-1
<--- does not 
---- Connecting to spacewalk.redhat.com (209.132.183.81) port 80
<--- HTTP/1.1 200 OK                            
<--- Date: Wed, 31 Aug 2016 15:31:36 GMT
<--- Server: Apache
<--- Content-Length: 6864
<--- Connection: close
<--- Content-Type: text/html;charset=ISO-8859-1
..
..
..
---- Connecting to spacewalk.redhat.com (209.132.183.81) port 80
<--- HTTP/1.1 200 OK                                      
<--- Date: Wed, 31 Aug 2016 15:37:06 GMT
<--- Server: Apache
<--- Content-Length: 2572
<--- Connection: close
<--- Content-Type: text/html;charset=ISO-8859-1
<--- 
---- Connecting to spacewalk.redhat.com (209.132.183.81) port 80
repodata: Getting files information (100%) [Waiting for response...]

Hangs at this point.


Actual results:

lftp command does not complete.
does not 
Expected results:

lftp command should complete.

Additional info:

I have tested this on a virgin vagrant centos 6.8 VM and a number of VM's running Centos 6 with the same result. Downgrading makes the lftp command work again.

Comment 3 Michal Ruprich 2016-12-13 11:55:09 UTC

*** This bug has been marked as a duplicate of bug 1228484 ***