mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-01 19:36:04 +08:00
Ubuntu 20.04 now resolves test dockers like vsftpd.test-net.qt.local
Task-number: QTBUG-86187 Change-Id: I050a915cb72f91374f40d3db5ee2d417181eda8a Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
This commit is contained in:
@@ -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 <<EOT | sudo tee /etc/mdns.allow
|
||||
.local.
|
||||
.local
|
||||
EOT
|
||||
|
||||
sudo sed -i '/^hosts:/s/mdns4_minimal/mdns4/' /etc/nsswitch.conf
|
||||
Reference in New Issue
Block a user