NetBSD Problem Report #55156

From www@netbsd.org  Wed Apr  8 19:19:13 2020
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id A143C1AEB87
	for <gnats-bugs@gnats.NetBSD.org>; Wed,  8 Apr 2020 19:19:13 +0000 (UTC)
Message-Id: <20200408191912.D21061AEB8F@mollari.NetBSD.org>
Date: Wed,  8 Apr 2020 19:19:12 +0000 (UTC)
From: c_ctac@live.fr
Reply-To: c_ctac@live.fr
To: gnats-bugs@NetBSD.org
Subject: Time zone is false in french
X-Send-Pr-Version: www-1.0

>Number:         55156
>Category:       lib
>Synopsis:       Time zone is false in french
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 08 19:20:00 +0000 2020
>Last-Modified:  Sat Apr 11 09:50:01 +0000 2020
>Originator:     Alain Cros
>Release:        
>Organization:
>Environment:
NetBSD LeNetBSD1 9.0 NetBSD 9.0 (GENERIC) #0: Fri Feb 14 00:06:28 UTC 2020  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
In France
if I set /etc/localtime to /usr/share/zoneinfo/Europe/Paris
The time is false.
I must set it to Madrid to get the correct time.
>How-To-Repeat:

>Fix:

>Audit-Trail:
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: lib/55156: Time zone is false in french
Date: Wed, 8 Apr 2020 22:29:43 +0200

 Give us some details, it works for me:

 > env TZ=/usr/share/zoneinfo/Europe/Paris date
 Wed Apr  8 22:27:40 CEST 2020
 > env TZ=/usr/share/zoneinfo/Europe/Athens date
 Wed Apr  8 23:28:23 EEST 2020


 What happens for you?

 Martin

From: Manuel Bouyer <bouyer@antioche.eu.org>
To: gnats-bugs@netbsd.org
Cc: lib-bug-people@netbsd.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Subject: Re: lib/55156: Time zone is false in french
Date: Wed, 8 Apr 2020 23:58:53 +0200

 On Wed, Apr 08, 2020 at 07:20:00PM +0000, c_ctac@live.fr wrote:
 > NetBSD LeNetBSD1 9.0 NetBSD 9.0 (GENERIC) #0: Fri Feb 14 00:06:28 UTC 2020  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64
 > >Description:
 > In France
 > if I set /etc/localtime to /usr/share/zoneinfo/Europe/Paris
 > The time is false.
 > I must set it to Madrid to get the correct time.


 I'm in france, and the time is correct for me with 
 /usr/share/zoneinfo/Europe/Paris

 please give more details

 -- 
 Manuel Bouyer <bouyer@antioche.eu.org>
      NetBSD: 26 ans d'experience feront toujours la difference
 --

From: Alain CROS <c_ctac@live.fr>
To: "gnats-bugs@netbsd.org" <gnats-bugs@netbsd.org>
Cc: 
Subject: RE: lib/55156: Time zone is false in french
Date: Fri, 10 Apr 2020 12:04:14 +0000

 --_000_PR3P193MB0761A19600F50047C6199101FFDE0PR3P193MB0761EURP_
 Content-Type: text/plain; charset="iso-8859-1"
 Content-Transfer-Encoding: quoted-printable

 > env TZ=3D/usr/share/zoneinfo/Europe/Paris date
  Fri Apr 10  11:45:20 UTC 2020
 > env TZ=3D/usr/share/zoneinfo/Europe/Athens date
  Fri Apr 10 14:45:49 EEST 2020

 I see UTC in place of CEST


 ________________________________
 De : gnats-admin@netbsd.org <gnats-admin@netbsd.org>
 Envoy=E9 : mercredi 8 avril 2020 21:20
 =C0 : c_ctac@live.fr <c_ctac@live.fr>
 Objet : Re: lib/55156: Time zone is false in french

 Thank you very much for your problem report.
 It has the internal identification `lib/55156'.
 The individual assigned to look at your
 report is: lib-bug-people.

 >Category:       lib
 >Responsible:    lib-bug-people
 >Synopsis:       Time zone is false in french
 >Arrival-Date:   Wed Apr 08 19:20:00 +0000 2020


 --_000_PR3P193MB0761A19600F50047C6199101FFDE0PR3P193MB0761EURP_
 Content-Type: text/html; charset="iso-8859-1"
 Content-Transfer-Encoding: quoted-printable

 <html>
 <head>
 <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
 1">
 <style type=3D"text/css" style=3D"display:none;"> P {margin-top:0;margin-bo=
 ttom:0;} </style>
 </head>
 <body dir=3D"ltr">
 <div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
  color: rgb(0, 0, 0);">
 <pre>&gt; env TZ=3D/usr/share/zoneinfo/Europe/Paris date=0A=
  Fri Apr 10  11:45:20 UTC 2020=0A=
 &gt; env TZ=3D/usr/share/zoneinfo/Europe/Athens date=0A=
  Fri Apr 10 14:45:49 EEST 2020</pre>
 I see UTC in place of CEST</div>
 <div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
  color: rgb(0, 0, 0);">
 <br>
 </div>
 <div>
 <div id=3D"appendonsend"></div>
 <div style=3D"font-family:Calibri,Helvetica,sans-serif; font-size:12pt; col=
 or:rgb(0,0,0)">
 <br>
 </div>
 <hr tabindex=3D"-1" style=3D"display:inline-block; width:98%">
 <div id=3D"divRplyFwdMsg" dir=3D"ltr"><font style=3D"font-size:11pt" face=
 =3D"Calibri, sans-serif" color=3D"#000000">De : gnats-admin@netbsd.o=
 rg &lt;gnats-admin@netbsd.org&gt;<br>
 Envoy=E9 : mercredi 8 avril 2020 21:20<br>
 =C0 : c_ctac@live.fr &lt;c_ctac@live.fr&gt;<br>
 Objet : Re: lib/55156: Time zone is false in french</font>
 <div>&nbsp;</div>
 </div>
 <div class=3D"BodyFragment"><font size=3D"2"><span style=3D"font-size:11pt"=
 >
 <div class=3D"PlainText">Thank you very much for your problem report.<br>
 It has the internal identification `lib/55156'.<br>
 The individual assigned to look at your<br>
 report is: lib-bug-people. <br>
 <br>
 &gt;Category:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lib<br>
 &gt;Responsible:&nbsp;&nbsp;&nbsp; lib-bug-people<br>
 &gt;Synopsis:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Time zone is false in fre=
 nch<br>
 &gt;Arrival-Date:&nbsp;&nbsp; Wed Apr 08 19:20:00 &#43;0000 2020<br>
 <br>
 </div>
 </span></font></div>
 </div>
 </body>
 </html>

 --_000_PR3P193MB0761A19600F50047C6199101FFDE0PR3P193MB0761EURP_--

From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: lib/55156: Time zone is false in french
Date: Sat, 11 Apr 2020 10:27:24 +0200

 On Fri, Apr 10, 2020 at 09:45:02PM +0000, Alain CROS wrote:
 >  > env TZ=3D/usr/share/zoneinfo/Europe/Paris date
 >   Fri Apr 10  11:45:20 UTC 2020
 >  > env TZ=3D/usr/share/zoneinfo/Europe/Athens date
 >   Fri Apr 10 14:45:49 EEST 2020
 >  
 >  I see UTC in place of CEST

 Something is wrong with your installation then. What does

 	ls -l /usr/share/zoneinfo/Europe/Paris

 show? It should be like this:

 -r--r--r--  1 root  wheel  1105 Nov  8 13:41 usr/share/zoneinfo/Europe/Paris

 Also ask file about it:

 	file /usr/share/zoneinfo/Europe/Paris

 and it should say:

 timezone data, version 2, no gmt time flags, no std time flags, no leap seconds, no transition times, 1 abbreviation char


 Martin

From: Robert Elz <kre@munnari.OZ.AU>
To: gnats-bugs@netbsd.org
Cc: Alain CROS <c_ctac@live.fr>
Subject: Re: lib/55156: Time zone is false in french
Date: Sat, 11 Apr 2020 16:47:56 +0700

     Date:        Fri, 10 Apr 2020 21:45:02 +0000 (UTC)
     From:        Alain CROS <c_ctac@live.fr>
     Message-ID:  <20200410214502.0E4E51A921E@mollari.NetBSD.org>

 As Martin suggested:

   |  > env TZ=/usr/share/zoneinfo/Europe/Paris date
   |   Fri Apr 10  11:45:20 UTC 2020
   |  > env TZ=/usr/share/zoneinfo/Europe/Athens date
   |   Fri Apr 10 14:45:49 EEST 2020
   |  
   |  I see UTC in place of CEST

 That indicates that either /usr/share/zoneinfo/Europe/Paris (the file)
 doesn't exist, or it has been corrupted locally.   Fetch or build a
 replacement version (if you have the sources locally, in
 /usr/src/external/public-domain/tz/dist/europe (or some other place
 than /usr/src - where the sources were extracted doesn't matter) then
 you should be able to do

 	zic -d . /usr/src/external/public-domain/tz/dist/europe

 after which you should have Europe/Paris that you can copy to
 /usr/share/zoneinfo/Europe/Paris to put the file back as it should be.

 Or you can just extract it from your (or any other recent) base
 distribution set (for this file it doesn't matter which release
 the distribution is for, any will do, provided the set was built
 relatively recently - say the past 6 months or so, though Europe/Paris
 probably hasn't changed in at least a few years).

 kre

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.