Re: No more DNS with latest patches

2015-05-07 Thread Olivier Pinel (opinel)
Oups. ;o)

Here are the traces with working (1.29 + Adam's patch)  and failing cases
(1.29 + latests commits + Adam¹s).
I saw a resolvfile_remove after IPV6 that was not there before:

---
--
connmand[815]: src/service.c:__connman_service_ipconfig_indicate_state()
service 0x4cc4a0 (ethernet_18550f6e4889_cable) old state 4 (ready) new
state 3 (configu
ration) type 2 (IPv6)
connmand[815]: src/ipconfig.c:__connman_ipconfig_enable() ipconfig 0x4cb520
connmand[815]: src/resolver.c:connman_resolver_remove() index 3 domain
(null) server 172.21.122.2
connmand[815]: src/resolver.c:__connman_resolvfile_remove() index 3 server
172.21.122.2
---
---


Regression is nearly systematic on my setup.

Olivier


On 07/05/2015 15:40, "Tomasz Bursztyka" 
wrote:

>Hi Olivier,
>
>> Hello,
>>
>> I have tried to take latest patches (commits until service: Remove
>>duplicate 
>>function>d=f29bcdfd266224d3c9c03f89f297f7f44d46cd2c>) and I am now facing a DNS
>>issue. A time on 2 after reboot, my resolv.conf file is not filled
>>correctly.
>> I don¹t have name server line anymore.
>> I have attached traces.
>>
>
>Which are missing ;)
>
>So you cold really bisect that this patch is the culprit?
>
>Tomasz
>
>___
>connman mailing list
>connman@connman.net
>https://lists.connman.net/mailman/listinfo/connman

connmand[815]: Connection Manager version 1.29
connmand[815]: src/dbus.c:__connman_dbus_init()
connmand[815]: src/main.c:parse_config() parsing main.conf
connmand[815]: src/inotify.c:__connman_inotify_init()
connmand[815]: src/technology.c:__connman_technology_init()
connmand[815]: src/storage.c:storage_load() Loading /var/lib/connman/settings
connmand[815]: src/storage.c:storage_load() Loading /var/lib/connman/settings
connmand[815]: src/notifier.c:__connman_notifier_init()
connmand[815]: src/agent.c:__connman_agent_init()
connmand[815]: src/service.c:__connman_service_init()
connmand[815]: src/agent.c:connman_agent_driver_register() Registering driver 
0x4b4a30 name service
connmand[815]: src/storage.c:storage_load() Loading 
/var/lib/connman/ethernet_18550f6e4889_cable/settings
connmand[815]: src/peer_service.c:__connman_peer_service_init()
connmand[815]: src/peer.c:__connman_peer_init()
connmand[815]: src/provider.c:__connman_provider_init()
connmand[815]: src/notifier.c:connman_notifier_register() notifier 0x4b4b10 
name provider
connmand[815]: src/network.c:__connman_network_init()
connmand[815]: src/config.c:__connman_config_init()
connmand[815]: src/inotify.c:create_watch() Add directory watch for 
/var/lib/connman
connmand[815]: src/config.c:read_configs()
connmand[815]: src/device.c:__connman_device_init()
connmand[815]: src/ippool.c:__connman_ippool_init()
connmand[815]: src/iptables.c:__connman_iptables_init()
connmand[815]: src/firewall.c:__connman_firewall_init()
connmand[815]: src/nat.c:__connman_nat_init()
connmand[815]: src/notifier.c:connman_notifier_register() notifier 0x4b4e20 
name nat
connmand[815]: src/tethering.c:__connman_tethering_init()
connmand[815]: src/counter.c:__connman_counter_init()
connmand[815]: src/manager.c:__connman_manager_init()
connmand[815]: src/notifier.c:connman_notifier_register() notifier 0x4b4820 
name manager
connmand[815]: src/stats.c:__connman_stats_init()
connmand[815]: src/clock.c:__connman_clock_init()
connmand[815]: src/timezone.c:__connman_timezone_init()
connmand[815]: src/timezone.c:__connman_timezone_lookup() sysconfig zone (null)
connmand[815]: src/timezone.c:__connman_timezone_lookup() localtime zone 
America/New_York
connmand[815]: src/storage.c:storage_load() Loading /var/lib/connman/settings
connmand[815]: src/resolver.c:__connman_resolver_init() dnsproxy 0
connmand[815]: src/ipconfig.c:__connman_ipconfig_init()
connmand[815]: src/rtnl.c:__connman_rtnl_init()
connmand[815]: src/task.c:__connman_task_init()
connmand[815]: src/proxy.c:__connman_proxy_init()
connmand[815]: src/detect.c:__connman_detect_init()
connmand[815]: src/rtnl.c:connman_rtnl_register() rtnl 0x4b4b40 name detect
connmand[815]: src/session.c:__connman_session_init()
connmand[815]: src/notifier.c:connman_notifier_register() notifier 0x4b4c70 
name session
connmand[815]: src/timeserver.c:__connman_timeserver_init()
connmand[815]: src/notifier.c:connman_notifier_register() notifier 0x4b4b80 
name timeserver
connmand[815]: src/connection.c:__connman_connection_init()
connmand[815]: src/rtnl.c:connman_rtnl_register() rtnl 0x4b4800 name connection
connmand[815]: src/plugin.c:__connman_plugin_init()
connmand[815]: Checking loopback interface settings
connmand[815]: System hostname is cisco-stb
connmand[815]: src/utsname.c:connman_utsname_driver_register() driver 0x4b41d0 
name loopback
connmand[815]: src/notifier.

Re: No more DNS with latest patches

2015-05-07 Thread Tomasz Bursztyka

Hi Olivier,


Hello,

I have tried to take latest patches (commits until service: Remove duplicate 
function)
 and I am now facing a DNS issue. A time on 2 after reboot, my resolv.conf file is 
not filled correctly.
I don’t have name server line anymore.
I have attached traces.



Which are missing ;)

So you cold really bisect that this patch is the culprit?

Tomasz

___
connman mailing list
connman@connman.net
https://lists.connman.net/mailman/listinfo/connman


No more DNS with latest patches

2015-05-07 Thread Olivier Pinel (opinel)
Hello,

I have tried to take latest patches (commits until service: Remove duplicate 
function)
 and I am now facing a DNS issue. A time on 2 after reboot, my resolv.conf file 
is not filled correctly.
I don’t have name server line anymore.
I have attached traces.

Olivier

PS:Note that I am starting connman with –r option.
___
connman mailing list
connman@connman.net
https://lists.connman.net/mailman/listinfo/connman