Bug 846411

Summary: System is always UTC even if a timezone is correctly set
Product: [openSUSE] openSUSE 13.1 Reporter: Andreas Schneider <asn>
Component: BasesystemAssignee: E-mail List <bnc-team-screening>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: jsuchome, werner
Version: RC 1   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Andreas Schneider 2013-10-17 12:28:04 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0

After installation of openSUSE 13.1 RC1 from the KDE x86_64 LiveCD the system clock is set to UTC. I've chosen Germany during the installation which sets the timezone to Europe/Berlin.


magrathea:~ # date
Thu Oct 17 12:26:18 UTC 2013
magrathea:~ # grep TIMEZONE /etc/sysconfig/clock 
TIMEZONE="Europe/Berlin"
DEFAULT_TIMEZONE="US/Eastern"

Reproducible: Always

Steps to Reproduce:
1. Install 13.1 RC1 from KDE LiveCD 64bit
2. Call date on the console
Comment 1 Jiří Suchomel 2013-10-17 12:43:41 UTC
What about /etc/adjtime ?

Does hwclock -u match hwclock output?
Comment 2 Andreas Schneider 2013-10-17 13:57:36 UTC
magrathea:~ # cat /etc/adjtime 
0.000000 1381994495 0.000000
1381994495
UTC
magrathea:~ # hwclock 
Thu Oct 17 13:56:46 2013  -0.391250 seconds
magrathea:~ # hwclock -u
Thu Oct 17 13:56:50 2013  -0.906894 seconds
magrathea:~ # date
Thu Oct 17 13:56:55 UTC 2013

It is 15:56 CEST here  :)
Comment 3 Andreas Schneider 2013-10-17 14:04:06 UTC
If I go to yast2 -> Date and Time and click on different timezones, it shows the correct time in the UI but it doesn't change it on the system.
Comment 4 Jiří Suchomel 2013-10-17 14:18:28 UTC
Is there a /etc/localtime file? If it is a symlink, where does it point?

If it is not, look under /usr/share/zoneinfo and check which file has the same md5sum as /etc/localtime


But I do not know where might be the problem, maybe the HW clock is set incorrectly.... Werner, do you have any idea?
Comment 5 Andreas Schneider 2013-10-17 14:23:03 UTC
/etc/localtime is a broken symlink.

magrathea:~ # ll /etc/localtime 
lrwxrwxrwx 1 root users 19 Oct 17 14:02 /etc/localtime -> ../../Europe/Berlin
Comment 6 Jiří Suchomel 2013-10-17 14:26:48 UTC
So that's seems to be a problem, and AFAIR, there's already bug report for that.

As a workaround, you can fix the symlink.
Comment 7 Jiří Suchomel 2013-10-17 14:28:22 UTC
bug 845530

*** This bug has been marked as a duplicate of bug 845530 ***