Subject: bin/24940: rcp doesn't like ipv6-only hosts
To: None <gnats-bugs@gnats.NetBSD.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-bugs
Date: 03/27/2004 21:13:08
>Number: 24940
>Category: bin
>Synopsis: rcp doesn't like ipv6-only hosts
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Mar 27 20:15:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Manuel Bouyer
>Release: NetBSD 1.6ZL, binaries from the 200403200000 releng build
>Organization:
>Environment:
System: NetBSD baladeur 1.6ZL NetBSD 1.6ZL (IBM600E) #1: Sat Mar 27 19:04:17 CET 2004 bouyer@pop:/local/pop1/bouyer/tmp/i386/obj/local/pop1/bouyer/current/src/sys/arch/i386/compile/IBM600E i386
Architecture: i386
Machine: i386
>Description:
rcp(1) can't make use of a IPv6-only DNS record, while rsh(1) has
no problems with it:
baladeur:/home/bouyer>rsh rochebonne ls /tmp
diff
baladeur:/home/bouyer>rcp rochebonne:/tmp/diff /tmp
rcp: rochebonne: No address associated with hostname
baladeur:/home/bouyer>nslookup -type=any rochebonne
Server: chassiron-dhcp
Address: 10.0.2.254
rochebonne.antioche.eu.org IPv6 address = 2001:7a8:242c:0:240:95ff:fe45:4702
rochebonne.antioche.eu.org CPU = i386 OS = NetBSD
rochebonne.antioche.eu.org preference = 5, mail exchanger = chassiron.antioche.eu.org
antioche.eu.org nameserver = ns.antioche.eu.org
antioche.eu.org nameserver = ns2.antioche.eu.org
chassiron.antioche.eu.org internet address = 62.212.96.44
chassiron.antioche.eu.org IPv6 address = 2001:7a8:242c:0:a00:20ff:fe1c:276e
chassiron.antioche.eu.org IPv6 address = 2001:7a8:242c:1::1
ns.antioche.eu.org internet address = 132.227.74.11
ns2.antioche.eu.org internet address = 62.212.96.44
baladeur:/home/bouyer>
With a name wich has both A and AAAA records (e.g.
chassiron.antioche.eu.org) rcp(1) is happy and will try IPv6 first.
>How-To-Repeat:
Try rcp using a DNS name with only AAAA records.
>Fix:
unknown
>Release-Note:
>Audit-Trail:
>Unformatted: