Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 273615 - net-misc/unison-2.27.57-r1: Cannot sync via remote shell: unison: command not found
Summary: net-misc/unison-2.27.57-r1: Cannot sync via remote shell: unison: command not...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Team for the ML programming language family
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-10 20:02 UTC by Stefan Bauer
Modified: 2009-09-19 12:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Bauer 2009-06-10 20:02:48 UTC
Current stable unison cannot be used as a remote client. Connection fails with the following message:

$ unison-2.27 test ssh://192.168.1.2/test
bash: unison: command not found
Lost connection with the server

I guess this is because the binary isn't called "unison", but "unison-2.27". Creating a symlink solves the problem:

$ cd /usr/bin
$ ln -s unison-2.27 unison


Reproducible: Always

Steps to Reproduce:
1. Install unison-2.27.27-r1 on a remote machine
2. Try to connect to this machine via the remote shell method


Actual Results:  
Connection fails with the following message:

$ unison-2.27 test ssh://192.168.1.2/test
bash: unison: command not found
Lost connection with the server

Expected Results:  
Unison should be found and started at the remote machine.
Comment 1 Alexis Ballier gentoo-dev 2009-09-19 12:59:02 UTC
yes, you should use eselect unison like the unison ebuilds tells.
this is needed because unison versions are slotted.
slot is needed because unison doesn't work well for syncing between different versions.