Your message dated Sat, 04 May 2024 19:34:39 +0000
with message-id <e1s3l9b-00glax...@fasolo.debian.org>
and subject line Bug#1063077: fixed in syslog-ng 4.4.0-1
has caused the Debian Bug report #1063077,
regarding syslog-ng: identified for time_t transition but no ABI in shlibs
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.)


-- 
1063077: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1063077
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: syslog-ng
Version: 1:5.107.0-1
Severity: serious
Tags: patch sid trixie
Justification: library ABI skew on upgrade
User: debian-...@lists.debian.org
Usertags: time-t

Dear maintainers,

As part of the 64-bit time_t transition required to support 32-bit
architectures in 2038 and beyond
(https://wiki.debian.org/ReleaseGoals/64bit-time), we have identified
syslog-ng as a source package shipping runtime libraries whose ABI could
not be analyzed via abi-compliance-checker (and therefore to be on the
safe side we assume is affected).

syslog-ng is an interesting case, because it has no reverse-dependencies
in the archive aside from modules built from the same source package; but
it has a shlibs file declaring no version information at all, so any
external package that *did* build-depend on syslog-ng-dev is sure to get
incomplete runtime dependencies allowing for ABI skew.  Furthermore, the
module packages built from the source get a dependency on:

  syslog-ng-core (>= ${source:Version}), syslog-ng-core (<< 
${source:Version}.1~)

This for some reason assumes that there can never be ABI skew introduced by
a binNMU.  But if the ABI of the libraries in syslog-ng-core are affected by
64-bit time_t, and syslog-ng gets binNMUed, that's exactly what would happen!

So I think it's simply better to have strict versioned dependencies in
the shlibs as in the attached patch, which then makes the hard-coded
dependencies in debian/control unnecessary, allowing you to simplify the
package somewhat.

Since there are no external reverse-dependencies and no package renames
are required here, I do not intend to upload any NMUs for this.  But I
suggest applying the attached patch all the same, to guard against any
breakage due to binNMUs.

If you do not apply this patch, then because syslog-ng depends on at
least one library that is being renamed for the time_t transition
(libssl3), syslog-ng WILL be binNMUed, so if the syslog-ng-core ABI *is*
affected by time_t (which, again, we don't know for sure), there WILL be
ABI skew and packages could break at runtime due to insufficiently strict
dependencies.  I therefore recommend that you apply this patch, which is safe
to apply immediately without waiting for dpkg changes, just to be safe.

Cheers,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org
diff -Nru syslog-ng-3.38.1/debian/changelog syslog-ng-3.38.1/debian/changelog
--- syslog-ng-3.38.1/debian/changelog   2023-01-30 18:18:56.000000000 +0000
+++ syslog-ng-3.38.1/debian/changelog   2024-02-04 21:35:03.000000000 +0000
@@ -1,3 +1,15 @@
+syslog-ng (3.38.1-5.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Adjust shlibs for syslog-ng-core to use a strict versioned depends;
+    previously, modules used >=, << dependencies which did not account for
+    the possibility of ABI skew in a binNMU, which is exactly what happens
+    with the 64-bit time_t transition.
+  * Drop hard-coded dependency rules on syslog-ng-core from modules
+    packages, now redundant.  
+
+ -- Steve Langasek <vor...@debian.org>  Sun, 04 Feb 2024 21:35:03 +0000
+
 syslog-ng (3.38.1-5) unstable; urgency=medium
 
   * Build without Criterion support.
diff -Nru syslog-ng-3.38.1/debian/control syslog-ng-3.38.1/debian/control
--- syslog-ng-3.38.1/debian/control     2023-01-30 18:18:56.000000000 +0000
+++ syslog-ng-3.38.1/debian/control     2024-02-04 21:32:59.000000000 +0000
@@ -150,7 +150,7 @@
 Package: syslog-ng-mod-mongodb
 Architecture: any
 Multi-Arch: foreign
-Depends: ${shlibs:Depends}, ${misc:Depends}, syslog-ng-core (>= 
${source:Version}), syslog-ng-core (<< ${source:Version}.1~)
+Depends: ${shlibs:Depends}, ${misc:Depends}
 Suggests: mongodb-server
 Description: Enhanced system logging daemon (MongoDB plugin)
  syslog-ng is an enhanced log daemon, supporting a wide range of input
@@ -174,7 +174,7 @@
 Package: syslog-ng-mod-sql
 Architecture: any
 Multi-Arch: foreign
-Depends: ${shlibs:Depends}, ${misc:Depends}, syslog-ng-core (>= 
${source:Version}), syslog-ng-core (<< ${source:Version}.1~)
+Depends: ${shlibs:Depends}, ${misc:Depends}
 Suggests: libdbd-mysql, libdbd-pgsql, libdbd-sqlite3
 Description: Enhanced system logging daemon (SQL plugin)
  syslog-ng is an enhanced log daemon, supporting a wide range of input
@@ -199,7 +199,7 @@
 Package: syslog-ng-mod-smtp
 Architecture: any
 Multi-Arch: foreign
-Depends: ${shlibs:Depends}, ${misc:Depends}, syslog-ng-core (>= 
${source:Version}), syslog-ng-core (<< ${source:Version}.1~)
+Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: Enhanced system logging daemon (SMTP plugin)
  syslog-ng is an enhanced log daemon, supporting a wide range of input
  and output methods: syslog, unstructured text, message queues,
@@ -222,7 +222,7 @@
 Package: syslog-ng-mod-amqp
 Architecture: any
 Multi-Arch: foreign
-Depends: ${shlibs:Depends}, ${misc:Depends}, syslog-ng-core (>= 
${source:Version}), syslog-ng-core (<< ${source:Version}.1~)
+Depends: ${shlibs:Depends}, ${misc:Depends}
 Suggests: rabbitmq-server
 Description: Enhanced system logging daemon (AMQP plugin)
  syslog-ng is an enhanced log daemon, supporting a wide range of input
@@ -246,7 +246,7 @@
 Package: syslog-ng-mod-geoip2
 Architecture: any
 Multi-Arch: foreign
-Depends: ${shlibs:Depends}, ${misc:Depends}, syslog-ng-core (>= 
${source:Version}), syslog-ng-core (<< ${source:Version}.1~)
+Depends: ${shlibs:Depends}, ${misc:Depends}
 Provides: syslog-ng-mod-geoip
 Replaces: syslog-ng-mod-geoip (<< 3.25.1~)
 Breaks: syslog-ng-mod-geoip (<< 3.25.1~)
@@ -273,7 +273,7 @@
 Package: syslog-ng-mod-redis
 Architecture: any
 Multi-Arch: foreign
-Depends: ${shlibs:Depends}, ${misc:Depends}, syslog-ng-core (>= 
${source:Version}), syslog-ng-core (<< ${source:Version}.1~)
+Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: Enhanced system logging daemon (Redis plugin)
  syslog-ng is an enhanced log daemon, supporting a wide range of input
  and output methods: syslog, unstructured text, message queues,
@@ -296,7 +296,7 @@
 Package: syslog-ng-mod-stomp
 Architecture: any
 Multi-Arch: foreign
-Depends: ${shlibs:Depends}, ${misc:Depends}, syslog-ng-core (>= 
${source:Version}), syslog-ng-core (<< ${source:Version}.1~)
+Depends: ${shlibs:Depends}, ${misc:Depends}
 Suggests: activemq
 Description: Enhanced system logging daemon (STOMP plugin)
  syslog-ng is an enhanced log daemon, supporting a wide range of input
@@ -320,7 +320,7 @@
 Package: syslog-ng-mod-riemann
 Architecture: any
 Multi-Arch: foreign
-Depends: ${shlibs:Depends}, ${misc:Depends}, syslog-ng-core (>= 
${source:Version}), syslog-ng-core (<< ${source:Version}.1~)
+Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: Enhanced system logging daemon (Riemann destination)
  syslog-ng is an enhanced log daemon, supporting a wide range of input
  and output methods: syslog, unstructured text, message queues,
@@ -343,7 +343,7 @@
 Package: syslog-ng-mod-graphite
 Architecture: any
 Multi-Arch: foreign
-Depends: ${shlibs:Depends}, ${misc:Depends}, syslog-ng-core (>= 
${source:Version}), syslog-ng-core (<< ${source:Version}.1~)
+Depends: ${shlibs:Depends}, ${misc:Depends}
 Suggests: graphite-web
 Description: Enhanced system logging daemon (graphite plugin)
  syslog-ng is an enhanced log daemon, supporting a wide range of input
@@ -368,7 +368,7 @@
 Package: syslog-ng-mod-python
 Architecture: any
 Multi-Arch: foreign
-Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends}, 
syslog-ng-core (>= ${source:Version}), syslog-ng-core (<< ${source:Version}.1~)
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends}
 XB-Python-Version: ${python:Versions}
 Description: Enhanced system logging daemon (Python plugin)
  syslog-ng is an enhanced log daemon, supporting a wide range of input
@@ -392,7 +392,7 @@
 Package: syslog-ng-mod-add-contextual-data
 Architecture: any
 Multi-Arch: foreign
-Depends: ${shlibs:Depends}, ${misc:Depends}, syslog-ng-core (>= 
${source:Version}), syslog-ng-core (<< ${source:Version}.1~)
+Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: Enhanced system logging daemon (add-contextual-data plugin)
  syslog-ng is an enhanced log daemon, supporting a wide range of input
  and output methods: syslog, unstructured text, message queues,
@@ -420,7 +420,7 @@
 Package: syslog-ng-mod-stardate
 Architecture: any
 Multi-Arch: foreign
-Depends: ${shlibs:Depends}, ${misc:Depends}, syslog-ng-core (>= 
${source:Version}), syslog-ng-core (<< ${source:Version}.1~)
+Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: Enhanced system logging daemon (stardate plugin)
  syslog-ng is an enhanced log daemon, supporting a wide range of input
  and output methods: syslog, unstructured text, message queues,
@@ -444,7 +444,7 @@
 Package: syslog-ng-mod-snmp
 Architecture: linux-any hurd-i386
 Multi-Arch: foreign
-Depends: ${shlibs:Depends}, ${misc:Depends}, syslog-ng-core (>= 
${source:Version}), syslog-ng-core (<< ${source:Version}.1~)
+Depends: ${shlibs:Depends}, ${misc:Depends}
 Replaces: syslog-ng-mod-snmptrapd-parser (<< 3.27.1~)
 Breaks: syslog-ng-mod-snmptrapd-parser (<< 3.27.1~)
 Description: Enhanced system logging daemon (SNMP plugin)
@@ -469,7 +469,7 @@
 Package: syslog-ng-mod-xml-parser
 Architecture: any
 Multi-Arch: foreign
-Depends: ${shlibs:Depends}, ${misc:Depends}, syslog-ng-core (>= 
${source:Version}), syslog-ng-core (<< ${source:Version}.1~)
+Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: Enhanced system logging daemon (xml parser plugin)
  syslog-ng is an enhanced log daemon, supporting a wide range of input
  and output methods: syslog, unstructured text, message queues,
@@ -492,7 +492,7 @@
 Package: syslog-ng-mod-http
 Architecture: any
 Multi-Arch: foreign
-Depends: ${shlibs:Depends}, ${misc:Depends}, syslog-ng-core (>= 
${source:Version}), syslog-ng-core (<< ${source:Version}.1~)
+Depends: ${shlibs:Depends}, ${misc:Depends}
 Replaces: syslog-ng-core (<< 3.26.1~)
 Breaks: syslog-ng-core (<< 3.26.1~)
 Description: Enhanced system logging daemon (HTTP destination)
@@ -517,7 +517,7 @@
 Package: syslog-ng-mod-rdkafka
 Architecture: any
 Multi-Arch: foreign
-Depends: ${shlibs:Depends}, ${misc:Depends}, syslog-ng-core (>= 
${source:Version}), syslog-ng-core (<< ${source:Version}.1~)
+Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: Enhanced system logging daemon (Kafka destination, based on 
librdkafka)
  syslog-ng is an enhanced log daemon, supporting a wide range of input
  and output methods: syslog, unstructured text, message queues,
@@ -548,7 +548,7 @@
 Package: syslog-ng-scl
 Architecture: all
 Multi-Arch: foreign
-Depends: ${misc:Depends}, syslog-ng-core (>= ${source:Version}), 
syslog-ng-core (<< ${source:Version}.1~)
+Depends: ${misc:Depends}
 Provides: syslog-ng-mod-extra
 Replaces: syslog-ng-mod-extra (<< 3.38.1~), syslog-ng-core (<< 3.38.1~), 
syslog-ng-mod-graphite (<< 3.38.1~), syslog-ng-mod-rdkafka (<< 3.38.1~), 
syslog-ng-mod-snmp (<< 3.38.1~)
 Breaks: syslog-ng-mod-extra (<< 3.38.1~), syslog-ng-core (<< 3.38.1~), 
syslog-ng-mod-graphite (<< 3.38.1~), syslog-ng-mod-rdkafka (<< 3.38.1~), 
syslog-ng-mod-snmp (<< 3.38.1~)
@@ -574,7 +574,7 @@
 Package: syslog-ng-mod-examples
 Architecture: any
 Multi-Arch: foreign
-Depends: ${shlibs:Depends}, ${misc:Depends}, syslog-ng-core (>= 
${source:Version}), syslog-ng-core (<< ${source:Version}.1~)
+Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: Enhanced system logging daemon (example plugins)
  syslog-ng is an enhanced log daemon, supporting a wide range of input
  and output methods: syslog, unstructured text, message queues,
@@ -598,7 +598,7 @@
 Multi-Arch: foreign
 Replaces: syslog-ng-core (<< 3.28.1~)
 Breaks: syslog-ng-core (<< 3.28.1~)
-Depends: ${shlibs:Depends}, ${misc:Depends}, syslog-ng-core (>= 
${source:Version}), syslog-ng-core (<< ${source:Version}.1~)
+Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: Enhanced system logging daemon (secure logging plugin)
  syslog-ng is an enhanced log daemon, supporting a wide range of input
  and output methods: syslog, unstructured text, message queues,
diff -Nru syslog-ng-3.38.1/debian/rules syslog-ng-3.38.1/debian/rules
--- syslog-ng-3.38.1/debian/rules       2022-09-21 20:41:47.000000000 +0000
+++ syslog-ng-3.38.1/debian/rules       2024-02-04 21:31:26.000000000 +0000
@@ -175,7 +175,7 @@
 # shlibs file for that, shall we?
 #
 override_dh_makeshlibs:
-       dh_makeshlibs -n -Xusr/lib/syslog-ng/${UMAJOR}
+       dh_makeshlibs -n -Xusr/lib/syslog-ng/${UMAJOR} -V 'syslog-ng-core (= 
$${binary:Version})'
 
 # Since syslog-ng depends on all the modules, and syslog-ng-core
 # suggests the same set, and modules can come and go as new versions

--- End Message ---
--- Begin Message ---
Source: syslog-ng
Source-Version: 4.4.0-1
Done: SZALAY Attila <s...@debian.org>

We believe that the bug you reported is fixed in the latest version of
syslog-ng, 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 1063...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
SZALAY Attila <s...@debian.org> (supplier of updated syslog-ng 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: Sat, 04 May 2024 16:23:54 +0100
Source: syslog-ng
Architecture: source
Version: 4.4.0-1
Distribution: unstable
Urgency: medium
Maintainer: syslog-ng maintainers 
<syslog-ng-maintain...@alioth-lists.debian.net>
Changed-By: SZALAY Attila <s...@debian.org>
Closes: 1063077
Changes:
 syslog-ng (4.4.0-1) unstable; urgency=medium
 .
   [ Attila Szalay ]
   * New upstream version 4.4.0
 .
   [ SZALAY Attila ]
   * Make plugin dependencies binNMU safe.
     Thanks to Steve Langasek <vor...@debian.org> whose patch was the base
     (Closes: #1063077)
   * Fix install exclude list
Checksums-Sha1:
 c94d6c9f5c35318a2d39de4980dcb297362fc84b 4325 syslog-ng_4.4.0-1.dsc
 2f4b2516ef324c78bace04f39fed4c2ce5daa1f6 2097686 syslog-ng_4.4.0.orig.tar.gz
 a86521e76174823ec19ec11d7ada1bb823a79a62 42144 syslog-ng_4.4.0-1.debian.tar.xz
 26d862b93066dabb7dbebe6ed74cced4242f61d1 10332 
syslog-ng_4.4.0-1_source.buildinfo
Checksums-Sha256:
 2f7b76becea9071c104e4b655d0a903c08e0791220f2d0d27797f6e2f069c4a0 4325 
syslog-ng_4.4.0-1.dsc
 48cb3b725493483cc878e0c66a467c4e4859b52dc28c646024503b5edd277c7b 2097686 
syslog-ng_4.4.0.orig.tar.gz
 84727fa2c48acc6af5b5f2fd2558928223ddbf7ef5a0f7ff85511a7643eb261b 42144 
syslog-ng_4.4.0-1.debian.tar.xz
 0d78a117f0232492c98f2c80d644e1d43ac48d0e8452ec0cc7d6e3c5cb3234f2 10332 
syslog-ng_4.4.0-1_source.buildinfo
Files:
 52d7e583bd3db181ec1f9f9694f78f3e 4325 admin optional syslog-ng_4.4.0-1.dsc
 823f4de03e02ac7219dd1e0dbaa7e991 2097686 admin optional 
syslog-ng_4.4.0.orig.tar.gz
 5d961b80ba741d315db3afbf866d74bb 42144 admin optional 
syslog-ng_4.4.0-1.debian.tar.xz
 c6f2604dfdbcb80040b72959283dd7ed 10332 admin optional 
syslog-ng_4.4.0-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCgAuFiEEDLxdlTMbVcF2xVjk+A0hGpn97vgFAmY2ceMQHHNhc2FAZGVi
aWFuLm9yZwAKCRD4DSEamf3u+Lx6EACOe1yI9JPKdP43CGb48qQM5vbQ8QzWabvK
R6rd9NqI8Gj5jOEwKlxl6Rc9uIE2wpvN4rwRnpmW1ay0aFLcVaexm81Ic6hTGMlU
b2GcpurG2//UCa6hinfY5BbiuXEoDACGQMnnLosQCLNIYC8oWkcKWXT/K6WWaMFn
5f8oNg//jfy1c7W4fehbvXCXWS3Qyx5OUKNF5l3YshHwdIcZv4MXm+CP9i8oM8YU
my4pnlENtMW5P1Djq/D3+rvc0RoId041QzKx34Ao/1cwbkX7ihL1bBNEjpmOwW6b
spn5WhhtypVw+yaZC6AhHGgc5+WsY4vuaTpcTFSdMhktwuHrkEepHmW28OFKViKU
mmIlCvBuq+W2MRnRuE5uePfRIKzyu/y/2Cya1VDYow8JK/bXsn0v0UuvNbh8N7C5
pTsSXz32MdDTNf403tdWIZnoFibVvhZzECDuLuIGI089s0TKZ9P7IPAsNC+eAc+X
7LokSLX6fWx3Kzx6pgHTuYpaMTo+7DKFllyidmo2NiJzw1rtqIWdsaA3dkS/62ho
t6bLDOkxDdIiVNF0YsVhkfCTI3TN0J69T+HcyklH8X1iFq4n/G8i2beOZUZRsjvQ
lh+yPQ0QefBxWxbFtlRxjJ/IKZ85P+BO5z9QhbbS+TG8wmrPOLX9fHvVUVriVxgG
NZP8jmzD1Q==
=a4F+
-----END PGP SIGNATURE-----

Attachment: pgpDFZM5K63xb.pgp
Description: PGP signature


--- End Message ---

Reply via email to