GNOME Bugzilla – Bug 709638
"Network unavailable" icon is displayed only after wifi disconnect, but not after cable disconnect
Last modified: 2013-10-08 19:16:26 UTC
When I boot my laptop with no connection available (ethernet cable pulled out and wifi networks set to not autoconnect), I see "network unavailable" icon in top right corner. If I connect to a wifi network, it disappears (rightly so). If I disconnect from the network, it appears again (great). When I plug in cable, it disappears again (perfect). But when I disconnect the cable, it does not appear once again (booo). The 'network unavailable' icon is only visible upon boot (if the conditions match) or after wifi disconnect, but not after cable disconnect. gnome-shell-3.10.0.1-1.fc20.x86_64 NetworkManager-0.9.9.0-12.git20130913.fc20.x86_64 When I disconnect the cable, the journalctl log says: Oct 08 14:50:15 medusa kernel: e1000e: em1 NIC Link is Down Oct 08 14:50:15 medusa NetworkManager[948]: <info> (em1): link disconnected (deferring action for 4 seconds) Oct 08 14:50:19 medusa NetworkManager[948]: <info> (em1): link disconnected (calling deferred action) Oct 08 14:50:19 medusa NetworkManager[948]: <info> (em1): device state change: activated -> unavailable (reason 'carrier-changed') [100 20 40] Oct 08 14:50:19 medusa NetworkManager[948]: <info> (em1): deactivating device (reason 'carrier-changed') [40] Oct 08 14:50:19 medusa NetworkManager[948]: <info> (em1): canceled DHCP transaction, DHCP client pid 6712 Oct 08 14:50:19 medusa avahi-daemon[947]: Withdrawing address record for 10.34.29.153 on em1. Oct 08 14:50:19 medusa dnsmasq[1562]: reading /etc/resolv.conf Oct 08 14:50:19 medusa avahi-daemon[947]: Leaving mDNS multicast group on interface em1.IPv4 with address 10.34.29.153. Oct 08 14:50:19 medusa dnsmasq[1562]: using nameserver 10.11.5.19#53 Oct 08 14:50:19 medusa dnsmasq[1562]: using nameserver 10.38.5.26#53 Oct 08 14:50:19 medusa dnsmasq[1562]: using local addresses only for unqualified names Oct 08 14:50:19 medusa avahi-daemon[947]: Interface em1.IPv4 no longer relevant for mDNS. Oct 08 14:50:19 medusa NetworkManager[948]: <info> NetworkManager state is now DISCONNECTED Oct 08 14:50:19 medusa dbus-daemon[980]: dbus[980]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' Oct 08 14:50:19 medusa dbus[980]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' Oct 08 14:50:19 medusa systemd[1]: Starting Network Manager Script Dispatcher Service... Oct 08 14:50:19 medusa dbus-daemon[980]: dbus[980]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher' Oct 08 14:50:19 medusa dbus[980]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher' Oct 08 14:50:19 medusa systemd[1]: Started Network Manager Script Dispatcher Service. Oct 08 14:50:19 medusa systemd[1]: Stopping Sendmail Mail Transport Client... Oct 08 14:50:19 medusa systemd[1]: Stopping Sendmail Mail Transport Agent... Oct 08 14:50:19 medusa systemd[1]: Starting Sendmail Mail Transport Agent... Oct 08 14:50:19 medusa sendmail[6826]: starting daemon (8.14.7): SMTP+queueing@01:00:00 Oct 08 14:50:19 medusa systemd[1]: Started Sendmail Mail Transport Agent. Oct 08 14:50:19 medusa systemd[1]: Starting Sendmail Mail Transport Client... Oct 08 14:50:19 medusa sm-msp-queue[6863]: starting daemon (8.14.7): queueing@01:00:00 Oct 08 14:50:19 medusa systemd[1]: Started Sendmail Mail Transport Client. Oct 08 14:50:19 medusa chronyd[982]: Source 178.17.162.12 offline Oct 08 14:50:19 medusa chronyd[982]: Source 94.23.25.78 offline Oct 08 14:50:19 medusa chronyd[982]: Source 85.255.214.66 offline Oct 08 14:50:19 medusa chronyd[982]: Source 193.227.197.2 offline Oct 08 14:50:19 medusa chronyd[982]: Source 10.192.206.245 offline
Jasper, why do you think this is NM's fault? > Oct 08 14:50:19 medusa NetworkManager[948]: <info> NetworkManager state is now DISCONNECTED
It seems like it's not firing notify::primary-connection on the libnm-glib side.
Created attachment 256749 [details] [review] network: make the icon visible again when going from ethernet to nothing
Review of attachment 256749 [details] [review]: Whoops. Yes.
Attachment 256749 [details] pushed as f7624e5 - network: make the icon visible again when going from ethernet to nothing