clearlinux / distribution

Placeholder repository to allow filing of general bugs/issues/etc against the Clear Linux OS for Intel Architecture linux distribution
522 stars 29 forks source link

online time sync is wrong in the installer #1216

Open nazar2sfive opened 5 years ago

nazar2sfive commented 5 years ago

image

when i choose automatic date and time the time syncs to incorrect time. infact shows 2 PM or something.

I set the time back to 9:13 PM by unchecking the automatic date and time option and setting it manually.

nazar2sfive commented 5 years ago

wow i posted above just 20 min back and it shows 6 hours ago ... haha

image

fenrus75 commented 5 years ago

normally time sync comes from the network router (e.g. wifi router or similar)

On Thu, Sep 12, 2019 at 8:51 AM nazar2sfive notifications@github.com wrote:

wow i posted above just 20 min back and it shows 6 hours ago ... haha

[image: image] https://user-images.githubusercontent.com/12841320/64799896-1b743000-d575-11e9-882c-db87ffb877c1.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/clearlinux/distribution/issues/1216?email_source=notifications&email_token=AAJ54FOAEIVGJ5CVS7W3F73QJJQOVA5CNFSM4IWGELC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6SLPYY#issuecomment-530888675, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJ54FN5LXRB2CWNR3TOEYTQJJQOVANCNFSM4IWGELCQ .

nazar2sfive commented 5 years ago

@fenrus75 everyother device is fine. android, windows 10, tablets all working same with time sync. why only in clear linux?

thiagomacieira commented 5 years ago

"UTC (Kathmandu, Nepal)" doesn't look right. Kathmandu is not UTC, it's UTC+05:45.

nazar2sfive commented 5 years ago

image

anselmolsm commented 5 years ago

Could you please paste the output of timedatectl (executed in a terminal)?

nazar2sfive commented 5 years ago

image i have set the time to manual

thiagomacieira commented 5 years ago

Thank you, looks like the timezone setting is correct. The UI is having problems reporting it though. You didn't include the application name in your first screenshot, which one was it?

PS: when getting data from a terminal, please copy & paste if you can, instead of screenshotting text.

nazar2sfive commented 5 years ago

@thiagomacieira i did that deliberately to compare the UI showing my time and to terminal.

nazar2sfive commented 5 years ago

https://askubuntu.com/questions/169376/clock-time-is-off-on-dual-boot

thiagomacieira commented 5 years ago

Dual-boot is not it. That would simply be that your hardware clock is set to the wrong timezone.

The issue in your case is that the graphical tool thinks your timezone is the same as UTC, not 5 hours and 45 minutes ahead of it.

nazar2sfive commented 5 years ago

@thiagomacieira but i did everything from that link .. and i am not having the problem yet. waiting for few more days if the problems will be back again. but i think that has done for me.

processor286 commented 5 years ago

Same for me. I see the following in timedatectl (these values are correct)

$ timedatectl
               Local time: Tue 2019-09-17 13:23:58 BST
           Universal time: Tue 2019-09-17 12:23:58 UTC
                 RTC time: Tue 2019-09-17 12:23:58
                Time zone: Europe/London (BST, +0100)
System clock synchronized: yes
              NTP service: active
          RTC in local TZ: no

But, the GNOME top bar, and the settings application are incorrect:

image

and:

image

It seems like there's a disconnect somewhere. It's also impossible to change the time zone using the world map picker, and make it stick. It just never saves.

thiagomacieira commented 5 years ago

Ok, looks like the GNOME UI is failing to parse timezones. I initially thought that it was the quarter hour offset somehow throwing it off, but if it's having problems with Europe/London, it's probably having problems with ALL timezones.

nazar2sfive commented 5 years ago
android@clr~/broadcom-wl $ sudo make install
make: Warning: File 'Makefile' has modification time 18482 s in the future
install -D -m 755 wl.ko /lib/modules/`uname -r`/kernel/drivers/net/wireless
make: warning:  Clock skew detected.  Your build may be incomplete.

clock skew??

romulasry commented 4 years ago

Same issue as of current date. Date on router is fine.

romulasry commented 4 years ago

Seems fixed for me now.

stokhos commented 3 years ago

I'm having this problem too. Is there a fix?

phmccarty commented 3 years ago

@stokhos Can you elaborate on the specific issue you are having related to online time sync? Steps to reproduce would be helpful. Or if it's not 100% reproducible, that's also helpful to know.

Multiple bugs have been mentioned in this thread, so I wanted to ask for clarification.

stokhos commented 3 years ago

@stokhos Can you elaborate on the specific issue you are having related to online time sync? Steps to reproduce would be helpful. Or if it's not 100% reproducible, that's also helpful to know.

Multiple bugs have been mentioned in this thread, so I wanted to ask for clarification.

I'm not sure how to replicate this.

I have gnome running. The time in gnome is not correct.

$ timedatectl

Returns the correct time.

Why problem is exactly same as the one harpingon had

phmccarty commented 3 years ago

Thanks. It looks like your issue might be a duplicate of #2168, which should be resolved early next week.