You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
1.12.0 error: failed to list interfaces: getifaddrs: Address family not supported by protocol #350
Hi! I'm packaging unbound for Arch Linux.
I am currently trying to upgrade the package to 1.12.0. Unfortunately I am running into serious issues with the service right on start.
With my configuration file, compatible with 1.11.0 I am trying to start unbound.service, but it returns:
unbound[1610946:0] error: failed to list interfaces: getifaddrs: Address family not supported by protocol
unbound[1610946:0] fatal error: could not open ports
I see that f6a527c has changed the behavior of the *interface: settings in the configuration. Unfortunately, this doesn't seem to work out of the box with the systemd unit anymore (or because of another problem?).
Even if I provide interface names to the respective *interface: configuration settings, I get the above error message.
Okay, after some investigation I have found the issue.
It seems that the systemd service now requires AF_NETLINK in the RestrictAddressFamilies setting for the aforementioned changes to work and the service not to fail right away.
Activity
dvzrv commentedon Nov 21, 2020
Okay, after some investigation I have found the issue.
It seems that the systemd service now requires
AF_NETLINKin theRestrictAddressFamiliessetting for the aforementioned changes to work and the service not to fail right away.I'll open a pull request for this.
Changelog notes for #350 and #351