In installation process I chose correct my region and timezone. Installer show me correct time. After install I entered in system and got correct time again. But then I rebooted I got wrong time about 4 hours forward.
‘date’ show me wrong time, but ‘hwclock --show’ show me correct time. Also if I do ‘/etc/init.d/boot.clock restart’ time goes to correct value. But after rebooting I have it problem again.
I tried some methods, like delete /etc/adjtime etc, but it’s doesn’t work.
open with your favorite editor /etc/sysconfig/clock find the line SYSTOHC=“yes” and change it to no. That way it does not write back the system time to the hardware clock at reboot or shutdown
I do not think this is a good idea. It is the normal way to go, either setting the clock on shutdown to local time or to zero time (the former only if you crossboot to an OS that does not know about zero time).
In any case this setting of the hwclock can not make your system be off for four hours.
Having said this I do not know what the real reason is (I have still 10.3 and happy with it). Check if your NTP server is OK. Check your time zone setting in YaST and try again.
BTW if you crossboot with an MS system, did not set ‘setting your HW clock to local time on shutdown’ and corrected your time being in the other OS and there is four hours between local time and zero time (a long IF … AND … AND …) then I do understand, but that would go wrong in 10.3 also.
If we do “/etc/init.d/boot.clock restart”, we have correct time. Why we havnt correct time after boot?
I add in boot.clock as first unncoment line this: ‘echo “hello” >> /tmp/my.log’ and check after reboot file my.log. Nothing. It dont execute in boot time.
Then I add boot.clock script at 5 level run as “sudo ln -s /etc/init.d/boot.clock /etc/init.d/rc5.d/S99boot.clock” and rebooting. I got correct time and record in my.log. It’s work.
Then now question is why boot.clock dooesnt execute in S level in boot time?
I installed from iso image (openSUSE-11.0-DVD-i386.iso) booting with mini boot cd (openSUSE-11.0-NET-i386.iso). This method have also problem with language in installation time if it isnt english. But it solved yet in another thread.
I was having the same problem with my install of Suse 11.0_64. I went to Yast and selected System and the Date and Time. I set the date and time using a selected NTP and then configured it to run at boot time. That seemed to work just fine. I have rebooted 10 times and it has had the right clock time every time now. Hope this works for you:D:D
I am having a slightly different problem. The time on the clock display is correct and files are saved with the correct times when displayed with “ls -l”. YaST also shows the corect time and timezone. But when listed in Dolphin the times are advanced 7 hours. Annoying to say the least. Running 11.0 fully updated.
Konqueror shows the same incorrect time as Dolphin. This is definitely some kind of KDE4 bug. I have no idea what could cause the Konqueror and Dolphin listings to display a different time from the Konsole, especially when the Konsole time was the same as the KDE digital clock time when the file was created.
For bawolk the issue is different… If the shifted time stamp was only for newly created files that would be a place to look… but all files are being shown with a consistent +7 hours time stamp.
@bawolk, opening a console and switching to root, do you get the exact same time when looking at:
hwclock --show
&
date
?
Other than that there could be some user setting where you also have to set the timezone in KDE…? Not a heavy KDE user myself so wouldn’t know if there is… but have another browse through all settings?