#1112281 Breaks zsnapd ZFS network backups - logging throws ValueError: embeded null character exceptions

#1112281#5
Date:
2025-08-28 07:47:03 UTC
From:
To:
Lost VM backups becuause of this bug.  Also affects zsnapd package.
Upstream
1.5.7 fixes this bug, and backups work...

Python 13 syslog.syslog() throws ValueError exceptions when the log messages
usually created by this package are sent.  This broke the secure ssh
transfer
set up via zsnapd-rcmd sshd received command regexp filtering on the backup
target, which uses root ssh access.  Fortuneately if failed securely, but I
lost a lot of work as ZFS backups were not functioning.

#1112281#10
Date:
2025-08-28 19:21:08 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
python-magcode-core, 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 1112281@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthew Grant <matt@mattgrant.net.nz> (supplier of updated python-magcode-core 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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Fri, 29 Aug 2025 06:43:44 +1200
Source: python-magcode-core
Built-For-Profiles: nocheck debian trixie
Architecture: source
Version: 1.5.7-1
Distribution: unstable
Urgency: medium
Maintainer: Matthew Grant <matt@mattgrant.net.nz>
Changed-By: Matthew Grant <matt@mattgrant.net.nz>
Closes: 1112281
Changes:
 python-magcode-core (1.5.7-1) unstable; urgency=medium
 .
   * Fix null terminated syslog messages which Python 13
     syslog.syslog() won't accept.  A ValueError was thrown about
     embedded Null chars. (Closes: #1112281)
Checksums-Sha1:
 5434c5b2b127fdcbdb53ba276239e81b4ba02bbf 2043 python-magcode-core_1.5.7-1.dsc
 c26a1a8495fb4317fcf34c2c30718ee540b5477b 50231 python-magcode-core_1.5.7.orig.tar.gz
 cba21f19311550a3ac9844b5c2a017ebbdfaa450 5024 python-magcode-core_1.5.7-1.debian.tar.xz
 66fce4a09768e4d0025aa5b9df98f20f5dab23e4 6901 python-magcode-core_1.5.7-1_amd64.buildinfo
Checksums-Sha256:
 131ff63774b17529c3fcf82dda12065605de4710c317ef621f270dcb73666058 2043 python-magcode-core_1.5.7-1.dsc
 c08c5239a3035c755003a709ff51c9ba8d4b720c28d1568b65219e5358f04eb9 50231 python-magcode-core_1.5.7.orig.tar.gz
 bc4754e819260a502a8cfef2ab00f4227bc300ec21263322a7594d199d9fe2c6 5024 python-magcode-core_1.5.7-1.debian.tar.xz
 00d742c45bf570efba7389330580c20d8cf4a93fc1324bffa3fc3b7ec54af969 6901 python-magcode-core_1.5.7-1_amd64.buildinfo
Files:
 b4c6198725d2b1ea7cfcf04dbc9c7264 2043 python optional python-magcode-core_1.5.7-1.dsc
 af83c604d8c30d02cc649736821c66bd 50231 python optional python-magcode-core_1.5.7.orig.tar.gz
 fe0e4e6adbe7405d9fc564f7ac20edb9 5024 python optional python-magcode-core_1.5.7-1.debian.tar.xz
 dd33cc7403c6df4f6510135fac9224cd 6901 python optional python-magcode-core_1.5.7-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJKBAEBCgA0FiEEwaHD8RNdvgk2cFzjxE5f/BM1w6IFAmiwppUWHG1hdHRAbWF0
dGdyYW50Lm5ldC5uegAKCRDETl/8EzXDotCjD/9a+Hz949kkwXeZlpQp0Z9+CBr0
YJlZ/kiukazO2Le3jiq8DCzQ9eRhEeCK4L46/ho/Zcu5esDw1pRnmWwrEDiL1hWq
Gij9avVH4Bx33SDXYAdGgiKhKGdLkKE9FbEwm4nuNk8m8dx/oyf+mAfQIbvjcHDM
SvUayTOHLpyMH/2N41HFmwtNNq70Bspqn5njGJfhafBaYMst02FOdtCJHlaFGRxx
heCoJiYG8xlT8vkyZsi3xmZ+I2UrPPFYGNY2JnvZtVdD+tR+a6Ley83l76Qlfoso
Q6//2tV5lxDIlTDxe60v1TrWUWUSp9GBFst1jnogmoewJa36U4VBO5pPM7D7lZyE
lEWgNBaFn0Fnn2NwPzVIj1oVU7S1L4qCZIjAMVMP5P0xz8OuojgE8JBI2BbcyPiZ
X0P/5olEifnjOaa5A7CXwjBzhiMQb4ehKhyiF05EE2JN+W4gJnYIyqxi4KqpA9DJ
yKTaGfBMd7WaIwX6eWJHbwmobWB7wAzSZ29/T+UNmpH+gE5879ZfTJaeUv8kGnsj
Fvazlf3YSfFrdDxD2BX6O+z0XxPZsUGkoOmroAnPWIPKllR9XuaH2qae9NjHgEZo
orMhEPk/dw7zMxVvSY4fQe8tR9gOF/Mrie7/KeWo9x+hhT/DibABPCfM7Xm0zLLN
tr3W9D5p3DynAiTf1w==
=aar1
-----END PGP SIGNATURE-----