Bug#816802: tzdata: hwclock not set properly when "tzdata-2016a-1" is installed
On 2016-03-05 13:42, Christophe Schockaert wrote:
> Package: tzdata
> Version: 2016a-1
> Severity: normal
>
> Hi,
>
>
> I lately upgraded my system to current Strech.
>
> Since that day, my clock is set one hour in advance after each reboot.
> The proper settings are in "/etc/adjtime", i.e. "LOCAL".
> The link "/etc/localtime" is set to my timzeone
> "/usr/share/zoneinfo/Europe/Paris".
> When I run "hwclock -s" manually after boot, system time is set accordingly to
> the local time from the hw clock.
>
> The incorrect time happens to be applied when running "/lib/udev/hwclock-set",
> the timezone info does not seem to be available or used at that time, and then
> hwclock sets the system to UTC from the hardware clock, which is read as UTC
> eventhough it is registered as "LOCAL" in "/etc/adjtime". So, my UTC system
> time is one hour in advance, since my hardware clock is at CET, i.e. UTC+1.
Do you have an idea why it is not available?
> I downgraded to "tzdata-2015g-0+deb8u1", and it behaved the expected way: the
> system clock is set to UTC after reboot when reading the local time from the
> hardware clock.
Indeed we have changed /etc/localtime into a symlink in version 2016a-1.
It was previously a copy a file from /usr/share/zoneinfo to handle the
case where /usr is a separate partition. The change was requested in bug
#803144 [1], given that /usr is now mounted in the initramfs. I have
added Martin Pitt in Cc so he can comment on that.
On your side, do you use a separate /usr partition?
Aurelien
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=803144
--
Aurelien Jarno GPG: 4096R/1DDD8C9B
aurelien@aurel32.net http://www.aurel32.net
Reply to: