On Wed, May 27, 2020 at 08:58:15AM +0200, Daniel Wagner wrote:
On Tue, May 26, 2020 at 09:10:01PM -0000, robertweber95(a)gmail.com
> I've noticed that when switching network connections, the old service
> settings remain in /var/lib/connman, even if I use the service
> Remove() DBus method. Is it possible to remove these settings files
> using the DBus API?
Currently there is no D-Bus API for removing stale settings. That reminds me
of a contribution which went directly into my inbox. I've just posted it
on the mailing list. IIRC, it adds a D-Bus API to remove the settings.
The patch needs a bit of cleanup from a quick glance though.
Thanks for posting the patch! This definitely helps with my
understanding. I'll keep an eye on this patch as it goes through code
> Lastly, could you tell me a bit more about the normal behavior
> provisioning settings, such as when those files are removed by connman
> (if at all)?
Provisioning files wont be changed/removed by ConnMan. If you create one
file as user, you will be always the owner of this file.
Gotcha. I think I was getting some terminology confused, so provisioning
files are unrelated to the service settings I'm interested in removing.
Thanks for the information!