Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 733084 - net-misc/rsync-3.2.0 zstd token bug (Patch available upstream)
Summary: net-misc/rsync-3.2.0 zstd token bug (Patch available upstream)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2020-07-17 14:25 UTC by Rin Cat
Modified: 2020-07-28 06:56 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 Rin Cat 2020-07-17 14:25:05 UTC
Upstream known bug, rsync crashed when both side support and use zstd.

rsync: token.c:1180: see_token: Assertion `0' failed.                                                                                       
rsync: [sender] write error: Broken pipe (32)

Official patch:
https://github.com/WayneD/rsync/commit/bb1365dd7736b264738f50b683a0f81a2ed11aba

Tested, it works.

Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2020-07-28 06:54:55 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0c6c276cbc2bc2b5eb25264586b2a5fef1af3c2

commit f0c6c276cbc2bc2b5eb25264586b2a5fef1af3c2
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2020-07-28 06:54:11 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2020-07-28 06:54:47 +0000

    net-misc/rsync: Revbump to backport two fixes
    
    - Allow --bwlimit=0 again
    - Fix usage of zstd compression
    
    Closes: https://bugs.gentoo.org/731306
    Closes: https://bugs.gentoo.org/733084
    Package-Manager: Portage-3.0.1, Repoman-2.3.23
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 .../rsync/files/rsync-3.2.2-allow_bwlimit_0.patch  |  77 ++++++++++
 .../rsync/files/rsync-3.2.2-zstd_see_token.patch   |  31 ++++
 net-misc/rsync/rsync-3.2.2-r1.ebuild               | 158 +++++++++++++++++++++
 3 files changed, 266 insertions(+)