Comment 40 for bug 43379

Revision history for this message
Caue Rego (caue-rego) wrote :

I was having an issue with dnsmasq and sharing my internet connection (which dnsmasq had previously corrected). and this was the sympton: nm-applet vanishing. I came here but before I started to read I decided to do one last attempt to fix it... and it worked, almost magically if I may add :P

on the system manager, I've found dnsmasq running as "dnsmasq -u dnsmasq -r /var/run/dnsmasq/resolv.conf" (I recall it perfectly) and started wondering why that path? after a while I've decided to kill the process and that's when the magic kicked in. next time I tried to set Network Manager to "create a new wireless network" it worked!

and now, on the system manager, I see a whole different new execution line for dnsmasq. it's rather huge now:
 /usr/sbin/dnsmasq --no-hosts --keep-in-foreground --bind-interfaces --no-poll --except-interface=lo --listen-address=10.42.44.1 --dhcp-range=10.42.44.10,10.42.44.100,60m --dhcp-option=option:router,10.42.44.1 --dhcp-lease-max=50 --pid-file=/var/run/nm-dnsmasq-wlan0.pid

later on I try to understand what happened in fact, but I guess this could be somewhat related to this bug, and I hope this info can be of some use. :)

one more thing, when reading the logs when the nm-applet fails it's somehow related to nm-dispatcher. as you can see below, it crashed from a fresh boot exactly at 00:12:43 and so I could link the errors from kern and daemon logs.

Feb 2 00:12:43 caue-laptop kernel: [ 109.608254] nm-applet[6658]: segfault at 0 ip 0000000000410e37 sp 00007fff3150aed0 error 4 in nm-applet[400000+45000]

Feb 2 00:12:43 caue-laptop NetworkManager: <info> (ttyUSB0): device state change: 8 -> 3
Feb 2 00:12:43 caue-laptop NetworkManager: <info> (ttyUSB0): deactivating device (reason: 38).
Feb 2 00:12:43 caue-laptop NetworkManager: <debug> [1233540763.340545] nm_serial_device_close(): Closing device 'ttyUSB0'
Feb 2 00:12:43 caue-laptop NetworkManager: <info> (ttyUSB0): removing resolv.conf from /sbin/resolvconf
Feb 2 00:12:43 caue-laptop NetworkManager: nm_system_device_flush_ip4_routes_with_iface: assertion `iface_idx >= 0' failed
Feb 2 00:12:43 caue-laptop NetworkManager: nm_system_device_flush_ip4_addresses_with_iface: assertion `iface_idx >= 0' failed
Feb 2 00:12:43 caue-laptop nm-dispatcher.action: Script '/etc/NetworkManager/dispatcher.d/01ifupdown' exited with error status 1.
Feb 2 00:12:44 caue-laptop ntpdate[7032]: sendto(91.189.94.4): Network is unreachable