Skip to content

Conversation

@bluca
Copy link
Member

@bluca bluca commented Dec 28, 2020

Fixes #18078

Returning -EALREADY in case the idna name cannot be resolved is already supported and supposed to be optional.
Call stack:

https://github.com/systemd/systemd/blob/1835a8a1055/src/resolve/resolved-dns-question.c#L285
https://github.com/systemd/systemd/blob/1835a8a1055/src/resolve/resolved-bus.c#L406

@bluca
Copy link
Member Author

bluca commented Dec 28, 2020

tested by building minimal image with mkosi, booting it in nspawn, moving away libidn* from /usr/lib/arch and restarting resolved. Before the fix resolvectl query fails, now it works.

@yuwata yuwata added the good-to-merge/waiting-for-ci 👍 PR is good to merge, but CI hasn't passed at time of review. Please merge if you see CI has passed label Dec 28, 2020
@yuwata
Copy link
Member

yuwata commented Dec 28, 2020

LGTM.

@yuwata yuwata merged commit 5def1f1 into systemd:master Dec 28, 2020
@yuwata yuwata removed good-to-merge/waiting-for-ci 👍 PR is good to merge, but CI hasn't passed at time of review. Please merge if you see CI has passed quick-review 🏃‍♂️ labels Dec 28, 2020
@poettering
Copy link
Member

ouch! thanks for the quick fix!

@bluca bluca deleted the resolved_idn_optional branch December 28, 2020 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

"optional" libidn2 in systemd-resolved breaks it entirely

3 participants