tdeckers / docker-openhab

Docker image for Openhab
33 stars 41 forks source link

timezone file is not working any more #29

Open agaengel opened 7 years ago

agaengel commented 7 years ago

I just updated my openhab and noticed that time zone file is not working any more.

with out further checking I think dpkg-reconfigure -f noninteractive tzdata behaves other in the ubuntu:16.04 image.

Regards Alex

tdeckers commented 7 years ago

Thanks.. looks like ubuntu 16.04 uses timedatactl to set timezone... which depends on systemd/dbus. The easy fix (timedatectl set-timezone $tz) gives all kinds of issues with dbus missing, etc.. Will try and find a solution.

Ref: https://github.com/docker/docker/issues/2296

agaengel commented 7 years ago

I found a solution for the timezone problem and created a pull request https://github.com/tdeckers/docker-openhab/pull/30

Regards Alex