My system can use both, and usually I only run Bareos on ipv6

sudo ss -tanp | grep :910
LISTEN     0      50                                    0.0.0.0:9102       
                         0.0.0.0:*     users:(("bareos-fd",pid=14857,fd=3))

sudo cat /etc/bareos/bareos-fd.d/client/myself.conf
#
# "Global" File daemon configuration specifications
#
FileDaemon {                          # this is me
  Name = bareos-fd
  FDAddresses  = {
#    ipv6 = { addr = :: ; port = 9102 }
    ipv4 = { addr = 0.0.0.0 ; port = 9102}
  }
  WorkingDirectory = /var/lib/bareos
  # remove comment in next line to load plugins from specified directory
  Plugin Directory = /usr/lib64/bareos/plugins
}



I didn't remember but I guess the ipv6 stack on the kernel shouldn't be 
completely disabled (who want that in 21st century anyways :-) )
So the stack should be present, but it can be not used.

Maybe you can forward a bit more information about what is disabled and how.
Regards

On Friday, 7 November 2025 at 19:13:21 UTC+1 Vitaly Solntsev wrote:

> Hello, Team
>
> I have Bareos server installed on Oracle Linux v9.6 (Red Hat based) with 
> the disabled IPv6 stack.
>
> Since Bareos 21.0.0 release (2021-12-21) 
>
> Bareos now listens on IPv4 and IPv6 by default. If you currently use 
> [DIR|SD|FD] Address or [DIR|SD|FD] Address, you may need to update your 
> configuration to get the same behaviour as before. PR #882 
> https://github.com/bareos/bareos/pull/882  
> <https://github.com/bareos/bareos/pull/882>
>
> Due to the disabled IPv6 on the server all bareos daemons trigger warnings:
>
> 07-Nov 18:05 bareos-fd: Warning: Cannot open IPv6 stream socket. 
> ERR=Address family not supported by protocol
> 07-Nov 18:05 bareos-fd: Warning: Can't add default IPv6 address (IPv6 
> address wanted but IPv6 is disabled!)
>
> 07-Nov 18:04 bareos-sd: Warning: Cannot open IPv6 stream socket. 
> ERR=Address family not supported by protocol
> 07-Nov 18:04 bareos-sd: Warning: Can't add default IPv6 address (IPv6 
> address wanted but IPv6 is disabled!)
> 07-Nov 18:04 bareos-sd: Warning: Can't add default IPv6 address (IPv6 
> address wanted but IPv6 is disabled!)
>
> 07-Nov 17:56 bareos-dir: Warning: Cannot open IPv6 stream socket. 
> ERR=Address family not supported by protocol
> 07-Nov 17:56 bareos-dir: Warning: Can't add default IPv6 address (IPv6 
> address wanted but IPv6 is disabled!)
>
> Tried to add only IPv4 usage to the configuration files as described at 
>
> https://docs.bareos.org/Configuration/CustomizingTheConfiguration.html#datatype-addresses
> but the warnings are still occuring.
>
> /etc/bareos/bareos-dir.d/director/bareos-dir.conf
> DirAddresses  = {
>   ipv4 = { addr = 0.0.0.0 }
> }
> or Dir Address = 0.0.0.0
>
> /etc/bareos/bareos-fd.d/client/myself.conf
> FdAddresses = { ip = { addr =  0.0.0.0 ; port = 9102 } }
>  or
> FD Address =  0.0.0.0
>
> How can we get rid of these warnings?
>
> Thanks
>
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/bareos-users/a292c38c-2a04-4aea-815e-8cc6dd42a54bn%40googlegroups.com.

Reply via email to