[Bug 617861] New: Timezone not set at early installation, thus NTP time is wrong
http://bugzilla.novell.com/show_bug.cgi?id=617861 http://bugzilla.novell.com/show_bug.cgi?id=617861#c0 Summary: Timezone not set at early installation, thus NTP time is wrong Classification: openSUSE Product: openSUSE 11.3 Version: Milestone 7 Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: trenn@novell.com QAContact: jsrain@novell.com Found By: --- Blocker: --- This is even before installation when you configure the time and timezone. I modified the timezone from an American one to Europe->Germany. I then wanted to set the NTP server by using the chaNge button. The time was retrieved from the NTP, but because the timezone was not set yet, the time was wrong by several hours. I could fix this at runtime by doing: mv /etc/localtime /etc/localtime-old ln -sf /usr/share/zoneinfo/Europe/Berlin /etc/localtime and setting "Berlin" in: /etc/sysconfig/clock TIMEZONE="Berlin" Then going back to the Yast2 Window and refreshing the time through NTP gave me the right time. This was in text mode, but it should be the same with an X driven Yast installation. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=617861 http://bugzilla.novell.com/show_bug.cgi?id=617861#c yang xiaoyu <xyyang@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xyyang@novell.com AssignedTo|bnc-team-screening@forge.pr |yast2-maintainers@suse.de |ovo.novell.com | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=617861 http://bugzilla.novell.com/show_bug.cgi?id=617861#c1 Jozef Uhliarik <juhliarik@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |juhliarik@novell.com InfoProvider| |trenn@novell.com AssignedTo|yast2-maintainers@suse.de |jsuchome@novell.com --- Comment #1 from Jozef Uhliarik <juhliarik@novell.com> 2010-06-29 07:50:02 UTC --- Please attach y2logs.If you're in doubt follow:http://en.opensuse.org/Bugs/YaST Thanks. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=617861 http://bugzilla.novell.com/show_bug.cgi?id=617861#c2 --- Comment #2 from Thomas Renninger <trenn@novell.com> 2010-06-29 10:22:52 UTC --- Created an attachment (id=372397) --> (http://bugzilla.novell.com/attachment.cgi?id=372397) y2logs of the affected machine. I did some more installing etc. afterwards, but it hopefully is easy to grep for the relevant part. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=617861 http://bugzilla.novell.com/show_bug.cgi?id=617861#c Thomas Renninger <trenn@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|trenn@novell.com | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=617861 http://bugzilla.novell.com/show_bug.cgi?id=617861#c3 Jiří Suchomel <jsuchome@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |trenn@novell.com --- Comment #3 from Jiří Suchomel <jsuchome@novell.com> 2010-06-30 08:54:29 UTC --- (In reply to comment #0)
This is even before installation when you configure the time and timezone.
You mean you've booted live media and changed it before starting installation from it? Or what was the situation?> I then wanted to set the NTP server by using the chaNge button.
The time was retrieved from the NTP, but because the timezone was not set yet, the time was wrong by several hours.
The time zone should be saved before calling NTP, but not in case of live installation... currently I'm not sure why. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=617861 http://bugzilla.novell.com/show_bug.cgi?id=617861#c4 --- Comment #4 from Jiří Suchomel <jsuchome@novell.com> 2010-06-30 08:55:39 UTC --- Created an attachment (id=372808) --> (http://bugzilla.novell.com/attachment.cgi?id=372808) patch for /usr/share/YaST2/include/timezone/dialogs.ycp Could you patch your /usr/share/YaST2/include/timezone/dialogs.ycp and try to reproduce the problem? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=617861 http://bugzilla.novell.com/show_bug.cgi?id=617861#c5 Thomas Renninger <trenn@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|trenn@novell.com | --- Comment #5 from Thomas Renninger <trenn@novell.com> 2010-07-02 13:23:28 UTC --- No it does not help. It's rather easy to reproduce and I found out some more. The X-window with the fancy map is not affected. If you run yast in non-graphical mode, choose: System->"Date and Time" If you switch between continents, you see the time gets adjusted. If you switch between states (e.g. choose USA, and jump between states), the time(zone) does not get adjusted. It gets adjusted if you hit the enter button, but nobody is doing that on a non-graphical installation. Instead you hit ALT-n (in my case/language for Change) and the wrong timezone is taken over. The defect is that if you synchronize the time there with NTP you see the wrong time, because of the wrong taken over zone. The zone is still adjusted correctly if you leave the dialog and afterwards the time is correct. It's confusing but not "that" sever. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=617861 http://bugzilla.novell.com/show_bug.cgi?id=617861#c6 Jiří Suchomel <jsuchome@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |trenn@novell.com --- Comment #6 from Jiří Suchomel <jsuchome@novell.com> 2010-07-02 13:27:29 UTC --- (In reply to comment #3)
(In reply to comment #0)
This is even before installation when you configure the time and timezone.
You mean you've booted live media and changed it before starting installation from it? Or what was the situation?
I'm not sure what is your case about... -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=617861 http://bugzilla.novell.com/show_bug.cgi?id=617861#c Jiří Suchomel <jsuchome@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|trenn@novell.com | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=617861 http://bugzilla.novell.com/show_bug.cgi?id=617861#c7 Jiří Suchomel <jsuchome@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #372808|0 |1 is obsolete| | --- Comment #7 from Jiří Suchomel <jsuchome@novell.com> 2010-07-02 14:49:04 UTC --- Created an attachment (id=373554) --> (http://bugzilla.novell.com/attachment.cgi?id=373554) patch for /usr/share/YaST2/include/timezone/dialogs.ycp Try this patch instead. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=617861 http://bugzilla.novell.com/show_bug.cgi?id=617861#c Jiří Suchomel <jsuchome@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |trenn@novell.com -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=617861 http://bugzilla.novell.com/show_bug.cgi?id=617861#c8 Thomas Renninger <trenn@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|trenn@novell.com | --- Comment #8 from Thomas Renninger <trenn@novell.com> 2010-07-05 08:25:38 UTC --- That works, thanks! Another minor issue I found while testing/playing with this: When I am in the dialog to change the time, I have two options: - Manually - Synchronize with NTP Server The default is "Manually". When I change things to: [x] Synchronize with NTP Server [x] Run NTP as daemon [x] Save NTP Configuration The NTP daemon is not started and when I come back to this dialog, the setting is back to "Manually". What helps is to enter the extended NTP "Configure" dialog and enable NTP daemon there, then the settings are really taken over and the NTP daemon gets activated. The same the other way around: If default setting is changed to "Synchronize with NTP Server" via the extended NTP configure dialog and I set it back to "Manually" time setting, the setting gets ignored again and NTP server/daemon is still used. Eventually we could have another chat, it's hard to explain this via bugzilla. If it's again not that hard to fix, it would be nice get it done. Anyway, the patch in comment #7 fixes this bug. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=617861 http://bugzilla.novell.com/show_bug.cgi?id=617861#c9 Jiří Suchomel <jsuchome@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #373554|0 |1 is obsolete| | --- Comment #9 from Jiří Suchomel <jsuchome@novell.com> 2010-07-12 07:37:27 UTC --- Created an attachment (id=375187) --> (http://bugzilla.novell.com/attachment.cgi?id=375187) patch for /usr/share/YaST2/include/timezone/dialogs.ycp Try this patch... -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=617861 http://bugzilla.novell.com/show_bug.cgi?id=617861#c Jiří Suchomel <jsuchome@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |trenn@novell.com -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=617861 http://bugzilla.novell.com/show_bug.cgi?id=617861#c10 Jiří Suchomel <jsuchome@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Severity|Major |Normal --- Comment #10 from Jiří Suchomel <jsuchome@novell.com> 2010-07-15 11:34:50 UTC --- ping -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=617861 http://bugzilla.novell.com/show_bug.cgi?id=617861#c11 --- Comment #11 from Jiří Suchomel <jsuchome@novell.com> 2010-07-30 07:06:01 UTC --- Thomas? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=617861 http://bugzilla.novell.com/show_bug.cgi?id=617861#c12 Thomas Renninger <trenn@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|trenn@novell.com | --- Comment #12 from Thomas Renninger <trenn@novell.com> 2010-08-03 11:29:35 UTC --- Sorry for the late reply. Patch from comment #9 doesn't fix the problem from comment #8. I should not have mentioned the stuff in comment #8 which is unrelated to the original problem. The patch from comment #7 already fixes the reported issue for me. If it gets applied, this bug can be closed. I opened another bug for the problem described in comment #8 now: https://bugzilla.novell.com/show_bug.cgi?id=627818 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=617861 http://bugzilla.novell.com/show_bug.cgi?id=617861#c13 Jiří Suchomel <jsuchome@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #13 from Jiří Suchomel <jsuchome@novell.com> 2010-08-03 13:28:15 UTC --- So, this one is fixed -- Configure bugmail: http://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=617861 https://bugzilla.novell.com/show_bug.cgi?id=617861#c Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |maint:running:48477:low -- 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=617861 https://bugzilla.novell.com/show_bug.cgi?id=617861#c14 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:running:48477:low |maint:running:48477:low | |maint:released:sle11-sp1:48 | |495 --- Comment #14 from Swamp Workflow Management <swamp@suse.de> 2012-07-31 12:08:49 UTC --- Update released for: yast2-country, yast2-country-data Products: SLE-SERVER 11-SP1-TERADATA (x86_64) -- 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=617861 https://bugzilla.novell.com/show_bug.cgi?id=617861#c15 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:running:48477:low |maint:running:48477:low |maint:released:sle11-sp1:48 |maint:released:sle11-sp1:48 |495 |495 | |maint:released:sle11-sp2:48 | |489 --- Comment #15 from Swamp Workflow Management <swamp@suse.de> 2012-08-31 14:53:53 UTC --- Update released for: yast2-country, yast2-country-data Products: SLE-DESKTOP 11-SP2 (i386, x86_64) SLE-SERVER 11-SP2 (i386, ia64, ppc64, s390x, x86_64) SLES4VMWARE 11-SP2 (i386, x86_64) -- 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=617861 https://bugzilla.novell.com/show_bug.cgi?id=617861#c Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:running:48477:low |maint:released:sle11-sp1:48 |maint:released:sle11-sp1:48 |495 |495 | |maint:released:sle11-sp2:48 | |489 | -- 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.
http://bugzilla.novell.com/show_bug.cgi?id=617861 http://bugzilla.novell.com/show_bug.cgi?id=617861#c16 --- Comment #16 from Bernhard Wiedemann <bwiedemann@suse.com> --- This is an autogenerated message for OBS integration: This bug (617861) was mentioned in https://build.opensuse.org/request/show/44418 Factory / yast2-country -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com