Bug#3100: no /etc/rmt with tar
>>>>> "Craig" == Craig Sanders <firstname.lastname@example.org> writes:
Craig> Permissions, hosts.allow, .rhosts etc are set up correctly
Craig> to allow email@example.com to use taz.net.au's tape drive.
Craig> but it doesn't work because /etc/rmt isn't included with
Craig> the tar package.
The remote tape utility, rmt, is currently in the cpio-mt package,
since it is included in the GNU cpio package from the FSF. It should
work with tar.
Craig> (gw-cas) ~$ tar tvfz taz:/dev/tape
Craig> bash: /etc/rmt: No such file or directory
Craig> tar (child): Cannot open archive taz:/dev/tape: I/O error
Craig> gzip: stdin: unexpected end of file
Craig> tar: Child returned status 1
Craig> Is there any good reason for NOT compiling and installing
Craig> rmt by default?
There should be only one package with rmt. This will ultimately be
cpio, once cpio-mt is merged with cpio and mt-st is retired.
Craig> btw, if this is fixed, both source code and documentation
Craig> should be changed to refer to either/usr/bin/rmt or
Craig> /usr/sbin/rmt, NOT /etc/rmt.
In the cpio-mt package, I have placed rmt in the /usr/sbin directory
where it belongs according to the FSSTND. However, to maintain
compatibility with other versions of Unix and other Linux
distributions, which abide by the old rule of looking for rmt in /etc,
I have placed a symbolic link from /etc/rmt to /usr/sbin/rmt.
The tar program should still call "/etc/rmt" on the remote machine for
the same reason. After all, the remote machine will not necessarily
be running Debian Linux.
Brian Mays <firstname.lastname@example.org>