Amanda fails because client thinks server is IPv6 when it's IPv4.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
inetutils (Ubuntu) |
Confirmed
|
High
|
Unassigned |
Bug Description
The below issue was at least worked around by installilng xinetd. I don't know if the root cause is a bug in amanda, or in inetutils-inetd. Note, however, that I tried several different versions of amanda -- including known-good ones from my stock Debian boxes -- all with the same result.
[Repost from mail sent to amanda support list:]
Hi, all. Just recently, I added an Ubuntu Linux box to my series of Debian servers. All the stock Debian servers had backed up fine. However, my Ubuntu box fails miserably. Going through the client's debug log, the thing
that really stands out is this:
amandad: time 0.000: sending ack:
----
Amanda 2.4 ACK HANDLE 001-B8CA0608 SEQ 1137474902
----
amandad: time 0.000: dgram_send_addr: sendto(0.0.0.0.858) failed: Invalid
argument
A "strace" run on the client's amandad shows the following interesting
snippet:
sendto(0, "Amanda 2.4 REP HANDLE 001-F0B70608 SEQ 1137547581\nERROR [addr
0.0.0.0: hostname lookup failed]\n", 95, 0, {sa_family=
sin6_port=
&sin6_addr), sin6_flowinfo=0, sin6_scope_
(Invalid argument)
It looks to me like the client -- which *is* IPv6 enabled, but has no IPv6 interfaces -- is thinking IPv6-ish thoughts. Some Googling showed a thread on this back in '03, and implied that a patch had been merged. Since I'm running amanda 2.4.5, I would have thought that would be yesterday's news.
Changed in inetutils: | |
status: | Unconfirmed → Confirmed |
I'm also suffering exactly the same error (although I wasn't able to successfully use xinetd to get around it). Could you post the xinetd configuration that you are using? Or is there some debugging I could help with to fix the bug?