Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 625970 - sys-apps/systemd-234[idn,libidn2] - systemd-resolved broken for hostnames containing underscores
Summary: sys-apps/systemd-234[idn,libidn2] - systemd-resolved broken for hostnames con...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo systemd Team
URL: https://github.com/systemd/systemd/pu...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-22 23:20 UTC by Dennis Schridde
Modified: 2017-08-13 23:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2017-07-22 23:20:38 UTC
Hostnames like `ipv6_1-cxl0-c088.1.lhr004.ix.nflxvideo.net` cannot be resolved with sys-apps/systemd-234[idn,libidn2]. E.g. `getent hosts ipv6_1-cxl0-c088.1.lhr004.ix.nflxvideo.net` has no output and returns error code 2, "One or more supplied key could not be found in the database.", despite the name being resolvable using `drill` from the net-dns/ldns-utils package.

A fix is available upstream, confirmed to solve the issue, but not yet merged: https://github.com/keszybz/systemd/commit/0926f3489dbc93a2e91ec8607a0ceb5d4d8a53e3

It would be nice if this patch could be applied in Gentoo.

See-Also: https://github.com/systemd/systemd/issues/6426
Comment 1 Mike Gilbert gentoo-dev 2017-07-23 01:20:34 UTC
I don't generally backport patches that have not yet been merged upstream. Let me know when they merge it.
Comment 2 Dennis Schridde 2017-08-09 12:24:06 UTC
The PR was merged upstream: https://github.com/systemd/systemd/pull/6420
The relevant commit in that PR was unchanged since my first post here: https://github.com/systemd/systemd/pull/6420/commits/0926f3489dbc93a2e91ec8607a0ceb5d4d8a53e3

The upstream bugreport was closed: https://github.com/systemd/systemd/issues/6426
Comment 3 Mike Gilbert gentoo-dev 2017-08-13 23:33:24 UTC
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ad264dbae71c361b268ef521ace36d81b118dc8

commit 4ad264dbae71c361b268ef521ace36d81b118dc8
Author: Mike Gilbert <floppym@gentoo.org>
Date:   Sun Aug 13 19:32:31 2017 -0400

    sys-apps/systemd: backport bug fixes
    
    Bug: https://bugs.gentoo.org/625970
    Bug: https://bugs.gentoo.org/625480
    Package-Manager: Portage-2.3.6_p34, Repoman-2.3.3_p12

 ...-look-for-generators-in-usr-lib-systemd-s.patch |  4 +-
 ...0002-cryptsetup-fix-infinite-timeout-6486.patch | 43 ++++++++++
 ...ke-sure-idn2-conversions-are-roundtrippab.patch | 92 ++++++++++++++++++++++
 ...systemd-234-r2.ebuild => systemd-234-r3.ebuild} |  2 +
 4 files changed, 139 insertions(+), 2 deletions(-)