[Bug 841859] New: I can't disable UTC
https://bugzilla.novell.com/show_bug.cgi?id=841859 https://bugzilla.novell.com/show_bug.cgi?id=841859#c0 Summary: I can't disable UTC Classification: openSUSE Product: openSUSE Factory Version: 13.1 Beta 1 Platform: x86-64 OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: smartinds@gmail.com QAContact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0 When I turn on my laptop, the time is incorrect. So, I go to Yast > System > Configure time and disable the checkbox "UTC" and the time is correct again. BUT, when I re-open Yast, the checkbox "UTC" is enabled again. Reproducible: Always Steps to Reproduce: 1. The time is incorrect. 2. Go to Yast > System > Configure time and disable the checkbox "UTC" 3. Re-open Yast 4. Go to Yast > System > Configure Actual Results: The checkbox "UTC" is enabled again. Expected Results: The checkbox "UTC" must be as I configured, in this case, disable. -- 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=841859
https://bugzilla.novell.com/show_bug.cgi?id=841859#c
Ye Yuan
https://bugzilla.novell.com/show_bug.cgi?id=841859
https://bugzilla.novell.com/show_bug.cgi?id=841859#c1
Gabriele Mohr
https://bugzilla.novell.com/show_bug.cgi?id=841859
https://bugzilla.novell.com/show_bug.cgi?id=841859#c2
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=841859
https://bugzilla.novell.com/show_bug.cgi?id=841859#c3
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=841859
https://bugzilla.novell.com/show_bug.cgi?id=841859#c4
--- Comment #4 from Segundo Luis Martín Díaz Sotomayor
https://bugzilla.novell.com/show_bug.cgi?id=841859
https://bugzilla.novell.com/show_bug.cgi?id=841859#c5
--- Comment #5 from Segundo Luis Martín Díaz Sotomayor
https://bugzilla.novell.com/show_bug.cgi?id=841859
https://bugzilla.novell.com/show_bug.cgi?id=841859#c6
--- Comment #6 from Segundo Luis Martín Díaz Sotomayor
https://bugzilla.novell.com/show_bug.cgi?id=841859
https://bugzilla.novell.com/show_bug.cgi?id=841859#c7
--- Comment #7 from Segundo Luis Martín Díaz Sotomayor
https://bugzilla.novell.com/show_bug.cgi?id=841859
https://bugzilla.novell.com/show_bug.cgi?id=841859#c8
--- Comment #8 from Segundo Luis Martín Díaz Sotomayor
https://bugzilla.novell.com/show_bug.cgi?id=841859
https://bugzilla.novell.com/show_bug.cgi?id=841859#c9
--- Comment #9 from Dr. Werner Fink
Because when I configure in UTC mode, the time wrong. In localtime the time is correct. My country is Peru (America/Lima GMT-5)
Then the localtime of the user space is not correct configured. First of all the kernelßs system clock is in UTC. Second the user space time (reported by e.f. the command date) is given by the file /etc/localtime which is a symbolic link to one of the zone file below /usr/share/zoneinfo/ which provides the correct teim offset to UTC ... in your case this is America/Lima with UTC-5 *and* it provides the rules used for setting e.g. Daylight Saving Time (DST) Third you can also use the environment variable TZ to override the /etc/localtime by any other zone file below /usr/share/zoneinfo/ E.g. werner@boole:~> TZ=UTC date <--- kernel's clock Fri Sep 27 06:33:44 UTC 2013 werner@boole:~> date <--- User space clock Fri Sep 27 08:33:48 CEST 2013 werner@boole:~> TZ=America/Lima date <--- Overwritten with PET Fri Sep 27 01:34:24 PET 2013 Compare this with http://en.opensuse.org/SDB:Configuring_the_clock -- 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=841859
https://bugzilla.novell.com/show_bug.cgi?id=841859#c
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=841859
https://bugzilla.novell.com/show_bug.cgi?id=841859#c
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=841859
https://bugzilla.novell.com/show_bug.cgi?id=841859#c10
--- Comment #10 from Dr. Werner Fink
From the journalctl log:
sep 26 03:43:14 kaede kernel: rtc_cmos 00:05: setting system clock to 2013-09-26 08:43:11 UTC (1380184991) that is that the kernel reads out the clock from the CMOS. If the clock in CMOS is in UTC then the kernel's clock is in UTC. If the symbolic link /etc/localtime points to /usr/share/zoneinfo/America/Lima the date command should report the correct time that is localtime. -- 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=841859
https://bugzilla.novell.com/show_bug.cgi?id=841859#c11
Norbert Jurkeit
https://bugzilla.novell.com/show_bug.cgi?id=841859
https://bugzilla.novell.com/show_bug.cgi?id=841859#c12
--- Comment #12 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=841859
https://bugzilla.novell.com/show_bug.cgi?id=841859#c13
--- Comment #13 from Segundo Luis Martín Díaz Sotomayor
Which initrd are you using ... mkinitrd or dracut?
With mkinitrd and changing the CMSO local setting mkinitrd has to be called as well as the CMOS clock should be in localtime.
I don't change this, so my initrd is "default" I assume it will be mkinitrd. -- 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=841859
https://bugzilla.novell.com/show_bug.cgi?id=841859#c14
Norbert Jurkeit
https://bugzilla.novell.com/show_bug.cgi?id=841859
https://bugzilla.novell.com/show_bug.cgi?id=841859#c15
--- Comment #15 from Norbert Jurkeit
With mkinitrd and changing the CMSO local setting mkinitrd has to be called as well as the CMOS clock should be in localtime.
I just ran mkinitrd after turning off UTC in the Date and Time module of YaST, but this did not help. After reboot the displayed time had an offset from the hardware clock again (and also the check box for UTC was marked again in the YaST module). -- 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=841859
https://bugzilla.novell.com/show_bug.cgi?id=841859#c16
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=841859
https://bugzilla.novell.com/show_bug.cgi?id=841859#c17
--- Comment #17 from Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=841859
https://bugzilla.novell.com/show_bug.cgi?id=841859#c
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=841859
https://bugzilla.novell.com/show_bug.cgi?id=841859#c18
--- Comment #18 from Norbert Jurkeit
https://bugzilla.novell.com/show_bug.cgi?id=841859
https://bugzilla.novell.com/show_bug.cgi?id=841859#c19
Jiří Suchomel
participants (1)
-
bugzilla_noreply@novell.com