Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 420677

Summary: net-misc/unison-{2.32,2.40} unable to call remote binary
Product: Gentoo Linux Reporter: Michael Weber (RETIRED) <xmw>
Component: EclassesAssignee: Gentoo Team for the ML programming language family <ml>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michael Weber (RETIRED) gentoo-dev 2012-06-11 12:11:37 UTC
Afaik a regular system does not have an /usr/bin/unison binary (due to slotted installs).

If you connect to a remote station (both running Gentoo) it tries to call unison but fails due the missing file.

My quickfix was to symlink unison-2.32 to unison, but that's not handy for multiuser.

Is it possible to try for "unison-2.40" and then "unison" on the remote side (given local unison is unison-2.40)?

I did not find any hint for config values in ~/.unison/*.prf
Comment 1 Benda Xu gentoo-dev 2012-06-11 12:18:57 UTC
you will need to run, for example,

eselect unison set 1

seems that we can run this from within a ebuild.
Comment 2 Benda Xu gentoo-dev 2012-06-11 12:24:23 UTC
actually there is already a message to user to set this up

pkg_postinst() {
        elog "Unison now uses SLOTs, so you can specify servercmd=/usr/bin/unison-${SLOT}"
        elog "in your profile files to access exactly this version over ssh."
        elog "Or you can use 'eselect unison' to set the version."
}