Bug 1371989

Summary: lftp-4.0.9-6.el6_8.2 waits forever on connection during mirroring
Product: Red Hat Enterprise Linux 6 Reporter: Pete Leggett <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:

Description Pete 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 ***