`ln -s /usr/sbin/rmt /etc/rmt` does the trick ;) should be done by sys-apps/tar when emerging
Can we patch remote-tar instead? Or is this a dumb question? I haven't used rmt, to tell you the truth.
patching tar to search for e.g. /sbin/rmt:/usr/sbin/rmt:/etc/rmt (or in the path) on remote systems would be fine for outgoing connections. however, this would not solve the problem for incoming connections as most other boxes will only search for /etc/rmt on our gentoo box. the patch would thus have to be applied to all existing tar implementations out there. admittedly it's nasty to have such a "binary" symlink in /etc and i am not sure what fhs/lsb says about this. but i do not know of any other solution. here's the ebuild patch: --- tar-1.13.25-r1.ebuild Wed Mar 6 19:55:22 2002 +++ tar-1.13.25-r2.ebuild Wed Apr 10 23:59:59 2002 @@ -33,6 +33,9 @@ cd ${D} mv usr/lib/misc/rmt usr/sbin/rmt.gnu dosym rmt.gnu /usr/sbin/rmt + # a nasty yet required symlink: + dodir /etc + dosym /usr/sbin/rmt /etc/rmt if [ -z "`use build`" ] then dodoc AUTHORS ChangeLog* COPYING NEWS README* PORTS THANKS
Spider: can you fix this for me?
Okie. I'm at it, will go for the proposed way.