Subject: bin/24940: rcp doesn't like ipv6-only hosts
To: None <>
From: Manuel Bouyer <>
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
>Originator:     Manuel Bouyer
>Release:        NetBSD 1.6ZL, binaries from the 200403200000 releng build
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
	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
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:      IPv6 address = 2001:7a8:242c:0:240:95ff:fe45:4702      CPU = i386      OS = NetBSD      preference = 5, mail exchanger = nameserver = nameserver =       internet address =       IPv6 address = 2001:7a8:242c:0:a00:20ff:fe1c:276e       IPv6 address = 2001:7a8:242c:1::1      internet address =     internet address =

	With a name wich has both A and AAAA records (e.g. rcp(1) is happy and will try IPv6 first.
	Try rcp using a DNS name with only AAAA records.