Re: Problem with sync on an ARM Mac

"Stefan M. Moser" <[email protected]> Fri, 3 May 2024 08:41:14 +0800
Newsgroups gmane.network.unison.general
Message-ID <[email protected]>
I agree with you that the name of a remote machine should be set on the machine itself. If I really have misunderstood clientHostName and this does only affect the name on the local machine, it might be exactly what I need. In that case, maybe the name "clientHostName" is not very good, but should be "localHostName". This would also match better with "UNISONLOCALHOSTNAME" actually.

Anyway, you are right. I should stop guessing and try to figure out what actually happens. When I find time next week, I'll do some experiments and then report back.

Stefan



> On 3 May 2024, at 08:33, Greg Troxel <[email protected]> wrote:
> 
> "Stefan M. Moser" <[email protected]> writes:
> 
>> I think this part of the discussion relates to the discussions a few
>> days ago regarding whether or not to introduce a serverHostName
>> preference.
> 
> I see serverHostName as being
> 
>  configured in the client (the machine that reads the profile and then
>  runs "ssh remote unison -server"
> 
>  used to control the hostname used by the remote ssh
> 
> I don't like this, because I think names for a host should be set on
> that host, and that setting them elsewhere is asking for trouble.   I am
> starting to believe that the name should be set in the replica, and not
> really be a name.  But that's a huge change and there are likely
> unintended consequences.  I don't want to own those problems, so I'm
> merely observing that it might be a good idea.
> 
> This is an aesthetic preference, and a guess about the likelihood of
> trouble as a mechanism is used in real situations by real people.  It is
> of course possible to arrange to use even really complicated things
> correctly.  But computer science and software engineering are
> significantly about controlling complexity so that more useful things
> are feasible, which makes me have a strong bias to simpler, according to
> my definition of simple of course.


To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].