Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 158130 - net-misc/rsync-2.6.9 does not work with acl's and xattrs when --delete is used
Summary: net-misc/rsync-2.6.9 does not work with acl's and xattrs when --delete is used
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL: http://www.mail-archive.com/rsync@lis...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-14 05:50 UTC by Thomas Fleischmann
Modified: 2006-12-17 01:22 UTC (History)
0 users

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 Thomas Fleischmann 2006-12-14 05:50:25 UTC
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7
Build Identifier: 

There seems to be a problem in rsync 2.6.9 with the acl and xattr handling.
see on the rsync list:
http://www.mail-archive.com/rsync@lists.samba.org/msg17506.html


Reproducible: Always

Steps to Reproduce:
1. /usr/bin/rsync -az --acls --numeric-ids test:/home/ /raid/test/home/ --delete


Actual Results:  
Internal error: wrong write used in receiver.
rsync error: protocol incompatibility (code 2) at io.c(1204) [generator=2.6.9]
rsync error: received SIGUSR1 (code 19) at main.c(1182) [receiver=2.6.9]

Expected Results:  
the software should work als in rsync 2.6.8-r2
Comment 1 Thomas Fleischmann 2006-12-14 05:52:07 UTC
eblis1 ~ # emerge --info
Portage 2.1.1-r2 (default-linux/x86/2006.1, gcc-3.4.6, glibc-2.4-r4, 2.6.18-gentoo-r4 i686)
=================================================================
System uname: 2.6.18-gentoo-r4 i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.12.6
Last Sync: Thu, 14 Dec 2006 07:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -mmmx -msse -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/bind /var/run/dspam /var/spool/dspam"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=i686 -mmmx -msse -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.inode.at/ http://gd.tuwien.ac.at/opsys/linux/gentoo/"
LANG="de_AT.utf8"
LC_ALL="de_AT.utf8"
LINGUAS="de"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/catalyst-portage"
SYNC="rsync://eblis1.n2483.itnet/gentoo-portage"
USE="x86 3dnow X acl acpi apache2 berkdb bitmap-fonts bzip2 cli cracklib crypt cups dlloader doc dri elibc_glibc fam fastcgi fortran gd gdbm geoip gpm gs hal iconv idn imap innodb input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog ithreads kernel_linux l7filter lcms libclamav libg++ linguas_de maildir memcache mmx mysql ncurses nfs nis nls nocardbus nptl nptlonly nsplugin odbc pam pcre pdf perl php png ppds pppd python readline reflection rrdtool ruby samba sasl session slp snmp spl sqlite3 sse ssl svg tcl tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU utf8 video_cards_3dfx video_cards_fbdev video_cards_mach64 video_cards_mga video_cards_nvidia video_cards_r128 video_cards_radeon video_cards_vesa video_cards_vga wmf xattr xml xorg zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

eblis1 ~ # emerge -pv rsync

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] net-misc/rsync-2.6.9 [2.6.8-r2] USE="acl ipv6 -build -static -xinetd" 0 kB
Comment 2 SpanKY gentoo-dev 2006-12-16 00:36:31 UTC
added fix from upstream to 2.6.9-r1, cheers
Comment 3 Thomas Fleischmann 2006-12-17 01:22:19 UTC
And now 2.6.9-r1 works!!
Thanks