[Bug 426270] New: Time resets everytime machine is rebooted
https://bugzilla.novell.com/show_bug.cgi?id=426270 Summary: Time resets everytime machine is rebooted Product: openSUSE 11.0 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: psankar@novell.com QAContact: qa@suse.de Found By: --- My time resets into some future time , everytime I reboot my machine. This makes my builds unusable. Worse, I dont have a clockapplet in my desktop and hence I dont notice this until some build breaks. It screws up the SMTP mail send time as well. Sync at boot with NTP also fails. Manual syncing with NTP also fails. My system is close to unusable because of this. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270
User psankar@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c1
Sankar P
https://bugzilla.novell.com/show_bug.cgi?id=426270
User rvojcik@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c2
Robert Vojcik
https://bugzilla.novell.com/show_bug.cgi?id=426270
User psankar@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c3
--- Comment #3 from Sankar P
Hello,
Please provide the content of /etc/adjtime
0.275542 1221504743 0.000000 1221504743 LOCAL
Is your hardware clock set to localtime or UTC?
Localtime
Right after booting, when you get the wrong system time, can you please check the output of
hwclock --show
Shall restart and provide this.
Thanks
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270
User psankar@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c4
Sankar P
Right after booting, when you get the wrong system time, can you please check the output of
hwclock --show
Shall restart and provide this.
Tue 16 Sep 2008 01:02:35 AM IST -0.589853 seconds This shows the correct time. At the same instant, the system clock is showing a different time than the output of hwclock. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270
User rvojcik@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c5
Robert Vojcik
https://bugzilla.novell.com/show_bug.cgi?id=426270
User psankar@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c6
Sankar P
Ok,
try to change in yast2 system clock to UTC instead of local time.
Yes. that does not make the system time go wrong. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270
User chuckwolfe@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c7
chuck wolfe
Ok,
try to change in yast2 system clock to UTC instead of local time.
Yes. that does not make the system time go wrong. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270
User psankar@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c8
Sankar P
https://bugzilla.novell.com/show_bug.cgi?id=426270
User ivan.lucchese@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c9
Ivan Lucchese
https://bugzilla.novell.com/show_bug.cgi?id=426270
Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=426270
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c10
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=426270
User psankar@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c11
Sankar P
https://bugzilla.novell.com/show_bug.cgi?id=426270
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c12
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=426270
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c13
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=426270
User pbaudis@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c14
--- Comment #14 from Petr Baudis
https://bugzilla.novell.com/show_bug.cgi?id=426270
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c15
--- Comment #15 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=426270
User pbaudis@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c16
Petr Baudis
https://bugzilla.novell.com/show_bug.cgi?id=426270
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c17
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=426270
User psankar@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c18
--- Comment #18 from Sankar P
https://bugzilla.novell.com/show_bug.cgi?id=426270
User pbaudis@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c19
Petr Baudis
https://bugzilla.novell.com/show_bug.cgi?id=426270
User psankar@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c20
Sankar P
https://bugzilla.novell.com/show_bug.cgi?id=426270
User pbaudis@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c21
Petr Baudis
https://bugzilla.novell.com/show_bug.cgi?id=426270
User psankar@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c22
--- Comment #22 from Sankar P
https://bugzilla.novell.com/show_bug.cgi?id=426270
User pbaudis@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c23
--- Comment #23 from Petr Baudis
https://bugzilla.novell.com/show_bug.cgi?id=426270
User psankar@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c24
Sankar P
https://bugzilla.novell.com/show_bug.cgi?id=426270
User pbaudis@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c25
Petr Baudis
https://bugzilla.novell.com/show_bug.cgi?id=426270
Lukas Ocilka
https://bugzilla.novell.com/show_bug.cgi?id=426270
User jsuchome@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c26
Jiří Suchomel
With 11.1 RC fresh installation, Still my system time becomes wrong everytime, I switch between windows and linux . I have not got any option for retaining windows time during installation.
What do you mean, that you do not have any option? There's a dialog with "Harware Clock set to UTC", which is exactly the option you need (and to leave your Windows time, it has to be unchecked). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270
User jsuchome@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c27
--- Comment #27 from Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=426270
User psankar@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c28
Sankar P
(In reply to comment #24 from Sankar P)
With 11.1 RC fresh installation, Still my system time becomes wrong everytime, I switch between windows and linux . I have not got any option for retaining windows time during installation.
What do you mean, that you do not have any option?
There's a dialog with "Harware Clock set to UTC", which is exactly the option you need (and to leave your Windows time, it has to be unchecked).
If I keep this unchecked, then also the time is __not__ same across windows and linux. It becomes my-timezone-time + my-timezone-difference-with-utc For instance in windows, the time says: 12:00 PM IST and in Linux it says 5:30 PM (as my timezone IST is UTC + 5:30) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270
User pchenthill@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c29
--- Comment #29 from Chenthill palanisamy
https://bugzilla.novell.com/show_bug.cgi?id=426270
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c30
--- Comment #30 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=426270
User psankar@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c31
Sankar P
Remark: execute as root
insserv /etc/init.d/boot.clock
to make sure that the service of this script is really enabled. This because there was an other bug with a similiar problem and it was detected that boot.clock was never enabled on that system.
This did the trick. After executing this command, I unset "HW clock in UTC" setting in Yast; rebooted to windows changed time to correct time in windows; rebooted to linux. And the time remained correct across windows and linux. However, I consider this bug to be valid, as we cannot expect all muti-boot users to execute this command. Also, I tested this in a 11.1 installation (and not an update from 11.0, after formatting / ) So, I hope it will not be due to any old obsolete data from 11.0 Also, I am raising the severity of this issue, as I think it deserves more than a Normal state. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270
User aj@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c32
Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=426270
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c33
--- Comment #33 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=426270
User aj@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c35
--- Comment #35 from Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=426270
User psankar@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c36
Sankar P
Werner, you say this happens only during update. I think Sankar is saying this happens on a fresh install as well - where it should not at all. Sankar, is that correct? In that case we do have a regression which means this is MAJOR.
Yes. When I (and a lot of other students) tried it, it was a fresh install and not an update. In fact most of us my peers got new laptops, a few weeks after 11.0 release and we installed afresh on these new laptops. The problem existed for all of them. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c37
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=426270
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c38
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=426270
User jsuchome@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c39
--- Comment #39 from Jiří Suchomel
Add Stephan to CC list. Beside this it could also an error in yast2-country, therefore Jiri should stay at least in CC list.
@ Jiri : Does yast2-country something with boot.clock? Maybe enabling or disabling boot.clock?
No. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270
User pchenthill@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c40
--- Comment #40 from Chenthill palanisamy
(In reply to comment #35 from Andreas Jaeger)
Werner, you say this happens only during update. I think Sankar is saying this happens on a fresh install as well - where it should not at all. Sankar, is that correct? In that case we do have a regression which means this is MAJOR.
Yes. When I (and a lot of other students) tried it, it was a fresh install and not an update. In fact most of us my peers got new laptops, a few weeks after 11.0 release and we installed afresh on these new laptops. The problem existed for all of them.
Right. I too have a fresh install. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270
User psankar@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c41
--- Comment #41 from Sankar P
@ All of those which see the problem : Is one of the files which should be enabled by aaa_base not enabled. The list includes boot.proc, boot.localfs, boot.swap, boot.clock, boot.ldconfig, boot.ipconfig, boot.klog, boot.localnet, halt, random, reboot, and single.
can you explain what you mean by this ? It sounds too technical for me to understand . What is aaa_base and how do I find if it is enabled for these files ? I opened boot.proc and searched for aaa_base and it did not had anything , if that is what you mean. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270
User psankar@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c42
--- Comment #42 from Sankar P
https://bugzilla.novell.com/show_bug.cgi?id=426270
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c43
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=426270
User markus.kossmann@gmx.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c44
Markus Koßmann
hwclock -r So 21 Dez 2008 19:34:08 CET -0.473655 Sekunden date So 21. Dez 20:33:43 CET 2008
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270
User jimomura@pathcom.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c45
Jim Omura
Sankar P, to sum up Werner's post, the main reason CMOS clock should be kept in UCT is correct handling of daylight saving and other timezone changes (yes, that does happen sometimes).
I think the main problem is to run this kind of setup with separate /usr and I'm not sure if it is reasonable to support that - why do you want to have separate /usr in the first place?
This is done for optimizing. It is most common on very large systems, but it can be used for small systems with slow drives. This is typical for my systems: "/boot" (ext2) "/" (ext3 ordered) "/usr" (ext3 journaled) "swap" (swap) "/home" (ext3 ordered) /boot is almost never used after the system is booted, so it is located outside the normal travel of the head. This way it does not take up unnecessary time, and it is also at the safest place to avoid head crashes. "/" is "ordered" because it holds a lot of temporary files and such which are written often. "/usr" is "journaled" because for most users it will not be written often, but is subject to damage. "swap" is an interesting case. We can argue where to put it. If you expect to use it often, then it should go somewhere in the middle. "/home" is "ordered" again because it tends to be written to a lot. Some people will argue about these assignments (which should be "ordered" vs "journaled"). But that is the point. There are choice to be made which affect the usage of the system. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270
User psankar@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c46
--- Comment #46 from Sankar P
https://bugzilla.novell.com/show_bug.cgi?id=426270
User psankar@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c47
--- Comment #47 from Sankar P
https://bugzilla.novell.com/show_bug.cgi?id=426270
User psankar@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c48
--- Comment #48 from Sankar P
https://bugzilla.novell.com/show_bug.cgi?id=426270
User psankar@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c49
Sankar P
https://bugzilla.novell.com/show_bug.cgi?id=426270
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c50
--- Comment #50 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=426270
User psankar@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c51
--- Comment #51 from Sankar P
Now the question is: Why we do not see this error here around with fresh installations of openSuSE 11.1 ... it is very hard to debug a problem without reproducing the problem its self :(
Have you installed without "system time in utc" option and tried being in a timezone that is not UTC ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270
User psankar@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c52
--- Comment #52 from Sankar P
https://bugzilla.novell.com/show_bug.cgi?id=426270
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c53
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=426270
User pbaudis@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c54
--- Comment #54 from Petr Baudis
https://bugzilla.novell.com/show_bug.cgi?id=426270
User iantos_hal@mail.ru added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c55
--- Comment #55 from Игорь Антошин
https://bugzilla.novell.com/show_bug.cgi?id=426270
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c56
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=426270
User pbaudis@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c58
--- Comment #58 from Petr Baudis
https://bugzilla.novell.com/show_bug.cgi?id=426270
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c59
--- Comment #59 from Dr. Werner Fink
I write in English and not very worried about me, whether I understand the developer. Well, once he was over 4 months and did not understand the problem. And in general, cool to see the developer OSes, which is not seen and knows nothing about Windows (TM). Moreover, the system which takes in the market about 1 percent of (and all the assembly) is trying to dictate the terms of "how to work with time " Incidentally, this was one of the reasons that I have version 11.0, I did not exploit. It was a small entry. Bagh number 423697 has been led by me. I realized that this is a problem in the near future can be resolved unless Developer Windows (TM), ie They perepishut their systems under the "correct" work with time. Therefore, their problems, I decided myself to read as follows: after the initial boot put on the stage 3 and 5 of the following: /etc/init.d/boot.clock restart Now I am being shown correctly.
Which leads me to the assumption that the start/stop links are missed of /etc/init.d/boot.clock in that case ... therefore please try out insserv /etc/init.d/boot.clock before next reboot/halt. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270
User psankar@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c60
--- Comment #60 from Sankar P
Which leads me to the assumption that the start/stop links are missed of /etc/init.d/boot.clock in that case ... therefore please try out
insserv /etc/init.d/boot.clock
before next reboot/halt.
Look at my comment #31, We cannot expect every multi-boot user to execute this command manually after an installation. So, I consider this to be a bug. Right ? I see that Petr did not observe this during his installation. I am confused because I have seen this in all the installations that we did so far. I will try with the GMC released version in a windows machine and will get back. My windows is Win XP SP2 if it matters. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c61
--- Comment #61 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=426270
User pbaudis@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c62
--- Comment #62 from Petr Baudis
https://bugzilla.novell.com/show_bug.cgi?id=426270
User iantos_hal@mail.ru added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c63
--- Comment #63 from Игорь Антошин
OK ... with tanslate.google.com I see:
Excuse. Further I will write in english.
Which leads me to the assumption that the start/stop links are missed of /etc/init.d/boot.clock in that case ... therefore please try out
insserv /etc/init.d/boot.clock
before next reboot/halt.
After the given command has been fulfilled I has received too as was before.. i.e. has exchanged nothing. I return in loading on runlevels 3 and 5 a command /etc/init.d/boot.clock restart -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270
User psankar@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c64
Sankar P
https://bugzilla.novell.com/show_bug.cgi?id=426270
User varkoly@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c65
Peter Varkoly
https://bugzilla.novell.com/show_bug.cgi?id=426270
User coolo@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c66
--- Comment #66 from Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=426270
Ruediger Oertel
https://bugzilla.novell.com/show_bug.cgi?id=426270
User markus.kossmann@gmx.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c67
--- Comment #67 from Markus Koßmann
Please verify. We will fix this for factory and if someone confirms it's the reason for this bug, we'll do an online update for 11.1
It seems to work for me on my laptop. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270
User Joseph.Comfort@asu.edu added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c68
--- Comment #68 from Joseph Comfort
https://bugzilla.novell.com/show_bug.cgi?id=426270
User Joseph.Comfort@asu.edu added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c69
--- Comment #69 from Joseph Comfort
https://bugzilla.novell.com/show_bug.cgi?id=426270
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c70
--- Comment #70 from Dr. Werner Fink
Neither computer has a /etc/adjtime file. There is no boot.getclock in 11.1 (apparently handled through boot.clock stop). chkconfig shows boot.getclock is 'on.' The installation was clean and new from the offical release DVD iso.
A file which does not exist can not provide a service and therefore chkconfig can not report `boot.getclock on'. Please do rm /etc/init.d/boot.getclock rm /etc/init.d/*.d/*boot.getclock insserv -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270
User Joseph.Comfort@asu.edu added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c71
--- Comment #71 from Joseph Comfort
https://bugzilla.novell.com/show_bug.cgi?id=426270
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c72
--- Comment #72 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=426270
User jimomura@pathcom.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c73
--- Comment #73 from Jim Omura
https://bugzilla.novell.com/show_bug.cgi?id=426270
User jimomura@pathcom.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c74
--- Comment #74 from Jim Omura
https://bugzilla.novell.com/show_bug.cgi?id=426270
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c75
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=426270
User Joseph.Comfort@asu.edu added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c76
Joseph Comfort
https://bugzilla.novell.com/show_bug.cgi?id=426270
User jimomura@pathcom.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c77
--- Comment #77 from Jim Omura
This violates the FHS http://www.pathname.com/fhs/ ... what required is simply the localtime which is given in
/etc/localtime
which is a copy and *never* a link to be able to have separate / and /usr
I replaced the linked "/etc/localtime" file with a copy of the "Toronto" file from ".../zoneinfo" on the 32-bit computer and everything seems to be working correctly now (along with the patch noted above). So that seems to confirm what Joseph has said. Incidentally, regarding the question asked previously of why someone would want to separate "/usr" into a separate partition, the "FHS" you noted above specifically anticipates that some people would want to separate "/usr" in this manner and their example is that some installations might want to have a "/usr" partition so it could be mounted as "Read Only." So it is clear that the way it was working in 10.3 was correct and that the way it is working in 11.0 and 11.1 is not.
... IMHO only the UTC reference /usr/share/zoneinfo/UTC should be installed also in /etc/ otherwise the loclatime is without reference and hwclock has a problem if /usr is not available. . .
I expect that "/usr/share/zoneinfo/UTC" would be copied as the "/etc/localtime" when it is appropriate if the current program is just patched to make copies instead of links, so that much should be enough. It is not really a special case as far as the programming concerned -- it is just special to us humans. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c78
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=426270
User jsuchome@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c79
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=426270
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c80
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=426270
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=426270
User lnussel@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c81
Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=426270
User jimomura@pathcom.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c82
--- Comment #82 from Jim Omura
https://bugzilla.novell.com/show_bug.cgi?id=426270
User gfarrell@netspeed.com.au added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c83
Geoff Farrell
https://bugzilla.novell.com/show_bug.cgi?id=426270
User gfarrell@netspeed.com.au added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c84
--- Comment #84 from Geoff Farrell
https://bugzilla.novell.com/show_bug.cgi?id=426270
User gfarrell@netspeed.com.au added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c85
--- Comment #85 from Geoff Farrell
https://bugzilla.novell.com/show_bug.cgi?id=426270
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c86
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=426270
User gfarrell@netspeed.com.au added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c87
--- Comment #87 from Geoff Farrell
we are required to set the correct time before accessing the real file system, e.g. running the first fsck and mount on root and that is within initrd.
I agree that this course of action will eliminate all the problems reported in this bug. If you mean the correct time must be set before running the first fsck and mount of root, then /etc will be an unsuitable location for the timezone info (as will any other filesystem which is yet to be mounted). In that case, an extra task will most likely be required of GRUB, which is the only function that can currently access information on a partition without it being mounted on a filesystem. Maybe the information could be stored in /boot/grub/hwclock and /boot/grub/localtime, and passed as parameters to initrd by way of a GRUB menu.lst entry like this: title openSUSE 11.1 - 2.6.27.19-3.2 root (hd0,0) kernel /vmlinuz root=/dev/disk/by-id/ata-ST3200827AS_4ND1N6BB-part6 resume=/dev/disk/by-id/ata-ST3200827AS_4ND1N6BB-part5 splash=silent showopts vga=0x31a initrd /initrd hwclock=/grub/hwclock localtime=/grub/localtime (where sda1 is a separate /boot partition) This would require the bootloader program to extract the information from /etc/localtime (and perhaps /etc/hwclock?) and install it the files in /boot/grub/ and in the GRUB 'initrd' line. As an example, my data would be stored as: 1. /boot/grub/hwclock: contents = "--localtime" (the other option would be = "-u") 2. /boot/grub/localtime: contents = "Australia/Sydney" It would also require initrd to be able to accept parameters passed to it, and to apply them to the correct System Time at the appropriate opportunity. Following that, the current function provided by /etc/init.d/boot.clock would need to be modified to remove the 'start' staza, as this would be superfluous. The 'stop' function would still be required. In addition, the bug that is incorrectly setting System Time as UTC-based (between the two 'Boot logging started on' messages in boot.msg - as reported in Comment #83) needs to be identified and eliminated. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270
User robin.listas@telefonica.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=426270#c88
Carlos Robinson
I think the main problem is to run this kind of setup with separate /usr and I'm not sure if it is reasonable to support that - why do you want to have separate /usr in the first place?
Long time SuSE users like me remember that a separate /usr partition was recommended in the SuSE documentation for optimizing disc access. After searching my paper admin books and googling a bit, I found some samples; in 9.1, it reads: ] 4 GB or More: ] ] A swap partition, a root partition (1 GB), and one partition each ] for the following directories as needed: /usr (4 GB or more), /opt (4 GB ] or more), and /var (1 GB). If you do not want to have separate ] partitions for these directories, add the suggested disk space to the ] root partition. The rest of the available space can be used for /home. http://www-uxsup.csx.cam.ac.uk/pub/doc/suse/suse9.3/suselinux-adminguide_en/... Or, in 9.1, chapter "1.7.3.1. Parallel Use of Multiple Disks" ] Example 1.1. Example df Output ] ] Filesystem Size Used Avail Use% Mounted on ] /dev/sda5 1.8G 1.6G 201M 89% / ] /dev/sda1 23M 3.9M 17M 18% /boot ] /dev/sdb1 2.9G 2.1G 677M 76% /usr ] /dev/sdc1 1.9G 958M 941M 51% /usr/lib ] shmfs 185M 0 184M 0% /dev/shm http://www.novell.com/documentation/suse91/suselinux-adminguide/html/ch01s07... That section can be found earlier, like in the 6.4 adminguide book (I have in no link for this one). But the same section is in SLES 9 docs (chapter "3.9.3.1. Parallel Use of Multiple Disks", http://www-uxsup.csx.cam.ac.uk/pub/doc/suse/sles9/adminguide-sles9/ch03s09.h...) I haven't read in full the current versions, so I don't know if it is still there. There you have, your own reasons for having a separate /usr partition >;-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com