Asia/Novosibirsk zoneinfo file contains string 'Asia/Novosibirsk' instead of actual zone info

Bug #1946623 reported by Konstantin Boyandin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tzdata (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

OS: Ubuntu 18.04.6 LTS
tzdata package: 2021a-2ubuntu0.18.04

Problem: the packages updates file

/usr/share/zoneinfo/Asia/Novosibirsk

with 17-byte file containing string 'Asia/Novosibirsk', instead of actual zone info file.

The above leads to multiple hard to handle issues with a number of installed software (e.g. PHP function mktime() begins to segfault without a reason).

To fix that, I copy a valid file from 20.04.* distribution's latest tzdata.

The above (mentioned file replacement) happens periodically without any visible logic in it.

description: updated
description: updated
Revision history for this message
Benjamin Drung (bdrung) wrote :

I just checked Ubuntu 18.04 with the latest tzdata 2022g-0ubuntu0.18.04 and the file is correct there:

```
(bionic)root@host:~# hd /usr/share/zoneinfo/Asia/Novosibirsk | head -n 3
00000000 54 5a 69 66 32 00 00 00 00 00 00 00 00 00 00 00 |TZif2...........|
00000010 00 00 00 00 00 00 00 0a 00 00 00 0a 00 00 00 00 |................|
00000020 00 00 00 45 00 00 00 0a 00 00 00 10 80 00 00 00 |...E............|
```

So I assume that it was fixed since your report. If you still experience this issue, please reopen this bug report to investigate further.

Changed in tzdata (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.