[cfarm-users] rsync on AIX?
Martin Guy
martinwguy at gmail.com
Sun Aug 18 05:20:38 CEST 2024
On 8/17/24 22:51, David Edelsohn via cfarm-users wrote:
> Please use the
>
> --rsync-path=COMMAND
>
> command line option to the rsync command to choose the remote rsync
> command to invoke.
Thanks for installing it so promptly. I tried and was going to custom
install it in ~/bin o every cfarm machine to be uniform but its build
dependencies defeated me.
I'm doing automated portability testing that installs the builddeps
--prefix=$HOME, compiles the package and runs it agaist a regression
test suite on every architecture and Operating System but am losing
hours and days including AIX for this reason, and haven't even got to
facing actual AIX portability yet, having alternated between struggling
with it in various ways and avoiding it for this reason.
I used to have to
case "$host" in
cfarm11[19]) copy="scp -p";;
*) copy="rsync -qpc";;
esac
and now have to
case "$host" in
cfarm11[19]) copy="rsync -qpc --rsync-path=/opt/freeware/bin/rsync";;
*) copy="rsync -qpc";;
esac
but I'd rather not have specific machine names burnt into the scripts
which otherwise run entirely from a "hosts" config file.
For users arriving in future, how are they to guess that one machine
that seems not to have rsync, unlike every other machine in the farm,
doe in fact have it but needs agical machne-specific runes to make it
work? It seems a bizarre choice.
Do you have to put it in the greeting banner?
Unless there's a pressing reason not to be able to do so, can I second
making a regular link be made to it, so that it "just works" if that's
possible and would work?
Yes, I can work around it like I did before with scp, but it still seems
strambo.
Thanks again
M
More information about the cfarm-users
mailing list