Changing timezone doesn't work, wrong zonefiles

I came across another system the other day and traced this down to the Installation of a Docker App, too:

UCS 4.2-1 without Apps:

root@ucs-1613:~# md5sum /usr/share/zoneinfo/Europe/Berlin
4790e83465681cefbf852aed265354bf  /usr/share/zoneinfo/Europe/Berlin
root@ucs-1613:~# md5sum /usr/share/zoneinfo/UTC
c79354b8dbee09e62bbc3fb544853283  /usr/share/zoneinfo/UTC

UCS 4.2-1 with Kopano-Core (Non-Docker App):

root@ucs-1613:~# md5sum /usr/share/zoneinfo/Europe/Berlin
4790e83465681cefbf852aed265354bf  /usr/share/zoneinfo/Europe/Berlin
root@ucs-1613:~# md5sum /usr/share/zoneinfo/UTC
c79354b8dbee09e62bbc3fb544853283  /usr/share/zoneinfo/UTC

UCS 4.2-1 with Kopano-Core and ownCloud X (Docker App):

root@ucs-1613:~# md5sum /usr/share/zoneinfo/UTC
4790e83465681cefbf852aed265354bf  /usr/share/zoneinfo/Europe/Berlin
root@ucs-1613:~# md5sum /usr/share/zoneinfo/Europe/Berlin
4790e83465681cefbf852aed265354bf  /usr/share/zoneinfo/UTC

As @onex pointed out, /usr/share/zoneinfo/Europe/Berlin is for some reason copied to /usr/share/zoneinfo/UTC. This happens somewhere during the Docker App installation:

root@ucs-1613:~# LANG=C stat /usr/share/zoneinfo/UTC
  File: '/usr/share/zoneinfo/UTC'
  Size: 2309            Blocks: 8          IO Block: 4096   regular file
Device: fd00h/64768d    Inode: 2358280     Links: 1
Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2017-08-01 14:33:11.144000000 +0200
Modify: 2017-04-04 17:01:29.147172000 +0200
Change: 2017-08-01 14:31:13.724000000 +0200
 Birth: -

This is from a test system where I started the OwnCloud installation around ~ 14:30 today.

1 Like