Tru64 sockets bug?
jw at pegasys.ws
Fri Feb 13 23:48:41 GMT 2004
On Fri, Feb 13, 2004 at 01:47:00PM -0500, Jonathan Burelbach wrote:
> We are using rsync to maintain a warm mirror of our boot disks. I just
> updated to rsync 2.6.0 and noticed that the rsync runs are now getting
> errors when copying sockets. The system is running Tru64 5.1A pk 4 on
> an AlphaServer 4100. Is this a bug? Is there some way to not copy
> sockets or should I find all of them and add them to the exclude file?
> rsync was built using a straight ./configure with no options and passed
> all the tests once built.
This looks like it may be the same problem that freeBSD has.
You may want to file a bug report with HP/Compaq/DEC.
Rsync treats sockets and pipes as devices so enabling
devices (-d, included in -a) enables sockets. So to avoid
the warnings you could add the sockets to the exclude list
or not enable devices.
If syncing the sockets is a priority (unlikely) there are
patches in the list archives that do socket and pipe
creation using the socket and pipe specific syscalls.
> >>> rsync --version
> rsync version 2.6.0 protocol version 27
> Copyright (C) 1996-2004 by Andrew Tridgell and others
> Capabilities: 64-bit files, socketpairs, hard links, symlinks, batchfiles,
> no IPv6, 32-bit system inums, 64-bit internal inums
> rsync comes with ABSOLUTELY NO WARRANTY. This is free software, and you
> are welcome to redistribute it under certain conditions. See the GNU
> General Public Licence for details.
> >>> ls -l /usr/var/cluster/members/member0/agentx/master
> srwxr-xr-x 1 root system 0 Feb 4 13:10 /usr/var/cluster/members/member0/agentx/master=
> rsync output:
> building file list ... done
> mknod "/bkvar/cluster/members/member0/agentx/master" failed: Invalid argument
> mknod "/bkvar/cluster/members/member0/evm/sockets/evmd" failed: Invalid argument
> wrote 27550211 bytes read 420 bytes 1281424.70 bytes/sec
> total size is 555819562 speedup is 20.17
> rsync error: some files could not be transferred (code 23) at main.c(632)
> var rsync completed 02/13/04 13:21:46
J.W. Schultz Pegasystems Technologies
email address: jw at pegasys.ws
Remember Cernan and Schmitt
More information about the rsync