Many moons ago I was experimenting wih rsync but was having trouble
with it hanging.
I just wondered if the recent samba related fixes might have helped
so I did an experiment. I created two folders in /tmp with the same
three files in each and then ran
> rsync -avun /tmp/attach1 /tmp/attach2
It hangs.
So I did an strace
strace /usr/bin/rsync -avun /tmp/attach1 /tmp/attach2
and this eventually produced an error:
executed instruction: 0x4e41
current stack: 0xffc40000 -> opcode 0xffffffc4
waitpid() -> 182
process stopped with signal "Trace Trap"
SP: 0x20079b2
PC: 0x1fc347a
executed instruction: 0x4e41
current stack: 0x540180 -> opcode 0x054
system call: "unknown opcode 0x054"
Illegal Instruction
bash-2.05a# rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(544) [sender=3.0.6]
rsync: writefd_unbuffered failed to write 78 bytes to socket [generator]: Broken pipe (81)
This might be of use to someone.
Regards,
Peter