Send connman mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.01.org/mailman/listinfo/connman
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of connman digest..."
Today's Topics:
1. Re: [PATCH] timezone: Add support for setting timezone using
timedated (Slava Monich)
2. Re: /etc/resolv.conf disable overwrite (Miguel Bernal Marin)
----------------------------------------------------------------------
Message: 1
Date: Sun, 28 Aug 2016 12:24:56 +0300
From: Slava Monich <[email protected]>
To: Marcel Holtmann <[email protected]>, Philip Withnall
<[email protected]>
Cc: [email protected]
Subject: Re: [PATCH] timezone: Add support for setting timezone using
timedated
Message-ID: <[email protected]>
Content-Type: text/plain; charset=windows-1252; format=flowed
On 27/08/16 17:15, Marcel Holtmann wrote:
> Hi Philip,
>
>> If we are running under systemd, the ProtectSystem key in our .service
>> file prevents us from writing to /etc/localtime. Instead, set the
>> timezone by using org.freedesktop.timedate1 over D-Bus, if it is
>> available. If it is not available, fall back to /etc/localtime.
>>
>> Signed-off-by: Philip Withnall <[email protected]>
>> ---
>> src/timezone.c | 213
>> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
>> 1 file changed, 210 insertions(+), 3 deletions(-)
> how hard would it to build a connman_timezone_driver_register infrastructure?
> Hard coding systemd D-Bus APIs and a fallback seems like the wrong approach.
> I think we should have a plugin to overwrite default behavior. Similar to
> what we do with proxies and other features.
+1
Sailfish OS is using timed which has a D-Bus API of its own.
Cheers,
-Slava
------------------------------
Message: 2
Date: Sun, 28 Aug 2016 10:30:40 -0500
From: Miguel Bernal Marin <[email protected]>
To: "Moberg, Patrik" <[email protected]>,
"[email protected]" <[email protected]>
Subject: Re: /etc/resolv.conf disable overwrite
Message-ID: <[email protected]>
Content-Type: text/plain; charset=windows-1252; format=flowed
> Is there anyway to tell Connman not to overwrite /etc/resolv.conf in
> version 1.33?
>
Connman uses systemd tmpfiles to overwrite /etc/resolv.conf, you can
edit /usr/lib/tmpfiles.d/connman_resolvconf.conf to avoid
/etc/resolv.conf be overwriten (remove +, on L+)
As others said connman needs to update resolv.conf, use this with
cation.
Clear Linux uses this patch
https://github.com/clearlinux-pkgs/connman/blob/master/0001-create-resolv.conf-link-when-lauched.patch
but this is a particular case.
--
Regards,
Miguel Bernal Marin Open Source Technology Center
https://clearlinux.org Intel Corporation
------------------------------
Subject: Digest Footer
_______________________________________________
connman mailing list
[email protected]
https://lists.01.org/mailman/listinfo/connman
------------------------------
End of connman Digest, Vol 10, Issue 36
***************************************