Asia/Novosibirsk zoneinfo file contains string 'Asia/Novosibirsk' instead of actual zone info
Bug #1946623 reported by
Konstantin Boyandin
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.
Problem: the packages updates file
/usr/share/
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 |
To post a comment you must log in.

I just checked Ubuntu 18.04 with the latest tzdata 2022g-0ubuntu0. 18.04 and the file is correct there:
``` root@host: ~# hd /usr/share/ zoneinfo/ Asia/Novosibirs k | head -n 3
(bionic)
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.