On 27/08/16 17:15, Marcel Holtmann wrote:
> 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 <philip.withnall(a)collabora.co.uk>
> 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
Sailfish OS is using timed which has a D-Bus API of its own.