Issued:
2012-04-11
Updated:
2012-06-20

RHBA-2012:0473 - rsync bug fix update


Synopsis

rsync bug fix update

Type/Severity

Bug Fix Advisory

Topic

An updated rsync package that fixes two bugs is now available for Red Hat Enterprise Linux 6.

Description

The rsync tool is used to copy and synchronize files locally or across a network. The rsync works very fast because it uses delta encoding and sends only differences in files instead of whole files. The rsync is also used as a powerful mirroring tool.

This update fixes the following bugs:

  • When creating a sparse file that was zero blocks long, the "rsync --sparse" command did not properly truncate the sparse file at the end of the copy transaction. As a consequence, the file size was bigger than expected. With this update, the underlying source code has been modified to ensure proper truncating of such files. (BZ#737539)

  • Previously, the rsync utility could terminate unexpectedly with the following error during a data transfer:

    Inflate (token) returned -5

This happened if the block size was exactly of the size of the CHUNK_SIZE constant. The output buffer was completely filled after calling the inflate() function for the first time, and it was therefore not possible to obtain remaining buffer output when calling inflate() the next time. The Z_BUF_ERROR constant is now handled properly, and so prevents rsync from terminating in the described scenario. (BZ#804916)

All users of rsync are advised to upgrade to this updated package, which fixes these bugs.

Solution

Before applying this update, make sure all previously-released errata relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to use the Red Hat Network to apply this update are available at This content is not included.https://access.redhat.com/kb/docs/DOC-11259

Affected Products

ProductVersionArch
Red Hat Enterprise Linux for Scientific Computing6x86_64
Red Hat Enterprise Linux for Power, big endian6ppc64
Red Hat Enterprise Linux for IBM z Systems6s390x
Red Hat Enterprise Linux Workstation6x86_64
Red Hat Enterprise Linux Workstation6i386
Red Hat Enterprise Linux Server6x86_64
Red Hat Enterprise Linux Server6i386
Red Hat Enterprise Linux Server from RHUI6x86_64
Red Hat Enterprise Linux Server from RHUI6i386
Red Hat Enterprise Linux Server - Extended Life Cycle Support6x86_64
Red Hat Enterprise Linux Server - Extended Life Cycle Support6i386
Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension6x86_64
Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension6i386
Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension (for IBM z Systems)6s390x
Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems)6s390x
Red Hat Enterprise Linux Desktop6x86_64
Red Hat Enterprise Linux Desktop6i386

Updated Packages

  • rsync-3.0.6-9.el6.src.rpm
  • rsync-debuginfo-3.0.6-9.el6.s390x.rpm
  • rsync-3.0.6-9.el6.s390x.rpm
  • rsync-debuginfo-3.0.6-9.el6.x86_64.rpm
  • rsync-3.0.6-9.el6.i686.rpm
  • rsync-debuginfo-3.0.6-9.el6.i686.rpm
  • rsync-debuginfo-3.0.6-9.el6.ppc64.rpm
  • rsync-3.0.6-9.el6.x86_64.rpm
  • rsync-3.0.6-9.el6.ppc64.rpm

Fixes

CVEs

(none)

References

(none)


Additional information