[systemd-devel] systemd-resolved fails without IPv6

Lennart Poettering lennart at poettering.net
Tue Aug 12 09:43:30 PDT 2014


On Tue, 12.08.14 17:01, Michael Olbrich (m.olbrich at pengutronix.de) wrote:

> Hi,
> 
> Without IPv6 systemd-resolved fails to start with:
> 
> Failed to start manager: Address family not supported by protocol
> 
> strace tells me this is the errno from socket():
> [...]
> socket(PF_INET6, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK, IPPROTO_IP) = -1 EAFNOSUPPORT (Address family not supported by protocol)
> [...]
> 
> I think this is from manager_llmnr_ipv6_udp_fd().
> 
> Is IPv6 now mandatory, or should this be fixed?

It should be fixed. resolved should not require IPv6 to be available.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list