Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 552366 - dev-libs/popt-1.16-r2 causes net-misc/rsync to hang
Summary: dev-libs/popt-1.16-r2 causes net-misc/rsync to hang
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-17 08:19 UTC by Tommy Pettersson
Modified: 2015-08-04 15:38 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.