Bug#1057856: glibc: mktime now returns clock for UTC with isdst=1

2023-12-09 Thread Paulo Tomé
Package: libc6
Version: 2.36-9+deb12u3
Severity: normal
Tags: upstream
X-Debbugs-Cc: paulo.t...@gmail.com

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
 ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***

After compiling Erlang from source (erlang.org) a test case failed. The
test case detects if local time is converted correctly to universal time
even if isdst=1 for the UTC timezone. The following issue reports the
details: https://github.com/erlang/otp/issues/7938

I created a small test program that reproduces the behavior. The program
calls mktime for a certain date, with isdst=1 in the tm struct.

When setting TZ=UTC in the environment, mktime returns a valid clock
offset by one hour. In previous versions of glibc (tested 2.35 on Ubuntu
LTS 22.04.3) the same call to mktime returns -1. The error (-1) makes
sense, since the UTC timezone does not have DST.

After downloading the Debian glibc-source for 2.36, I see a patch that
could explain this behavior.

/usr/src/glibc/debian/patches/git-updates.diff

+  /* No unusual DST offset was found nearby.  Assume one-hour DST.  */
+  t += 60 * 60 * dst_difference;
+  if (mktime_min <= t && t <= mktime_max && convert_time (convert, t, ))
+   goto offset_found;
+
   __set_errno (EOVERFLOW);
   return -1;
 }

This change was not present on the other glibc I tested (2.35 on
Ubuntu). I checked upstream glibc 2.38 and the change is in the source.

I'm not sure if this is a bug, but for the UTC timezone I would expect
an error if we asked for the time with DST.

For reference, this is the test program:

#include 
#include 
#include 
#include 

int main(int argc, char *argv[])
{
int check_dst;

/* Check DST given as input */
if (argc == 2) {
check_dst = atoi(argv[1]);
} else {
printf("./check_dst \n");
exit(EXIT_FAILURE);
}

struct tm t;
t.tm_year = 2008 - 1900;
t.tm_mon = 8 - 1;
t.tm_mday = 1;
t.tm_hour = 0;
t.tm_min = 0;
t.tm_sec = 0;
t.tm_isdst = check_dst;

time_t clock = mktime();

printf("tzname[0]: %s, tzname[1]: %s\n", tzname[0], tzname[1]);
printf("\tdst before: %d\n\tdst after: %d\n", check_dst, t.tm_isdst);
printf("\tclock: %ld\n", clock);

exit(EXIT_SUCCESS);
}

And the output:

$ gcc -o check_dst check_dst.c 
$ TZ=UTC ./check_dst 0
tzname[0]: UTC, tzname[1]: UTC
dst before: 0
dst after: 0
clock: 1217548800
$ TZ=UTC ./check_dst 1
tzname[0]: UTC, tzname[1]: UTC
dst before: 1
dst after: 0
clock: 1217545200


-- System Information:
Debian Release: 12.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-13-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libc6 depends on:
ii  libgcc-s1  12.2.0-14

Versions of packages libc6 recommends:
ii  libidn2-0  2.3.3-1+b1

Versions of packages libc6 suggests:
ii  debconf [debconf-2.0]  1.5.82
pn  glibc-doc  
ii  libc-l10n  2.36-9+deb12u3
pn  libnss-nis 
pn  libnss-nisplus 
ii  locales2.36-9+deb12u3

-- debconf information:
  glibc/upgrade: true
  glibc/disable-screensaver:
  glibc/kernel-too-old:
  glibc/restart-services:
  libraries/restart-without-asking: false
  glibc/kernel-not-supported:
  glibc/restart-failed:



tzdata_2021a-1+deb11u11_source.changes ACCEPTED into oldstable-proposed-updates

2023-12-09 Thread Debian FTP Masters
Thank you for your contribution to Debian.



Accepted:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Format: 1.8
Date: Fri, 01 Dec 2023 22:51:38 +0100
Source: tzdata
Architecture: source
Version: 2021a-1+deb11u11
Distribution: bullseye
Urgency: medium
Maintainer: GNU Libc Maintainers 
Changed-By: Aurelien Jarno 
Closes: 1036104 1057185 1057186
Changes:
 tzdata (2021a-1+deb11u11) bullseye; urgency=medium
 .
   * Cherry-pick patches from upstream:
 - 25-no-leap-second-on-2023-12-31.patch: Update leap-seconds.list from
   upstream. The new expiration date is 28 June 2024.  Closes: #1057185,
   #1057186.
 - 26-egypt-dst-fix.patch: Fix a typo in the Egypt change introduced in
   tzdata 2021a-1+deb11u9.  Closes: #1036104.
   * debian/clean: Remove leapseconds during clean target.
Checksums-Sha1:
 2e480c759a278da240f6cc0cc8ec2c239f9e4087 2273 tzdata_2021a-1+deb11u11.dsc
 573629e1bfe8dbec6da143fd25b9bc12a4c86ddf 125056 
tzdata_2021a-1+deb11u11.debian.tar.xz
 ddeed25b88bc36725322045a74671a3231d2efd0 5776 
tzdata_2021a-1+deb11u11_source.buildinfo
Checksums-Sha256:
 3b731bafa4c33b8c7e93d8af3a9f70ea3c7e9c0da6547a2121936b8040b0ff50 2273 
tzdata_2021a-1+deb11u11.dsc
 6e47625c58bd323f2ec4a2a4e1187d8504bf2055fc4ea0ca154da8bd99dfbd06 125056 
tzdata_2021a-1+deb11u11.debian.tar.xz
 4a3bc659d94bf244f7d774d81f059f17bc6a51664c3b96ef43dbbfe3df920597 5776 
tzdata_2021a-1+deb11u11_source.buildinfo
Files:
 be4325bbde2bb6dc359b1f0a998745a2 2273 localization required 
tzdata_2021a-1+deb11u11.dsc
 41087743dcc12dba8427342023e9fe15 125056 localization required 
tzdata_2021a-1+deb11u11.debian.tar.xz
 21b175f6317f7a09088983856d4c3340 5776 localization required 
tzdata_2021a-1+deb11u11_source.buildinfo

-BEGIN PGP SIGNATURE-

iQIzBAEBCgAdFiEEUryGlb40+QrX1Ay4E4jA+JnoM2sFAmVqVdEACgkQE4jA+Jno
M2ssaw//YWIJCx2MT9remXFaOX9ozq5pkoHAekik1TN/K1XrdANKQiId0tW+z+ga
pj/Harnp8OY8a7jnpJyXznOvyaO+F7RDPqnDD2QET8dSqkq1A/qS3CH3U4dn8gLw
WjUVcZLp5py4WVSlLJWU4/mDZGP13UDfvFuXv8It1bvlUskuRMD8MiqKUhZGqeku
acht/7T7CiL1lYfVBtuiQ1Hq/MrMnTT7hpoAsO44/28+srj8fmUtpVHifWLWdqiZ
8N2K9Ns1Qn1WJqWzNIpSj1TI3AmkyaGYURkP+Li6ctekjqC9sEII0q5M4qHcGVnV
Ey+uKdW2P3W3Xu/v9fZjJ+tdW8uletC3OSO/CwY4O8dWe0R9+BasuXrPwfK1TVPg
CrxJ2wfODsgvHCRQeDuvsV0/wJRj5rayXVjowBhxa4IQXzaYMNQOxrnniydpsPmH
qaHRLvrv8DR6IPdsD2pjuo+rxhFJVDc5xXnx82wA8yS4WETy99+mrLAnYI5y1yzJ
Jit6BTGI/O7/8pHE7sE3n5oPlkKqmgnV8oQY/84MklF57na+OHljPNoSXXSs7znv
PxDDEbmUDvezFEGDYwkDDhQMMobw27g5DoVnXzfkB36cn7FWG3WEDxxwUc2a5lz2
1pMoQX4FdxbAlBu24DHU1Fn5AYEGu2KHTAcDOkXjwvsELJb0p+Y=
=zmuj
-END PGP SIGNATURE-



Bug#1057185: marked as done (tzdata: leap-seconds.list expires in 28 December 2023 for Bullseye)

2023-12-09 Thread Debian Bug Tracking System
Your message dated Sat, 09 Dec 2023 16:17:24 +
with message-id 
and subject line Bug#1057186: fixed in tzdata 2021a-1+deb11u11
has caused the Debian Bug report #1057186,
regarding tzdata: leap-seconds.list expires in 28 December 2023 for Bullseye
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.)


-- 
1057186: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1057186
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: tzdata
Version: 2021a-1+deb11u10
Severity: important

Dear Maintainer,

I've started seeing these kind of log messages via logcheck on our
oldstable machines:

```
Dec  1 08:06:43 dev ntpd[963]: leapsecond file
('/usr/share/zoneinfo/leap-seconds.list'): will expire in less than 27
days
```

It will expire at the end of the year:

```
$ fgrep expires /usr/share/zoneinfo/leap-seconds.list 
#   File expires on:  28 December 2023
```

-- System Information:
Debian Release: 11.8
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable-security'), (500, 
'oldstable'), (100, 'bullseye-fasttrack')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-26-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages tzdata depends on:
ii  debconf [debconf-2.0]  1.5.77

tzdata recommends no packages.

tzdata suggests no packages.

-- debconf information excluded
--- End Message ---
--- Begin Message ---
Source: tzdata
Source-Version: 2021a-1+deb11u11
Done: Aurelien Jarno 

We believe that the bug you reported is fixed in the latest version of
tzdata, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1057...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Aurelien Jarno  (supplier of updated tzdata package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Format: 1.8
Date: Fri, 01 Dec 2023 22:51:38 +0100
Source: tzdata
Architecture: source
Version: 2021a-1+deb11u11
Distribution: bullseye
Urgency: medium
Maintainer: GNU Libc Maintainers 
Changed-By: Aurelien Jarno 
Closes: 1036104 1057185 1057186
Changes:
 tzdata (2021a-1+deb11u11) bullseye; urgency=medium
 .
   * Cherry-pick patches from upstream:
 - 25-no-leap-second-on-2023-12-31.patch: Update leap-seconds.list from
   upstream. The new expiration date is 28 June 2024.  Closes: #1057185,
   #1057186.
 - 26-egypt-dst-fix.patch: Fix a typo in the Egypt change introduced in
   tzdata 2021a-1+deb11u9.  Closes: #1036104.
   * debian/clean: Remove leapseconds during clean target.
Checksums-Sha1:
 2e480c759a278da240f6cc0cc8ec2c239f9e4087 2273 tzdata_2021a-1+deb11u11.dsc
 573629e1bfe8dbec6da143fd25b9bc12a4c86ddf 125056 
tzdata_2021a-1+deb11u11.debian.tar.xz
 ddeed25b88bc36725322045a74671a3231d2efd0 5776 
tzdata_2021a-1+deb11u11_source.buildinfo
Checksums-Sha256:
 3b731bafa4c33b8c7e93d8af3a9f70ea3c7e9c0da6547a2121936b8040b0ff50 2273 
tzdata_2021a-1+deb11u11.dsc
 6e47625c58bd323f2ec4a2a4e1187d8504bf2055fc4ea0ca154da8bd99dfbd06 125056 
tzdata_2021a-1+deb11u11.debian.tar.xz
 4a3bc659d94bf244f7d774d81f059f17bc6a51664c3b96ef43dbbfe3df920597 5776 
tzdata_2021a-1+deb11u11_source.buildinfo
Files:
 be4325bbde2bb6dc359b1f0a998745a2 2273 localization required 
tzdata_2021a-1+deb11u11.dsc
 41087743dcc12dba8427342023e9fe15 125056 localization required 
tzdata_2021a-1+deb11u11.debian.tar.xz
 21b175f6317f7a09088983856d4c3340 5776 localization required 
tzdata_2021a-1+deb11u11_source.buildinfo

-BEGIN PGP SIGNATURE-

iQIzBAEBCgAdFiEEUryGlb40+QrX1Ay4E4jA+JnoM2sFAmVqVdEACgkQE4jA+Jno
M2ssaw//YWIJCx2MT9remXFaOX9ozq5pkoHAekik1TN/K1XrdANKQiId0tW+z+ga
pj/Harnp8OY8a7jnpJyXznOvyaO+F7RDPqnDD2QET8dSqkq1A/qS3CH3U4dn8gLw
WjUVcZLp5py4WVSlLJWU4/mDZGP13UDfvFuXv8It1bvlUskuRMD8MiqKUhZGqeku
acht/7T7CiL1lYfVBtuiQ1Hq/MrMnTT7hpoAsO44/28+srj8fmUtpVHifWLWdqiZ
8N2K9Ns1Qn1WJqWzNIpSj1TI3AmkyaGYURkP+Li6ctekjqC9sEII0q5M4qHcGVnV
Ey+uKdW2P3W3Xu/v9fZjJ+tdW8uletC3OSO/CwY4O8dWe0R9+BasuXrPwfK1TVPg

Bug#1057186: marked as done (tzdata: NTP complains about an expiring leap-seconds.list)

2023-12-09 Thread Debian Bug Tracking System
Your message dated Sat, 09 Dec 2023 16:17:24 +
with message-id 
and subject line Bug#1057185: fixed in tzdata 2021a-1+deb11u11
has caused the Debian Bug report #1057185,
regarding tzdata: NTP complains about an expiring leap-seconds.list
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.)


-- 
1057185: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1057185
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: tzdata
Version: 2021a-1+deb11u10
Severity: normal

Fore a few days now, I'm getting a message that a file is about to expire:

Nov 30 23:39:21 mymachine ntpd[3392]: leapsecond file 
('/usr/share/zoneinfo/leap-seconds.list'): will expire in less than 28 days

I observed this message appearing "regularly" after a new Debian release 
appearing on the still running oldstable machines. See also bugs #1012191, 
#964948.

bullseye-updates is included in my sources.list per instructions on 
https://wiki.debian.org/StableUpdates

Please provide an updated leap-seconds.list with a new updated tzdata, or 
advise how to deal with this situation properly.

-- System Information:
Debian Release: 11.8
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable-security'), (500, 
'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-26-amd64 (SMP w/2 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/bash
Init: sysvinit (via /sbin/init)

Versions of packages tzdata depends on:
ii  debconf [debconf-2.0]  1.5.77

tzdata recommends no packages.

tzdata suggests no packages.

-- debconf information:
* tzdata/Areas: Europe
  tzdata/Zones/Africa:
  tzdata/Zones/SystemV:
  tzdata/Zones/Atlantic:
  tzdata/Zones/Arctic:
  tzdata/Zones/America:
* tzdata/Zones/Europe: Berlin
  tzdata/Zones/US:
  tzdata/Zones/Pacific:
  tzdata/Zones/Etc:
  tzdata/Zones/Asia:
  tzdata/Zones/Indian:
  tzdata/Zones/Antarctica:
  tzdata/Zones/Australia:
--- End Message ---
--- Begin Message ---
Source: tzdata
Source-Version: 2021a-1+deb11u11
Done: Aurelien Jarno 

We believe that the bug you reported is fixed in the latest version of
tzdata, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1057...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Aurelien Jarno  (supplier of updated tzdata package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Format: 1.8
Date: Fri, 01 Dec 2023 22:51:38 +0100
Source: tzdata
Architecture: source
Version: 2021a-1+deb11u11
Distribution: bullseye
Urgency: medium
Maintainer: GNU Libc Maintainers 
Changed-By: Aurelien Jarno 
Closes: 1036104 1057185 1057186
Changes:
 tzdata (2021a-1+deb11u11) bullseye; urgency=medium
 .
   * Cherry-pick patches from upstream:
 - 25-no-leap-second-on-2023-12-31.patch: Update leap-seconds.list from
   upstream. The new expiration date is 28 June 2024.  Closes: #1057185,
   #1057186.
 - 26-egypt-dst-fix.patch: Fix a typo in the Egypt change introduced in
   tzdata 2021a-1+deb11u9.  Closes: #1036104.
   * debian/clean: Remove leapseconds during clean target.
Checksums-Sha1:
 2e480c759a278da240f6cc0cc8ec2c239f9e4087 2273 tzdata_2021a-1+deb11u11.dsc
 573629e1bfe8dbec6da143fd25b9bc12a4c86ddf 125056 
tzdata_2021a-1+deb11u11.debian.tar.xz
 ddeed25b88bc36725322045a74671a3231d2efd0 5776 
tzdata_2021a-1+deb11u11_source.buildinfo
Checksums-Sha256:
 3b731bafa4c33b8c7e93d8af3a9f70ea3c7e9c0da6547a2121936b8040b0ff50 2273 
tzdata_2021a-1+deb11u11.dsc
 6e47625c58bd323f2ec4a2a4e1187d8504bf2055fc4ea0ca154da8bd99dfbd06 125056 
tzdata_2021a-1+deb11u11.debian.tar.xz
 4a3bc659d94bf244f7d774d81f059f17bc6a51664c3b96ef43dbbfe3df920597 5776 
tzdata_2021a-1+deb11u11_source.buildinfo
Files:
 be4325bbde2bb6dc359b1f0a998745a2 2273 localization required 
tzdata_2021a-1+deb11u11.dsc
 41087743dcc12dba8427342023e9fe15 125056 localization required 
tzdata_2021a-1+deb11u11.debian.tar.xz
 21b175f6317f7a09088983856d4c3340 5776 localization required 
tzdata_2021a-1+deb11u11_source.buildinfo

-BEGIN PGP SIGNATURE-


Bug#1057185: marked as done (tzdata: leap-seconds.list expires in 28 December 2023 for Bullseye)

2023-12-09 Thread Debian Bug Tracking System
Your message dated Sat, 09 Dec 2023 16:17:24 +
with message-id 
and subject line Bug#1057185: fixed in tzdata 2021a-1+deb11u11
has caused the Debian Bug report #1057185,
regarding tzdata: leap-seconds.list expires in 28 December 2023 for Bullseye
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.)


-- 
1057185: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1057185
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: tzdata
Version: 2021a-1+deb11u10
Severity: important

Dear Maintainer,

I've started seeing these kind of log messages via logcheck on our
oldstable machines:

```
Dec  1 08:06:43 dev ntpd[963]: leapsecond file
('/usr/share/zoneinfo/leap-seconds.list'): will expire in less than 27
days
```

It will expire at the end of the year:

```
$ fgrep expires /usr/share/zoneinfo/leap-seconds.list 
#   File expires on:  28 December 2023
```

-- System Information:
Debian Release: 11.8
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable-security'), (500, 
'oldstable'), (100, 'bullseye-fasttrack')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-26-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages tzdata depends on:
ii  debconf [debconf-2.0]  1.5.77

tzdata recommends no packages.

tzdata suggests no packages.

-- debconf information excluded
--- End Message ---
--- Begin Message ---
Source: tzdata
Source-Version: 2021a-1+deb11u11
Done: Aurelien Jarno 

We believe that the bug you reported is fixed in the latest version of
tzdata, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1057...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Aurelien Jarno  (supplier of updated tzdata package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Format: 1.8
Date: Fri, 01 Dec 2023 22:51:38 +0100
Source: tzdata
Architecture: source
Version: 2021a-1+deb11u11
Distribution: bullseye
Urgency: medium
Maintainer: GNU Libc Maintainers 
Changed-By: Aurelien Jarno 
Closes: 1036104 1057185 1057186
Changes:
 tzdata (2021a-1+deb11u11) bullseye; urgency=medium
 .
   * Cherry-pick patches from upstream:
 - 25-no-leap-second-on-2023-12-31.patch: Update leap-seconds.list from
   upstream. The new expiration date is 28 June 2024.  Closes: #1057185,
   #1057186.
 - 26-egypt-dst-fix.patch: Fix a typo in the Egypt change introduced in
   tzdata 2021a-1+deb11u9.  Closes: #1036104.
   * debian/clean: Remove leapseconds during clean target.
Checksums-Sha1:
 2e480c759a278da240f6cc0cc8ec2c239f9e4087 2273 tzdata_2021a-1+deb11u11.dsc
 573629e1bfe8dbec6da143fd25b9bc12a4c86ddf 125056 
tzdata_2021a-1+deb11u11.debian.tar.xz
 ddeed25b88bc36725322045a74671a3231d2efd0 5776 
tzdata_2021a-1+deb11u11_source.buildinfo
Checksums-Sha256:
 3b731bafa4c33b8c7e93d8af3a9f70ea3c7e9c0da6547a2121936b8040b0ff50 2273 
tzdata_2021a-1+deb11u11.dsc
 6e47625c58bd323f2ec4a2a4e1187d8504bf2055fc4ea0ca154da8bd99dfbd06 125056 
tzdata_2021a-1+deb11u11.debian.tar.xz
 4a3bc659d94bf244f7d774d81f059f17bc6a51664c3b96ef43dbbfe3df920597 5776 
tzdata_2021a-1+deb11u11_source.buildinfo
Files:
 be4325bbde2bb6dc359b1f0a998745a2 2273 localization required 
tzdata_2021a-1+deb11u11.dsc
 41087743dcc12dba8427342023e9fe15 125056 localization required 
tzdata_2021a-1+deb11u11.debian.tar.xz
 21b175f6317f7a09088983856d4c3340 5776 localization required 
tzdata_2021a-1+deb11u11_source.buildinfo

-BEGIN PGP SIGNATURE-

iQIzBAEBCgAdFiEEUryGlb40+QrX1Ay4E4jA+JnoM2sFAmVqVdEACgkQE4jA+Jno
M2ssaw//YWIJCx2MT9remXFaOX9ozq5pkoHAekik1TN/K1XrdANKQiId0tW+z+ga
pj/Harnp8OY8a7jnpJyXznOvyaO+F7RDPqnDD2QET8dSqkq1A/qS3CH3U4dn8gLw
WjUVcZLp5py4WVSlLJWU4/mDZGP13UDfvFuXv8It1bvlUskuRMD8MiqKUhZGqeku
acht/7T7CiL1lYfVBtuiQ1Hq/MrMnTT7hpoAsO44/28+srj8fmUtpVHifWLWdqiZ
8N2K9Ns1Qn1WJqWzNIpSj1TI3AmkyaGYURkP+Li6ctekjqC9sEII0q5M4qHcGVnV
Ey+uKdW2P3W3Xu/v9fZjJ+tdW8uletC3OSO/CwY4O8dWe0R9+BasuXrPwfK1TVPg

Bug#1036104: marked as done (tzdata.zi has a typo in the backported Egypt DST rules)

2023-12-09 Thread Debian Bug Tracking System
Your message dated Sat, 09 Dec 2023 16:17:24 +
with message-id 
and subject line Bug#1036104: fixed in tzdata 2021a-1+deb11u11
has caused the Debian Bug report #1036104,
regarding tzdata.zi has a typo in the backported Egypt DST rules
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.)


-- 
1036104: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1036104
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: tzdata
Version: 2021a-1+deb11u10
Severity: important
Tags: patch
X-Debbugs-Cc: deb...@kayari.org

Dear Maintainer,

   * What led up to the situation?

GCC 13 uses the /usr/share/zoneinfo/tzdata.zi file to implement support for
the C++20 time zone library.

   * What exactly did you do (or not do) that was effective (or
 ineffective)?

Basic use of std::chrono::tzdb with GCC 13 fails on Debian stable, because
the tzdata.zi file cannot be parsed, and so only UTC time zones are
supported.

I originally filed this upstream:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109857
Further investigation revealed it's a Debian-specific bug in the tzdata.zi
file.

   * What was the outcome of this action?

Attempting to use any non-UTC time zone in C++ programs will fail.

   * What outcome did you expect instead?

The tzdata.zi file should be valid according to the zic(8) man page.
Specifically:

   The fields that make up a rule line are:
   [...]
   TO  Gives the final year in which the rule applies.  In addition
   to minimum and maximum (as above), the word only (or an abbreviation)
   may be used to repeat the value of the FROM field.

The tzdata-2021a-1+deb11u10 package contains a backport of the Egypt DST
changes from this commit:
https://github.com/eggert/tz/commit/dcd8cbed23201416cbd3bbf43f669737693282d7

However that has a typo, which was fixed by this commit, which is not
present in the Debian package:
https://github.com/eggert/tz/commit/af242d11b62584808a66851b8707148bf1ee8d0a

Please backport the typo fix.


-- System Information:
Debian Release: 11.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.2.14-200.fc37.x86_64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: unable to detect

Versions of packages tzdata depends on:
ii  debconf [debconf-2.0]  1.5.77

tzdata recommends no packages.

tzdata suggests no packages.

-- debconf information:
  tzdata/Zones/America:
  tzdata/Zones/Asia:
* tzdata/Areas: Etc
  tzdata/Zones/Africa:
  tzdata/Zones/Pacific:
  tzdata/Zones/Indian:
  tzdata/Zones/US:
  tzdata/Zones/Arctic:
* tzdata/Zones/Etc: UTC
  tzdata/Zones/Australia:
  tzdata/Zones/Europe:
  tzdata/Zones/Antarctica:
  tzdata/Zones/Atlantic:
--- End Message ---
--- Begin Message ---
Source: tzdata
Source-Version: 2021a-1+deb11u11
Done: Aurelien Jarno 

We believe that the bug you reported is fixed in the latest version of
tzdata, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1036...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Aurelien Jarno  (supplier of updated tzdata package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Format: 1.8
Date: Fri, 01 Dec 2023 22:51:38 +0100
Source: tzdata
Architecture: source
Version: 2021a-1+deb11u11
Distribution: bullseye
Urgency: medium
Maintainer: GNU Libc Maintainers 
Changed-By: Aurelien Jarno 
Closes: 1036104 1057185 1057186
Changes:
 tzdata (2021a-1+deb11u11) bullseye; urgency=medium
 .
   * Cherry-pick patches from upstream:
 - 25-no-leap-second-on-2023-12-31.patch: Update leap-seconds.list from
   upstream. The new expiration date is 28 June 2024.  Closes: #1057185,
   #1057186.
 - 26-egypt-dst-fix.patch: Fix a typo in the Egypt change introduced in
   tzdata 2021a-1+deb11u9.  Closes: #1036104.
   * debian/clean: Remove leapseconds during clean target.
Checksums-Sha1:
 2e480c759a278da240f6cc0cc8ec2c239f9e4087 2273 tzdata_2021a-1+deb11u11.dsc
 

Bug#1057186: marked as done (tzdata: NTP complains about an expiring leap-seconds.list)

2023-12-09 Thread Debian Bug Tracking System
Your message dated Sat, 09 Dec 2023 16:17:24 +
with message-id 
and subject line Bug#1057186: fixed in tzdata 2021a-1+deb11u11
has caused the Debian Bug report #1057186,
regarding tzdata: NTP complains about an expiring leap-seconds.list
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.)


-- 
1057186: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1057186
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: tzdata
Version: 2021a-1+deb11u10
Severity: normal

Fore a few days now, I'm getting a message that a file is about to expire:

Nov 30 23:39:21 mymachine ntpd[3392]: leapsecond file 
('/usr/share/zoneinfo/leap-seconds.list'): will expire in less than 28 days

I observed this message appearing "regularly" after a new Debian release 
appearing on the still running oldstable machines. See also bugs #1012191, 
#964948.

bullseye-updates is included in my sources.list per instructions on 
https://wiki.debian.org/StableUpdates

Please provide an updated leap-seconds.list with a new updated tzdata, or 
advise how to deal with this situation properly.

-- System Information:
Debian Release: 11.8
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable-security'), (500, 
'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-26-amd64 (SMP w/2 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/bash
Init: sysvinit (via /sbin/init)

Versions of packages tzdata depends on:
ii  debconf [debconf-2.0]  1.5.77

tzdata recommends no packages.

tzdata suggests no packages.

-- debconf information:
* tzdata/Areas: Europe
  tzdata/Zones/Africa:
  tzdata/Zones/SystemV:
  tzdata/Zones/Atlantic:
  tzdata/Zones/Arctic:
  tzdata/Zones/America:
* tzdata/Zones/Europe: Berlin
  tzdata/Zones/US:
  tzdata/Zones/Pacific:
  tzdata/Zones/Etc:
  tzdata/Zones/Asia:
  tzdata/Zones/Indian:
  tzdata/Zones/Antarctica:
  tzdata/Zones/Australia:
--- End Message ---
--- Begin Message ---
Source: tzdata
Source-Version: 2021a-1+deb11u11
Done: Aurelien Jarno 

We believe that the bug you reported is fixed in the latest version of
tzdata, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1057...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Aurelien Jarno  (supplier of updated tzdata package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Format: 1.8
Date: Fri, 01 Dec 2023 22:51:38 +0100
Source: tzdata
Architecture: source
Version: 2021a-1+deb11u11
Distribution: bullseye
Urgency: medium
Maintainer: GNU Libc Maintainers 
Changed-By: Aurelien Jarno 
Closes: 1036104 1057185 1057186
Changes:
 tzdata (2021a-1+deb11u11) bullseye; urgency=medium
 .
   * Cherry-pick patches from upstream:
 - 25-no-leap-second-on-2023-12-31.patch: Update leap-seconds.list from
   upstream. The new expiration date is 28 June 2024.  Closes: #1057185,
   #1057186.
 - 26-egypt-dst-fix.patch: Fix a typo in the Egypt change introduced in
   tzdata 2021a-1+deb11u9.  Closes: #1036104.
   * debian/clean: Remove leapseconds during clean target.
Checksums-Sha1:
 2e480c759a278da240f6cc0cc8ec2c239f9e4087 2273 tzdata_2021a-1+deb11u11.dsc
 573629e1bfe8dbec6da143fd25b9bc12a4c86ddf 125056 
tzdata_2021a-1+deb11u11.debian.tar.xz
 ddeed25b88bc36725322045a74671a3231d2efd0 5776 
tzdata_2021a-1+deb11u11_source.buildinfo
Checksums-Sha256:
 3b731bafa4c33b8c7e93d8af3a9f70ea3c7e9c0da6547a2121936b8040b0ff50 2273 
tzdata_2021a-1+deb11u11.dsc
 6e47625c58bd323f2ec4a2a4e1187d8504bf2055fc4ea0ca154da8bd99dfbd06 125056 
tzdata_2021a-1+deb11u11.debian.tar.xz
 4a3bc659d94bf244f7d774d81f059f17bc6a51664c3b96ef43dbbfe3df920597 5776 
tzdata_2021a-1+deb11u11_source.buildinfo
Files:
 be4325bbde2bb6dc359b1f0a998745a2 2273 localization required 
tzdata_2021a-1+deb11u11.dsc
 41087743dcc12dba8427342023e9fe15 125056 localization required 
tzdata_2021a-1+deb11u11.debian.tar.xz
 21b175f6317f7a09088983856d4c3340 5776 localization required 
tzdata_2021a-1+deb11u11_source.buildinfo

-BEGIN PGP SIGNATURE-