When asked to look something up, and all scopes we contact fail we need to pick a suitable error code for the failure, and given that we look up things on multiple scopes we might have multiple errors to choose from. So far we simply picked the error from the last scope in the list, which hence would be pretty arbitrary. Let's tweak this a bit, and if we have multiple errors to choose from, let's prefer "conclusive" failures over "inconclusive" ones. The "inconclusive" ones in this sense are the ones where we didn't even issue a request, but couldn't even do that because we had no server, no network or things like that. The "conclusive" ones are the errors we got from a server, that hence a "real" in a way. This addresses the confusion described in #37969. For LLMNR lookups we generally refuse looking up A addresses via IPv6 and AAAA via IPv4. This generates a DNS_TRANSACTION_NO_SERVERS error, which we would then return for one type of lookup but not for the other, because the IPv6 scope is generally created after the IPv4 one, and hence so far won. Fixes: #37969
System and Service Manager
Details
Most documentation is available on systemd's web site.
Assorted, older, general information about systemd can be found in the systemd Wiki.
Information about build requirements is provided in the README file.
Consult our NEWS file for information about what's new in the most recent systemd versions.
Please see the Code Map for information about this repository's layout and content.
Please see the Hacking guide for information on how to hack on systemd and test your modifications.
Please see our Contribution Guidelines for more information about filing GitHub Issues and posting GitHub Pull Requests.
When preparing patches for systemd, please follow our Coding Style Guidelines.
If you are looking for support, please contact our mailing list, join our IRC channel #systemd on libera.chat or Matrix channel
Stable branches with backported patches are available in the stable repo.
We have a security bug bounty program sponsored by the Sovereign Tech Fund hosted on YesWeHack
Repositories with distribution packages built from git main are available on OBS
