Hi, On Mon, 02 Apr 2012 11:59:37 +0200 Daniel Wagner <[email protected]> wrote:
> On 30.03.2012 21:11, Mario Domenech Goulart wrote: >> I'm really sorry to inform you that I no longer can reproduce the >> problematic behavior I was facing. > >> Again, I apologize for wasting your time. > > I might have an explenation on the AutoConnect behavior: > >>> The content of /var/lib/connman/ethernet_0024ee0039c1_cable/settings is >>> >>> [ethernet_0024ee0039c1_cable] >>> Name=Wired >>> Modified=2012-03-30T10:21:00.867129Z >>> IPv4.method=dhcp >>> IPv4.DHCP.LastAddress=10.2.254.39 >>> IPv6.method=auto >>> IPv6.privacy=disabled >>> IPv4.netmask_prefixlen=24 >>> IPv4.local_address=10.2.254.39 >>> IPv4.gateway=10.2.254.254 >>> Nameservers=192.168.254.254; > > What is missing here is the "AutoConnect" entry. That means when we load > this file, service->autoconnect will be left on False and hence no > automatic connection on boot up. > > I tend to say we should not add some 'workaround' for that. If it is > missing, then that is the correct behavior. Ok. Thanks for your replies, Daniel. Now I could get python on the system I'm working on. I have a case here which makes connman segfault. Here's an ugly script that triggers the problem (it assumes connmand is NOT running): http://parenteses.org/mario/misc/connman-segfault.sh Here are the last log lines: connmand[747]: src/network.c:set_connected_dhcp() network 0x90f7ea0 connmand[747]: src/network.c:set_configuration() network 0x90f7ea0 connmand[747]: src/device.c:connman_device_set_disconnected() device 0x90f7ca0 disconnected 0 connmand[747]: src/service.c:__connman_service_lookup_from_network() network 0x90f7ea0 connmand[747]: src/service.c:__connman_service_ipconfig_indicate_state() service 0x90f8a00 (ethernet_0024ee0039c1_cable) state 3 (configuration) type 1 (IPv4) connmand[747]: src/ipconfig.c:__connman_ipconfig_enable() ipconfig 0x90f8180 connmand[747]: src/service.c:service_indicate_state() service 0x90f8a00 old idle - new configuration/idle => configuration connmand[747]: src/session.c:service_state_changed() service 0x90f8a00 state 3 connmand[747]: src/notifier.c:notify_idle_state() idle 0 connmand[747]: src/manager.c:idle_state() idle 0 connmand[747]: src/stats.c:__connman_stats_service_register() service 0x90f8a00 connmand[747]: src/connection.c:find_active_gateway() connmand[747]: src/connection.c:update_order() connmand[747]: src/dhcp.c:__connman_dhcp_start() connmand[747]: src/network.c:connman_network_ref_debug() 0x90f7ea0 name Wired ref 7 by src/dhcp.c:490:__connman_dhcp_start() connmand[747]: Aborting (signal 11) [connmand] connmand[747]: ++++++++ backtrace ++++++++ Best wishes. Mario -- http://parenteses.org/mario _______________________________________________ connman mailing list [email protected] http://lists.connman.net/listinfo/connman
