Your message dated Wed, 27 Jun 2018 23:31:55 +0200
with message-id <5a10fb41-796f-ad08-1f0c-bf7bd8e59...@debian.org>
and subject line Re: timedatectl: does not notice corrupted zoneinfo files
has caused the Debian Bug report #767593,
regarding timedatectl: does not notice corrupted zoneinfo files
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
767593: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=767593
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: systemd
Version: 215-5+b1
Severity: minor

Hi,

due to local problems, my zoneinfo file was corrupted (content replaced with garbage). Setting the timezone with timedatectl set-timezone lead to the timezone being set to UTC, but using the correct name.

root@zion:/etc# timedatectl # correct here.
      Local time: Sam 2014-11-01 11:54:45 CET
  Universal time: Sam 2014-11-01 10:54:45 UTC
        RTC time: Sam 2014-11-01 10:54:45
       Time zone: CET (CET, +0100)
     NTP enabled: yes
NTP synchronized: yes
 RTC in local TZ: no
      DST active: no
 Last DST change: DST ended at
                  Son 2014-10-26 02:59:59 CEST
                  Son 2014-10-26 02:00:00 CET
 Next DST change: DST begins (the clock jumps one hour forward) at
                  Son 2015-03-29 01:59:59 CET
                  Son 2015-03-29 03:00:00 CEST
root@zion:/etc# ls -la timezone localtime
lrwxrwxrwx 1 root root 25 Nov 1 11:50 localtime -> ../usr/share/zoneinfo/CET
-rw-r--r-- 1 root root  4 Nov  1 11:50 timezone
root@zion:/etc# timedatectl set-timezone Europe/Vienna
root@zion:/etc# date
Sam Nov  1 10:54:56 UTC 2014
root@zion:/etc# timedatectl # "valid", but not what's intended
      Local time: Sam 2014-11-01 10:55:01 UTC
  Universal time: Sam 2014-11-01 10:55:01 UTC
        RTC time: Sam 2014-11-01 10:55:01
       Time zone: Europe/Vienna (UTC, +0000)
     NTP enabled: yes
NTP synchronized: yes
 RTC in local TZ: no
      DST active: n/a
root@zion:/etc# ls -la timezone localtime


Given that zoneinfo files have an obvious magic number and the garbage file hadn't one, it'd be really great if timedatectl could do basic sanity checks before loading the file and creating an "invalid" configuration.



Thanks and regards, David
--
* Always looking for people I can help with awesome projects *
G+: https://plus.google.com/+DavidSchmitt
Blog: http://club.black.co.at/log/
LinkedIn: http://at.linkedin.com/in/davidschmitt

--- End Message ---
--- Begin Message ---
Version: 239-1

On Sat, 01 Nov 2014 12:03:10 +0100 David Schmitt <da...@dasz.at> wrote:
> Given that zoneinfo files have an obvious magic number and the garbage 
> file hadn't one, it'd be really great if timedatectl could do basic 
> sanity checks before loading the file and creating an "invalid" 
> configuration.

This was fixed in v239 but I forgot to mention this in the debian changelog.

Regards,
Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply via email to