Package: tar
Version: 1.14-2
Severity: normal
The tar package attempts to use '/usr/libexec/rmt' as the remote tape
program, rather than '/etc/rmt' which is more normal (and which is said
to be the default in the manual page).
Example:
[EMAIL PROTECTED] find testdir
testdir
testdir/foo
testdir/bar
testdir/baz
[EMAIL PROTECTED] tar zcvf [EMAIL PROTECTED]:testdir.tar.gz testdir
testdir/
testdir/foo
testdir/bar
testdir/baz
Password:
bash: /usr/libexec/rmt: No such file or directory
tar: [EMAIL PROTECTED]:testdir.tar.gz: Cannot open: Input/output error
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
[EMAIL PROTECTED]
Workaround:
There is a simple workaround, just add '--rmt-command=/etc/rmt'
[EMAIL PROTECTED] tar --rmt-command=/etc/rmt -zcvf [EMAIL
PROTECTED]:testdir.tar.gz testdir
testdir/
testdir/foo
testdir/bar
testdir/baz
Password:
[EMAIL PROTECTED] tar -ztf testdir.tar.gz
testdir/
testdir/foo
testdir/bar
testdir/baz
[EMAIL PROTECTED]
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (988, 'testing'), (500, 'stable'), (499, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-1-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages tar depends on:
ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an
tar recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]