After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 727616 - Connectivity check happens too early when dnsmasq is enabled
Connectivity check happens too early when dnsmasq is enabled
Status: RESOLVED OBSOLETE
Product: NetworkManager
Classification: Platform
Component: IP and DNS config
git master
Other Linux
: Normal normal
: ---
Assigned To: NetworkManager maintainer(s)
NetworkManager maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2014-04-04 16:45 UTC by Giovanni Campagna
Modified: 2020-11-12 14:27 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Giovanni Campagna 2014-04-04 16:45:46 UTC
If dnsmasq is enabled, connectivity check happens when the device is set up, but before dnsmasq is fully started, so before the actual DNS servers are up.
This means NM fails the check.

Output from journal:

apr 04 18:42:14 giovanni-laptop NetworkManager[12169]: <info> Activation (wlan0) successful, device activated.
apr 04 18:42:14 giovanni-laptop NetworkManager[12169]: <info> Connectivity check for uri 'http://nmcheck.gnome.org/check_network_status.txt' failed with 'Cannot resolve hostname (nmcheck.gnome.org)'.
apr 04 18:42:14 giovanni-laptop NetworkManager[12169]: <info> Connectivity check for uri 'http://nmcheck.gnome.org/check_network_status.txt' failed with 'Cannot resolve hostname (nmcheck.gnome.org)'.
apr 04 18:42:14 giovanni-laptop NetworkManager[12169]: <info> NetworkManager state is now CONNECTED_SITE
apr 04 18:42:14 giovanni-laptop NetworkManager[12169]: <info> Connectivity check for uri 'http://nmcheck.gnome.org/check_network_status.txt' failed with 'Cannot resolve hostname (nmcheck.gnome.org)'.
apr 04 18:42:14 giovanni-laptop NetworkManager[12169]: <info> Connectivity check for uri 'http://nmcheck.gnome.org/check_network_status.txt' failed with 'Cannot resolve hostname (nmcheck.gnome.org)'.
apr 04 18:42:14 giovanni-laptop NetworkManager[12169]: <info> Connectivity check for uri 'http://nmcheck.gnome.org/check_network_status.txt' failed with 'Cannot resolve hostname (nmcheck.gnome.org)'.
apr 04 18:42:14 giovanni-laptop dnsmasq[19525]: started, version 2.68 cachesize 400
apr 04 18:42:14 giovanni-laptop dnsmasq[19525]: compile time options: IPv6 GNU-getopt DBus no-i18n IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth
apr 04 18:42:14 giovanni-laptop dnsmasq[19525]: using nameserver 8.8.8.8#53
Comment 1 André Klapper 2020-11-12 14:27:14 UTC
bugzilla.gnome.org is being shut down in favor of a GitLab instance. 
We are closing all old bug reports and feature requests in GNOME Bugzilla which have not seen updates for a long time.

If you still use NetworkManager and if you still see this bug / want this feature in a recent and supported version of NetworkManager, then please feel free to report it at https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/

Thank you for creating this report and we are sorry it could not be implemented (workforce and time is unfortunately limited).