[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#689315: zic: creates dangling symlink for /etc/localtime



Package: libc-bin
Version: 2.13-35
Severity: important

Hello,

the version of 'zic' in 'libc-bin' in Debian Wheezy seems to no
longer creates the localtime conversion file correctly.

On Debian Squeeze:

root@squeeze32:~> zic -l Europe/Berlin
root@squeeze32:~> file /etc/localtime
/etc/localtime: timezone data, version 2, 8 gmt time flags, 8 std time flags, no leap seconds, 144 transition times, 8 abbreviation chars

On Debian Wheezy:

root@wheezy32:~> zic -l Europe/Berlin
root@wheezy32:~> file /etc/localtime
/etc/localtime: broken symbolic link to `../posix/Europe/Berlin'

zic obviously tries to create a symbolic link to the correct timezone
conversion file. Alas, the symbolic link created is relative and
the source directory is obviously a subdirectory of /usr/share/zoneinfo
while the localtime conversion file is saved as /etc/localtime, hence
a dangling symbolic link is created.

Cheers,

Adrian

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (100, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.5-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash

-- no debconf information


Reply to: