On Fri, Nov 23, 2018 at 5:30 AM Daniel Wagner <wagi@monom.org> wrote:
ConnMan does not keep track of which config has been applied already. If
a Service matches a config it will be used. The current behavior has
also the upside we don't have a random outcome which service will be
considered when a config matches (the ordering of the interfaces might
not be stable). So I tend to say the code is doing the right thing at
this moment and the documentation is wrong.

Looks fine to fix the documentation...
 
> The second issue happens when I remove /var/lib/connman/010203040506.config,
>
> Connman at this time does not reset the interfaces to the default
> configuration and instead they become unconfigured:
>
> $ connmanctl services ethernet_(...1...)_cable
> ...
>   State = idle
>   Favorite = True
>   Immutable = False
>   AutoConnect = True
> ...
>   IPv4 = [  ]
>   IPv4.Configuration = [  ]
> ...
> $ connmanctl services ethernet_(...2...)_cable
> ...
>   State = idle
>   Favorite = True
>   Immutable = False
>   AutoConnect = True
> ...
>   IPv4 = [  ]
>   IPv4.Configuration = [  ]

What you mean with default configuration? I seem to miss the important
thing in you listing :)

I don't known if the confusion is because you think I removed data from IPv4*. No.

IPv4* fields are empty. Unconfigured. 

Default without config file: DHCP
I add a config file: Static
I remove the config file: Unconfigured.

Maybe I missed any relevant field?

Thanks,
Nuno