Package: tar Version: 1.14-2.1 Severity: important
Since installing the latest security-fixed version of tar (1.14-2.1) it does not seem to be possible to access remote tape devices. The following strace shows the problem. Note that tar does not seem to have made any attempt to access the device - it shuts down almost as soon as it starts up. As a piece of background, rsh is configured to point to ssh and the invoking user can ssh to the remote machine without needing a password. However as can be seen from the strace, tar doesn't get as far as trying to invoke anything - it errors out before getting that far. execve("/bin/tar", ["tar", "cvf", "[EMAIL PROTECTED]:/dev/dat", "bin"], [/* 13 vars */]) = 0 uname({sys="Linux", node="emperor", ...}) = 0 brk(0) = 0x8072000 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f0f000 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=56394, ...}) = 0 old_mmap(NULL, 56394, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f01000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/tls/librt.so.1", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\32"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0644, st_size=22940, ...}) = 0 old_mmap(NULL, 21588, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xb7efb000 old_mmap(0xb7f00000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x5000) = 0xb7f00000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/tls/libc.so.6", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`Z\1\000"..., 512) = 512fstat64(3, {st_mode=S_IFREG|0755, st_size=1254468, ...}) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7efa000 old_mmap(NULL, 1264780, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xb7dc5000 old_mmap(0xb7eef000, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x129000) = 0xb7eef000 old_mmap(0xb7ef8000, 7308, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED| MAP_ANONYMOUS, -1, 0) = 0xb7ef8000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/tls/libpthread.so.0", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0pF\0\000"..., 512) = 512fstat64(3, {st_mode=S_IFREG|0755, st_size=78233, ...}) = 0 old_mmap(NULL, 60772, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xb7db6000 old_mmap(0xb7dc2000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xc000) = 0xb7dc2000 old_mmap(0xb7dc3000, 7524, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED| MAP_ANONYMOUS, -1, 0) = 0xb7dc3000 close(3) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7db5000 set_thread_area({entry_number:-1 -> 6, base_addr:0xb7db5080, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 munmap(0xb7f01000, 56394) = 0 set_tid_address(0xb7db50c8) = 5974 rt_sigaction(SIGRTMIN, {0xb7dba5d0, [], SA_SIGINFO}, NULL, 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [RTMIN], NULL, 8) = 0 getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0 clock_gettime(CLOCK_REALTIME, {1142173985, 513367000}) = 0 brk(0) = 0x8072000 brk(0x8093000) = 0x8093000 brk(0) = 0x8093000 rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0 write(2, "tar: ", 5tar: ) = 5 write(2, "[EMAIL PROTECTED]:/dev/dat: Cannot ope"..., [EMAIL PROTECTED]:/dev/dat: Cannot open) = 33 write(2, ": Input/output error", 20: Input/output error) = 20 write(2, "\n", 1 ) = 1 write(2, "tar: ", 5tar: ) = 5 write(2, "Error is not recoverable: exitin"..., 37Error is not recoverable: exiting now) = 37 write(2, "\n", 1 ) = 1 exit_group(2) = ? -- System Information: Debian Release: 3.1 Architecture: i386 (i686) Kernel: Linux 2.6.14.5-athlon3 Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1) (ignored: LC_ALL set to en_GB) Versions of packages tar depends on: ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]