Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 552366

Summary: dev-libs/popt-1.16-r2 causes net-misc/rsync to hang
Product: Gentoo Linux Reporter: Tommy Pettersson <ptp>
Component: [OLD] LibraryAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED NEEDINFO    
Severity: normal CC: whissi
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Tommy Pettersson 2015-06-17 08:19:02 UTC
rsync hangs for me with popt-1.16-r2. Downgrading to 1.16-r1 fixes the problem, and rsync runs normally again.

Reproducible: Always

Steps to Reproduce:
server$ /etc/init.d/rsyncd start

client$ export RSYNC_CONNECT_PROG='ssh user@example.org nc localhost 873'
client$ rsync -avH --delete-delay --inplace rsync::module/path /mnt/dst/

Actual Results:  
It runs fine for a random amount of time, but after a while both the client and server rsync process get stuck in the select() loop, waiting for something that never happens.

Expected Results:  
Rsync should finish normally.

The hang only happens when I use rsync in daemon mode. I searched the web, and a few others have had the same problem at times, but no solution. Christian did a tcpdump (https://lists.samba.org/archive/rsync/2012-November/027964.html) and saw a checksum error. This, and the fact that popt was the only gentoo package rsync depends on that got updated between my last successful and first failed rsync run, led me to suspect popt.
Comment 1 SpanKY gentoo-dev 2015-06-21 13:56:55 UTC
please post full build logs as attachments as well as emerge info for all of your bug reports.  in this case, logs for both versions are important.
Comment 2 Tommy Pettersson 2015-08-04 15:38:56 UTC
I can no longer reproduce this bug, so whatever caused it, it was not popt-1.16-r2.