On Saturday 23 October 2010 05:13:02 Dylan Vanderhoof wrote:
> This appears to be a bacula-fd bug, as best I can tell.  Perhaps somebody
> can shed some enlightenment as to how I might get around it?
>
> We have a bacula server running v4 and v6, with an A and AAAA record.  All
> functional clients are IPv4 and are working great.
>
> I'm trying to add a hosts that backs up via IPv6.  (It doesn't have IPv4
> reachability to the server)  The client still dual-stack however.
>
> I can use FDAddresses in the bacula-fd.conf on the client to prevent the
> client from listening on its IPv4 address.  However, when I actually try to
> run a backup, the client contacts the SD by name and ignores the AAAA
> record for the SD.  Even though the FD is not bound to an IPv4 address, it
> still attempts to use IPv4 to connect to the SD, since there is an A record
> present.  Since there's no IPv4 reachability, the operation times out and
> the backup hangs.
>
> Suggestions?

There is no connection between a client listening for a connection, and the 
client making a connection to the SD.  It seems to me that if the SD name 
resolves to a IPv4 address, it is reasonable for the client to attempt to 
connect on that address.  Why have an IPv4 address for an SD that is not 
listening on IPv4?

>
> Ideally, it seems is an FD is configured to only listen on an ipv6 address,
> it shouldn't attempt to connect to the SD on IPv4. 

Listening and connecting are two *totally* separate things and are not related 
either in the ports they use are the bulk of the code they use.

> (More to the point, I'd 
> think it would try to connect via whichever address family the server
> contacted it on to kick off the backup)

What every the case may be, I am not convinced this is a bug except perhaps in 
your IP resolution.  Even if it is a Bacula problem, someone would have to 
propose a solution, which doesn't include your proposal which is not 
practical, and submit a patch -- I don't have IPv6 here so I cannot test it.

Kern


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to