| Summary: | Time jumps backwards on reboot. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jim <jdparker225> |
| Component: | initscripts | Assignee: | Bill Nottingham <notting> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 15 | CC: | chrobacilla, dad, gregor.binder, hello.zt, iarlyy, jonathan, mcrcctm, notting, plautrba, rvokal, vpavlin |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-07-20 10:10:46 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Jim
2011-06-02 01:43:55 UTC
Please attach: /etc/adjtime and the output of "find /etc/systemd/system /lib/systemd/system -name "*hwclock*" " Also, do you have initscripts-legacy installed? I have a Fedora 15 32 bit installation and have the same issue /etc/adjtime -10463.504179 1307049660 0.000000 1307049660 LOCAL output from find /lib/systemd/system/hwclock-load.service /lib/systemd/system/hwclock-save.service /lib/systemd/system/shutdown.target.wants/hwclock-save.service initscripts-legacy installed? no My system jumps on sleep also I have a Fedora 15 32 bit installation upgraded from Fedora 14 and have the same issue. I'm in +1 timezone and after boot I get time shift of +2 against time before boot (so 2 boots make 4 hours difference from bios time). It seems that running "hwclock --hctosys" (as mentioned in bug 584620) after boot works until rebooted. content of my /etc/adjtime 12.989076 1307089805 0.000000 1307089805 LOCAL /lib/systemd/system/shutdown.target.wants/hwclock-save.service /lib/systemd/system/hwclock-save.service /lib/systemd/system/hwclock-load.service I got similar output as Zach for all three questions. I assume you don't care about the first two lines of /etc/adjtime. Have not tried sleep. Note: to get around the problem I have checked the "System clock uses UTC" box in Date/Time and that changed the third line of /etc/adjtime to "UTC". It shows time 4 hours in the past but it does not bounce around on reboot. I have toggled the "System clock uses UTC" several times and /etc/adjtime is updated each time. And, yes, I did look at /etc/adjtime prior to chaning the setting of "System clock uses UTC". Me too. I've verified on two system, both installed freshly, that system time is not adjusted for timezone during boot - until ntpd starts and fixes things. I boot without rhgb, and with the equivalent of initlevel 3, so don't see time until long after ntpd has fixed local time. However, timestamps in /var/log/messages clearly show that time was correct prior to the reboot, is displayed with a 4 hour increment starting at the boot, and goes back to correct local time when ntpd starts. This is a "new feature" of Fedora 15. It also happened to me. I found hwclock-save was enabled but hwclock-load wasn't. Enabling hwclock-load solved the problem for me. So here is how to test that: $ systemctl --system is-enabled hwclock-load.service $ echo $? 1 $ systemctl --system is-enabled hwclock-save.service $ echo $? 0 0 meaning enabled and not 0 disabled. Now enable hwclock-load: # systemctl --system enable hwclock-load.service $ systemctl --system is-enabled hwclock-load.service $ echo $? 0 I don't know if that's The Right Way of doing things. Also I don't know where the problem came from or when it started, but I had been using F15 (preupgraded from F14) without that problem for some time. (In reply to comment #4) > I got similar output as Zach for all three questions. I assume you don't care > about the first two lines of /etc/adjtime. Have not tried sleep. > > Note: to get around the problem I have checked the "System clock uses UTC" box > in Date/Time and that changed the third line of /etc/adjtime to "UTC". It shows > time 4 hours in the past but it does not bounce around on reboot. > > I have toggled the "System clock uses UTC" several times and /etc/adjtime is > updated each time. > > And, yes, I did look at /etc/adjtime prior to chaning the setting of "System > clock uses UTC". thx that solved my problem greetings gregor Just installed F16 via preupgrade and I am no longer seeing this problem. I have toggled "System Clock uses UTC" back on and local time is displayed correctly and there is no time change on reboot. Jim |