Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 420677 - net-misc/unison-{2.32,2.40} unable to call remote binary
Summary: net-misc/unison-{2.32,2.40} unable to call remote binary
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Team for the ML programming language family
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-11 12:11 UTC by Michael Weber (RETIRED)
Modified: 2012-06-11 12:24 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 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."
}