Skip to content

Update tzdata (time zone database) from 2014f to 2018c #675

Merged
merged 8 commits into from
Mar 16, 2018

Conversation

pmenzel
Copy link
Collaborator

@pmenzel pmenzel commented Mar 16, 2018

This makes it compatible with systemd-timedated.

Tested on keineahnung and sigkill.

Use HTTPS to securely download the source archive.
```
$ tzselect
/usr/bin/tzselect: line 180: /usr/share/zoneinfo/iso3166.tab: No such file or directory
/usr/bin/tzselect: time zone files are not set up correctly
```

So install all files as described in the Linux From Scratch chapter [1].

[1]: http://www.linuxfromscratch.org/lfs/downloads/8.2/LFS-BOOK-8.2-NOCHUNKS.html
From the Linux From Scratch book [1]:

> This creates the posixrules file. We use New York because POSIX
> requires the daylight savings time rules to be in accordance with US
> rules.

[1]: http://www.linuxfromscratch.org/lfs/downloads/8.2/LFS-BOOK-8.2-NOCHUNKS.html
systemd-timedated wants this to be a symbolic link, cf. man 5 localtime.

> The /etc/localtime file configures the system-wide timezone of the
> local system that is used by applications for presentation to the
> user. It should be an absolute or relative symbolic link pointing to
> /usr/share/zoneinfo/, followed by a timezone identifier such as
> "Europe/Berlin" or "Etc/UTC". The resulting link should lead to the
> corresponding binary tzfile(5) timezone data for the configured
> timezone.
>
> Because the timezone identifier is extracted from the symlink target
> name of /etc/localtime, this file may not be a normal file or
> hardlink.
@pmenzel pmenzel force-pushed the update-tzdata-from-2014f-to-2018c branch from c975b13 to 74e63f0 Compare March 16, 2018 14:38
@donald donald merged commit 45535ea into master Mar 16, 2018
donald added a commit that referenced this pull request Mar 19, 2018
One issue with systemd-timesyncd was, that it turned the
time backwards due to some incompatible setting here (fixed by #675).

Another issues is, that is doesn't sync with time.molgen.mpg.de but with
some external server (ntps1-0.cs.tu-berlin.de).

Additionally, ntp.service needs to be started on time.molgen.mpg.de,
because non-mariux systems synchronize with it, too.

We know that ntp is working the way we want, which we don't know for
systemd-timesyncd. So do not complicate the update by replacing it now.

Remove ntp replacement from udpate script and revert "ntp: Remove version 4.2.8p8"

This reverts commit 61313bf.
pmenzel pushed a commit that referenced this pull request Mar 19, 2018
One issue with systemd-timesyncd was, that it turned the time backwards
due to some incompatible setting here (fixed by #675).

Another issues is, that is doesn't sync with time.molgen.mpg.de but with
some external server (ntps1-0.cs.tu-berlin.de), as that is not
configured yet in `/etc/systemd/timesyncd.conf`.

Additionally, `ntp.service` needs to be started on time.molgen.mpg.de,
because non-mariux systems synchronize with it, too.

We know that ntp is working the way we want, which we don't know for
systemd-timesyncd. So do not complicate the update by replacing it now.

So, remove the ntp replacement from update script and revert "ntp:
Remove version 4.2.8p8".

This reverts commit 61313bf.
@donald donald deleted the update-tzdata-from-2014f-to-2018c branch April 12, 2018 14:25
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants