Univention Bugzilla – Full Text Bug Listing |
Summary: | Horde upgrade to 5.2.17-2 with wrong timezone definition | ||
---|---|---|---|
Product: | UCS | Reporter: | Jörn Lentes <joern.lentes> |
Component: | App Center | Assignee: | Felix Botner <botner> |
Status: | CLOSED FIXED | QA Contact: | Dirk Wiesenthal <wiesenthal> |
Severity: | normal | ||
Priority: | P5 | CC: | botner, damrose, schneider |
Version: | UCS 4.3 | ||
Target Milestone: | UCS 4.3-1-errata | ||
Hardware: | amd64 | ||
OS: | Linux | ||
What kind of report is it?: | Bug Report | What type of bug is this?: | 5: Major Usability: Impairs usability in key scenarios |
Who will be affected by this bug?: | 3: Will affect average number of installed domains | How will those affected feel about the bug?: | 4: A User would return the product |
User Pain: | 0.343 | Enterprise Customer affected?: | |
School Customer affected?: | Yes | ISV affected?: | |
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | Bug group (optional): | ||
Max CVSS v3 score: |
Description
Jörn Lentes
2018-07-18 15:09:35 CEST
There is a school customer affected. Replacing the /usr/share/zoneinfo/UTC file like mentioned in the link above worked here. Problem is: in appbox 4.3 (debian stretch in general) /etc/localtime is a link (and no longer a file as in previous debian versions). -> docker run --rm docker.software-univention.de/ucs-appbox-amd64:4.3-0 ls -la /etc/localtime lrwxrwxrwx 1 root root 27 Feb 13 00:00 /etc/localtime -> /usr/share/zoneinfo/Etc/UTC The same is true for UCS itself. -> ls -la /etc/localtime lrwxrwxrwx 1 root root 33 Mai 18 10:43 /etc/localtime -> /usr/share/zoneinfo/Europe/Berlin And during the app installation we copy /etc/localtime from the host into the container. Prior to 4.3 this copied a file into the container. But now with debian/stretch we copy a link into the destination of /etc/localtime in the container host: /etc/localtime -> /usr/share/zoneinfo/Europe/Berlin container: /etc/localtime -> /usr/share/zoneinfo/Etc/UTC container: /usr/share/zoneinfo/Etc/UTC -> ../UTC host -> docker cp /etc/localtime id:/etc/localtime container: /usr/share/zoneinfo/UTC -> /usr/share/zoneinfo/Europe/Berlin This seems wrong, we should remove the /etc/localtime link in the container first. host: /etc/localtime -> /usr/share/zoneinfo/Europe/Berlin container: -> rm /etc/localtime host: -> docker cp /etc/localtime id:/etc/localtime container /etc/localtime -> /usr/share/zoneinfo/Europe/Berlin container: -> dpkg-reconfigure -f noninteractive tzdata Current default time zone: 'Europe/Berlin' Local time is now: Thu Jul 19 14:43:17 CEST 2018. Universal Time is now: Thu Jul 19 12:43:17 UTC 2018. fixed by removing /etc/localtime (and /etc/timezone) in the container before copying univention-appcenter: 837dc14abc753eec6872991624082e8e37031e55 yaml: c5cbb5041b1448c27c4c04fd9f338b8905c4f77d Changeset: OK YAML: OK @Felix: Please set the SupportedUCSVersions of Horde accordingly as soon as this erratum has been released. |