whisthq / whist

Whist Browser
https://whist.com
Apache License 2.0
7 stars 3 forks source link

Improve how we set the time on the remote container to avoid tzdata and requiring sudo #138

Closed philippemnoel closed 3 years ago

philippemnoel commented 4 years ago

Feature Name & Description Currently, we use runcmd with sudo to set the time on Linux, which requires the password. We should have the host-service do it via writing to the time device instead, so we don't need to get the password of the containers. See below

Screen Shot 2020-09-10 at 11 19 48

The Problem It Fixes Setting time on containers without needing password

Feature Implementation See above ^^

philippemnoel commented 4 years ago

Ensure that the timezone of the Fractal container always matches the timezone of their host machine.

rpadaki commented 3 years ago

We can handle timezone the exact same way we handle, say, DPI. Much simpler than making the protocol responsible!

npip99 commented 3 years ago

In our protocol, fixed by PR #1274

However, ./container-images/base/config/systemd-logind-override-ubuntu20.conf is not working, and timedated depends on that conf file working.