[cfarm-users] rsync on AIX?
Jonathan Wakely
jwakely.gcc at gmail.com
Sun Aug 18 09:23:29 CEST 2024
On Sun, 18 Aug 2024, 04:21 Martin Guy via cfarm-users, <
cfarm-users at lists.tetaneutral.net> wrote:
> 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.
>
It's not a "bizarre choice", it's how AIX works. If people want to use
cfarm119 for testing on AIX then having an unconventional installation will
mislead them into thinking things just work on AIX. But then users with a
conventional AIX installation will hit the problems instead of the devs
testing on AIX.
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
> _______________________________________________
> cfarm-users mailing list
> cfarm-users at lists.tetaneutral.net
> https://lists.tetaneutral.net/listinfo/cfarm-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tetaneutral.net/pipermail/cfarm-users/attachments/20240818/0c911b9b/attachment-0001.htm>
More information about the cfarm-users
mailing list