[Bug 1206199] [NEW] /etc/localtime incorrect link created by dateandtime kcm

Leszek Lesner leszek.lesner at web.de
Mon Jul 29 17:14:59 UTC 2013


Public bug reported:

Setting the timezone in the timeanddate kcm (by right clicking the clock and going to configuration) copies a file from /usr/share/zoneinfo/<region>/<city>. 
So for example it tries copying /usr/share/zoneinfo/Europe/Berlin <-- This file however is a link pointing to ../posix/Europe/Berlin. As the file gets copied to /etc/localtime the symlink is wrong. 
This results in a bad timezone and time (as it defaults to UTC on a wrong /etc/localtime file). 

Instead of copying linking should work here. I attached a patch which fixes this error. 
This seems not to be an upstream issue as at least openSUSE is not using symlinks in /usr/share/zoneinfo . So it is debian/ubuntu specific.

** Affects: kde-workspace (Ubuntu)
     Importance: Undecided
         Status: New

** Patch added: "Patch fixing wrong linked /etc/localtime"
   https://bugs.launchpad.net/bugs/1206199/+attachment/3753434/+files/kde-workspace-debian-fix-wrong-etc-localtime.patch

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kde-workspace in Ubuntu.
https://bugs.launchpad.net/bugs/1206199

Title:
  /etc/localtime incorrect link created by dateandtime kcm

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kde-workspace/+bug/1206199/+subscriptions




More information about the kubuntu-bugs mailing list