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

Bug 131915

Summary: rsync update from 2.6.7 to 2.6.8 breaks gentoo-rsync (and more?)
Product: Gentoo Linux Reporter: Josh G <joshin>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED WONTFIX    
Severity: normal CC: ivan, mail, philantrop
Priority: Normal    
Version: 2006.0   
Hardware: All   
OS: Other   
URL: https://bugzilla.samba.org/show_bug.cgi?id=3768
Whiteboard:
Package list:
Runtime testing required: ---

Description Josh G 2006-05-01 07:57:48 UTC
From the changelog of rsync 2.6.8:
    - Fixed a bug in the --link-dest code that prevented special files (such as
      fifos) from being linked.

This breaks the --device flag (used by gentoo-rsync) since behavio(u)r has changed from 2.6.7.  Removing the "--device" flag seems to work however I have not tested enough to see if there are any negative side effects.

If no special files are synced in portage, removing the "--device" flag from /etc/rsync/gentoo-mirror.conf may prove a sufficient workaround until all rsync servers are at 2.6.8 and gentoo-rsync can depend on rsync >=2.6.8.


Portage 2.0.54 (default-linux/amd64/2006.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 2800+
Gentoo Base System version 1.6.14
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -mtune=k8 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/env.d"
CXXFLAGS="-march=k8 -mtune=k8 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://localhost/gentoo-portage"
USE="X alsa amd64 apache2 audiofile avi berkdb bitmap-fonts bzip2 cdr cli crypt cups curl dri dvd dvdr eds emboss encode expat fam foomaticdb fortran gd gif gmp gpm gstreamer gtk gtk2 imlib ipv6 isdnlog java jpeg kde lzw lzw-tiff mad mp3 mpeg mysql ncurses nls nptl nptlonly ogg opengl oss pam pcre pdflib perl png pppd python qt quicktime readline reflection samba sdl session spell spl ssl tcpd tiff truetype truetype-fonts type1-fonts udev usb vorbis xml2 xmms xorg xpm xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 SpanKY gentoo-dev 2006-05-02 19:34:20 UTC
how does it break them ?
Comment 2 Josh G 2006-05-02 20:58:38 UTC
Oops, forgot the error message:

Started update at Mon May 1 07:07:52 MST 2006
rsync: on remote machine: --no-specials: unknown option
rsync error: requested action not supported (code 4) at clientserver.c(520)
rsync: read error: Connection reset by peer (104)
rsync error: error in rsync protocol data stream (code 12) at io.c(614) [receiver=2.6.8]

After removing the --deep flag, all has been working fine.
Comment 3 Josh G 2006-05-08 13:42:28 UTC
(In reply to comment #2)
> 
> After removing the --deep flag, all has been working fine.
> 

^deep^device

removing the --device flag all has been working fine
Comment 4 SpanKY gentoo-dev 2006-05-11 20:41:35 UTC
*** Bug 126785 has been marked as a duplicate of this bug. ***
Comment 5 SpanKY gentoo-dev 2007-07-09 02:21:15 UTC
upstream bug report has the relevant details (see URL field)