3.0.2 get_xattr_names on sockets?

Paul Reilly pareilly at tcd.ie
Wed Apr 9 15:19:42 GMT 2008


Hello,

I've compiled a fresh copy of rsync 3.0.2 (version info below) on MacOSX Leopard
Server 10.5.1  and am doing an rsync of the whole system like this:

/bin/rsync302 -axX / /Volumes/appserv02/2008-14/ --exclude=/Network
--exclude=/net --exclude=/home

It works OK, but returns with a failure error code,
 and the following errors relating to files with sockets.

rsync: get_xattr_names:
llistxattr("private/etc/racoon/racoon.sock",1024) failed: Operation
not permitted (1)
 rsync: get_xattr_names:
llistxattr("private/etc/racoon/vpncontrol.sock",1024) failed:
Operation not permitted (1)
 rsync: get_xattr_names: llistxattr("private/tmp/ARD_ABJMMRT",1024)
failed: Operation not permitted (1)
 rsync error: some files could not be transferred (code 23) at
main.c(1031) [sender=3.0.2]



Is there any way to get rsync to ignore sockets like this, so the
backup with rsync
returns with a success status code?

My version is:

bash-3.2# ./rsync302 --version
rsync  version 3.0.2  protocol version 30
Copyright (C) 1996-2008 by Andrew Tridgell, Wayne Davison, and others.
Web site: http://rsync.samba.org/
Capabilities:
    64-bit files, 32-bit inums, 32-bit timestamps, 64-bit long ints,
    socketpairs, hardlinks, symlinks, no IPv6, batchfiles, inplace,
    append, ACLs, xattrs, iconv, symtimes


Thanks.

-- 
Paul Reilly


More information about the rsync mailing list