|
From: Jamie C. <jca...@we...> - 2006-07-07 22:15:50
|
On 7/Jul/2006 12:15 Pat Erler wrote .. > On Fri, 07 Jul 2006 20:40:30 +0200, Jamie Cameron <jca...@we...> > wrote: > > > On 7/Jul/2006 11:02 Pat Erler wrote .. > >> On Fri, 07 Jul 2006 19:21:26 +0200, Jamie Cameron <jca...@we...> > >> wrote: > >> > >> > On 7/Jul/2006 12:05 Pat Erler wrote .. > >> >> hi > >> >> On Fri, 07 Jul 2006 18:07:58 +0200, Roger B.A. Klorese > >> >> <ro...@qu...> wrote: > >> >> >> in backup filesystem, when i choose remote backup via ssh i get > >> this > >> >> >> error: > >> >> >> > >> >> >> bash: line 1: /usr/libexec/rmt: No such file or directory > >> >> >> what is missing here? > >> where does the backup client's tar command it's information about rmt? > > > > As far as I know, it is built into the tar program. > > > >> > One work-around would be to run > >> > > >> > ln -s /etc/rmt /usr/libexec/rmt > i'm a bit uncomfortable with this.. > > > It looks to me like a problem in tar. > i'm not really sure what to make out of this usenet postings: > > http://groups.google.com/groups?client=opera&rls=en&q=%2Fusr%2Flibexec%2Frmt%20debian%20tar&sourceid=opera&oe=UTF-8&ie=UTF-8&sa=N&tab=wg > > but i think it would be more correct to handle the problem when calling > tar in webmin: > > --rmt-command=cmd > Notifies tar that it should use cmd instead of the default > /usr/libexec/rmt (see Remote Tape Server). > > from: > > http://www.gnu.org/software/tar/manual/html_node/Option-Summary.html > > in case of debian 3.1 /etc/rmt or /usr/sbin/rmt. in 3.0 it's the same, > i > just checked an ancient server of mine. > > what do you think? have other distributions maybe the same problem maybe? I tried this out myself just now, as it seems that only Debian uses the wrong path. It really looks like a bug in the tar command (or at least Debian's package of it). I will add an option to Webmin in the next release for setting the --rmt-command flag though. - Jamie |