Comment 24 for bug 1048430

Revision history for this message
Stéphane Berthelot (sberthelot) wrote :

I also encounter this bug on fresh Kubuntu 15.04 install. I'm on SSD I don't know if the daemons starting speed has somthing to do with this.
I suppose NM gets the DNS info (from DHCP), tries to notify dnsmasq. Since dnsmasq is not yet started it launches it but I don't see any retry afterwards to send DNS info to dnsmasq once started.
The symptoms for me are working IP stacks (both 4 and 6), correct routing, but with all DNS requests "refused" (by 127.0.1.1).
Restarting NM after makes everything work as expected (dnsmasq is then already started)
How can I see if NM retries to pass the DNS info to dnsmasq once started ?

That's what I get on boot, nothing about NM or dnsmasq after, until I restart NM service.

juil. 22 09:27:17 architect NetworkManager[973]: <info> NetworkManager state is now CONNECTED_LOCAL
juil. 22 09:27:17 architect NetworkManager[973]: <info> NetworkManager state is now CONNECTED_GLOBAL
juil. 22 09:27:17 architect NetworkManager[973]: <info> Policy set 'Connexion filaire 1' (eth0) as default for IPv6 routing and DNS.
juil. 22 09:27:17 architect NetworkManager[973]: <info> DNS: starting dnsmasq...
juil. 22 09:27:17 architect NetworkManager[973]: <warn> dnsmasq not available on the bus, can't update servers.
juil. 22 09:27:17 architect NetworkManager[973]: <error> [1437550037.972824] [dns-manager/nm-dns-dnsmasq.c:398] update(): dnsmasq owner
juil. 22 09:27:17 architect NetworkManager[973]: <warn> DNS: plugin dnsmasq update failed
juil. 22 09:27:17 architect NetworkManager[973]: <info> Writing DNS information to /sbin/resolvconf
juil. 22 09:27:17 architect whoopsie[946]: [09:27:17] Cannot reach: https://daisy.ubuntu.com
juil. 22 09:27:17 architect dnsmasq[1150]: démarrage avec le cache désactivé (version 2.72)
juil. 22 09:27:17 architect dnsmasq[1150]: options à la compilation : IPv6 GNU-getopt DBus i18n IDN DHCP DHCPv6 no-Lua TFTP conntrack ip
juil. 22 09:27:17 architect dnsmasq[1150]: Support DBus autorisé : connecté au bus système
juil. 22 09:27:17 architect dnsmasq[1150]: attention : aucun serveur amont n'est configuré
juil. 22 09:27:18 architect kernel: random: nonblocking pool is initialized
juil. 22 09:27:18 architect org.kde.kded5[1135]: Saving