From 1dd03fc1653108ae898c0a308ec2b25dbc99f2c6 Mon Sep 17 00:00:00 2001 From: Dimitrios Apostolou Date: Wed, 14 Oct 2020 18:10:32 +0200 Subject: [PATCH] Ubuntu 20.04 now resolves test dockers like vsftpd.test-net.qt.local MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Task-number: QTBUG-86187 Change-Id: I050a915cb72f91374f40d3db5ee2d417181eda8a Reviewed-by: Qt CI Bot Reviewed-by: Tony Sarajärvi --- .../81-fix_mdns_docker_resolution.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/81-fix_mdns_docker_resolution.sh diff --git a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/81-fix_mdns_docker_resolution.sh b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/81-fix_mdns_docker_resolution.sh new file mode 100755 index 00000000..0085d8ad --- /dev/null +++ b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/81-fix_mdns_docker_resolution.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +# The new version of libnss-mdns resolver library automatically rejects all +# hostnames with more than two labels (i.e. subdomains deep), for example +# vsftpd.test-net.qt.local is automatically rejected. The changes here fix +# this, see also https://github.com/lathiat/nss-mdns#etcmdnsallow + +cat <