samba-bugs at samba.org
2009-Jul-29 19:01 UTC
DO NOT REPLY [Bug 6588] New: errors missed when connecting to host with multiple addresses and host is down
https://bugzilla.samba.org/show_bug.cgi?id=6588
Summary: errors missed when connecting to host with multiple
addresses and host is down
Product: rsync
Version: 3.0.6
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P3
Component: core
AssignedTo: wayned at samba.org
ReportedBy: arekm at maven.pl
QAContact: rsync-qa at samba.org
I'm rsyncing from a IPv4 only machine to a machine with two addresses, one
IPv4
and one IPv6 visible in DNS.
When destination machine is down then I get this error:
rsync: failed to connect to buildlogs.pld-linux.org: Address family not
supported by protocol (97)
rsync error: error in socket IO (code 10) at clientserver.c(122) [sender=3.0.3]
so some errors were ignored instead of printing them.
How to reproduce, from ipv4 only machine, with ipv6 capable rsync and
getaddrinfo() run:
rsync /dev/null rsync://carme.pld-linux.org
which will end with:
rsync: failed to connect to carme.pld-linux.org: Address family not supported
by protocol (97)
while the missed error was:
16614 connect(3, {sa_family=AF_INET, sin_port=htons(2323),
sin_addr=inet_addr("193.239.45.140")}, 16) = -1 ECONNREFUSED
(Connection
refused)
Maybe rsync should print all errors it encounters when connecting iif
connection fails?
--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
samba-bugs at samba.org
2009-Jul-29 19:02 UTC
DO NOT REPLY [Bug 6588] errors missed when connecting to host with multiple addresses and host is down
https://bugzilla.samba.org/show_bug.cgi?id=6588 ------- Comment #1 from arekm at maven.pl 2009-07-29 14:02 CST ------- + of course it should print which error is for which address being tried. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.
samba-bugs at samba.org
2011-Jan-01 22:00 UTC
DO NOT REPLY [Bug 6588] errors missed when connecting to host with multiple addresses and host is down
https://bugzilla.samba.org/show_bug.cgi?id=6588
wayned at samba.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Version|3.0.6 |3.0.8
------- Comment #2 from wayned at samba.org 2011-01-01 16:00 CST -------
In 3.0.8 rsync will output all the errors when it fails to connect, and note
the associated address for each one. e.g.:
$ rsync carme.pld-linux.org::
rsync: failed to connect to carme.pld-linux.org (193.239.45.140): Connection
refused (111)
rsync: failed to connect to carme.pld-linux.org (::2001:6a0:13f:1:0:0):
Network is unreachable (101)
--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
Maybe Matching Threads
- PROBLEM: [BISECTED] 2.6.35.5 xen domU panics just after the boot
- PROBLEM: [BISECTED] 2.6.35.5 xen domU panics just after the boot
- multiple sql servers - loadbalancing and failover
- dovecot lmtp thinks that "disk quota exceeded" is "internal error"
- Dovecot 2.3.0 TLS