glibc-2.26-54 breaks IPv6 DNS resolution from /etc/hosts file

0

There is a problem with the glibc-2.26-54 updates that prevent IPv6 entries from working in /etc/hosts

Starting with a Amazon Linux 2 AMI with glibc-2.26-48 (amazon/amzn2-ami-hvm-2.0.20210813.1-arm64-gp2)

I can have an IPv6 entry in /etc/hosts at it would work
2001:4860:4860::8888 dns6

$ curl -v6 http://dns6/

  • Trying 2001:4860:4860::8888:80...

However, after applying the glibc-2.26-54 updates via sudo yum update

$ curl -v6 http://dns6/

  • Could not resolve host: dns6

If I downgrade just the glibc updates
$ sudo yum downgrade glibc-2.26-48.amzn2.aarch64 glibc-all-langpacks-2.26-48.amzn2.aarch64 glibc-common-2.26-48.amzn2.aarch64 glibc-locale-source-2.26-48.amzn2.aarch64 glibc-minimal-langpack-2.26-48.amzn2.aarch64 libcrypt-2.26-48.amzn2.aarch64

$ curl -v6 http://dns6/

  • Trying 2001:4860:4860::8888:80...
질문됨 3년 전277회 조회
2개 답변
0

Hello, thanks for letting us know. We're looking into it.

Thanks.

답변함 3년 전
0

Just tried using amazon/amzn2-ami-hvm-2.0.20211001.1-arm64-gp2 with glibc-2.26-55 and the IPv6 entries are working in /etc/hosts

Edited by: JimmyFitbux on Oct 6, 2021 9:59 PM

답변함 3년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인