Fake-HW clock not working

I am using raspberry pi 1 for my project and I recently flashed new os (2.12.3) with my application. On restart over D-Bus I observed that the time going back to some random time in the absence of NTP. I have also observed that I was not able to get few environmental variables. Earlier I was using 2.2.0 and I have never seen such problems before.

Can I know is there any OS specific things that I should take care of for the latest versions

Hi @dineshjakkam
Which environment variables are not available?

The latest commit of our application (“RESIN_APP_RELEASE”).

ResinOS should sync with an NTP server on boot. Have you blocked access to the NTP servers?
Since our release of multicontainer the RESIN_APP_RELEASE env var is no longer available. You can retrieve the current commit using the supervisor’s /v1/device endpoint ( https://github.com/resin-io/resin-supervisor/blob/master/docs/API.md#get-v1device ).

So, this is the case when I loose the internet connection. Our device reboots through command over D-Bus when it has no internet connection for extended period of time. When it boots up, I am seeing that time going back to some random period if I still don’t get internet connection. It is not working as mentioned in time management page https://docs.resin.io/reference/resinOS/time/#technical-details , which I observed working perfectly in older versions.

Hi @dineshjakkam Can you reproduce this issue using the latest OS? (v2.12.6)

I don’t see the issue in v2.12.6. Thank you.

1 Like