[Bug 791106] New: NTP writes UTC time even though hardware clock is local time
https://bugzilla.novell.com/show_bug.cgi?id=791106 https://bugzilla.novell.com/show_bug.cgi?id=791106#c0 Summary: NTP writes UTC time even though hardware clock is local time Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: Other OS/Version: openSUSE 12.2 Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: ftake@geeko.jp QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Opera/9.80 (Windows NT 6.1; WOW64) Presto/2.12.388 Version/12.11 /etc/init.d/ntp passes "--utc" to the hwclock command and writes wrong time to hardware clock even though the value of hardware clock is local time. This parameter was added when bnc#774553 was fixed. The hwclock command can determine --utc or --localtime from /etc/adjtime but I do not know why --noadjfile, which prevents this, is needed on the script. Workaround: Set NTPD_FORCE_SYNC_ON_STARTUP to "no" if hardware clock is local. Reproducible: Always -- 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=791106 https://bugzilla.novell.com/show_bug.cgi?id=791106#c Jiaying ren <jren@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jren@suse.com AssignedTo|bnc-team-screening@forge.pr |varkoly@suse.com |ovo.novell.com | -- 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=791106 https://bugzilla.novell.com/show_bug.cgi?id=791106#c1 Wolfgang Bauer <wbauer@tmo.at> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |varkoly@suse.com --- Comment #1 from Wolfgang Bauer <wbauer@tmo.at> 2013-01-23 14:12:17 UTC --- @Peter Varkoly: Thanks for fixing bnc#774553. Since your fix has been accepted in Factory finally, could you please provide an online update for openSUSE 12.2 to fix this bug as well? Thank you very much! -- 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=791106 https://bugzilla.novell.com/show_bug.cgi?id=791106#c2 Andrey Borzenkov <arvidjaar@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- InfoProvider|varkoly@suse.com |ftake@geeko.jp --- Comment #2 from Andrey Borzenkov <arvidjaar@gmail.com> 2013-01-24 18:32:03 UTC --- Please test zypper ar obs://home:arvidjaar:bnc:791106/standard bnc791106 zypper refresh bnc791106 zypper dup -r bnc791106 -- 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=791106 https://bugzilla.novell.com/show_bug.cgi?id=791106#c3 --- Comment #3 from Wolfgang Bauer <wbauer@tmo.at> 2013-01-25 11:21:52 UTC --- Your package fixes this for me and there's no regression with hardware clock in 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=791106 https://bugzilla.novell.com/show_bug.cgi?id=791106#c4 Andrey Borzenkov <arvidjaar@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|ftake@geeko.jp | --- Comment #4 from Andrey Borzenkov <arvidjaar@gmail.com> 2013-01-25 20:12:15 UTC --- Created SR#791106 for 12.2. -- 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=791106 https://bugzilla.novell.com/show_bug.cgi?id=791106#c5 --- Comment #5 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-01-25 22:00:09 CET --- This is an autogenerated message for OBS integration: This bug (791106) was mentioned in https://build.opensuse.org/request/show/149961 Maintenance / -- 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=791106 https://bugzilla.novell.com/show_bug.cgi?id=791106#c6 Fuminobu Takeyama <ftake@geeko.jp> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #6 from Fuminobu Takeyama <ftake@geeko.jp> 2013-01-26 06:55:11 UTC --- Sorry for my late reply. I changed back hardware clock into Local and tested. ntp now writes local time correctly. Thanks you! -- 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=791106 https://bugzilla.novell.com/show_bug.cgi?id=791106#c7 --- Comment #7 from Swamp Workflow Management <swamp@suse.de> 2013-02-04 13:06:10 UTC --- openSUSE-RU-2013:0235-1: An update that has one recommended fix can now be installed. Category: recommended (moderate) Bug References: 791106 CVE References: Sources used: openSUSE 12.2 (src): ntp-4.2.6p5-3.14.1 -- 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