Bug#1005355: bullseye-pu: package ldap2zone/0.2-11+deb11u1

Mike Gabriel sunweaver at debian.org
Fri Feb 11 21:07:23 GMT 2022


Package: release.debian.org
Severity: normal
Tags: bullseye
User: release.debian.org at packages.debian.org
Usertags: pu
X-Debbugs-Cc: debian-edu-pkg-team at alioth-lists.debian.net, debian-edu at lists.debian.org

[ Reason ]

In Debian Edu, the ldap2zone package is used and called via CRON hourly.
When using deprecated tempfile command a warning gets generated to stderr
that ends up in the CRON mail. Thus, an hourly mail on the internal MTA
(root at postoffice.intern) for a CRON job that acutally succeeds.

[ Impact ]
Noisy root mailbox on Debian Edu mainservers.

[ Tests ]
Manual tests on a deployed school network.

[ Risks ]
None, really.

[ Checklist ]
  [x] *all* changes are documented in the d/changelog
  [x] I reviewed all changes and I approve them
  [x] attach debdiff against the package in (old)stable
  [x] the issue is verified as fixed in unstable

[ Changes ]

+  * debian/patches:
+    + Update 0004_revert-broken-zones.patch. Stop using deprecated $(tempfile)
+      command. (Closes: #1005354)

[ Other info ]
None.
-------------- next part --------------
diff -Nru ldap2zone-0.2/debian/changelog ldap2zone-0.2/debian/changelog
--- ldap2zone-0.2/debian/changelog	2018-08-14 21:43:26.000000000 +0200
+++ ldap2zone-0.2/debian/changelog	2022-02-11 21:49:57.000000000 +0100
@@ -1,3 +1,11 @@
+ldap2zone (0.2-11+deb11u1) bullseye; urgency=medium
+
+  * debian/patches:
+    + Update 0004_revert-broken-zones.patch. Stop using deprecated $(tempfile)
+      command. (Closes: #1005354)
+
+ -- Mike Gabriel <sunweaver at debian.org>  Fri, 11 Feb 2022 21:49:57 +0100
+
 ldap2zone (0.2-11) unstable; urgency=medium
 
   * debian/patches:
diff -Nru ldap2zone-0.2/debian/patches/0004_revert-broken-zones.patch ldap2zone-0.2/debian/patches/0004_revert-broken-zones.patch
--- ldap2zone-0.2/debian/patches/0004_revert-broken-zones.patch	2016-04-18 01:15:32.000000000 +0200
+++ ldap2zone-0.2/debian/patches/0004_revert-broken-zones.patch	2022-02-11 21:48:41.000000000 +0100
@@ -16,7 +16,7 @@
 -	if $ldap2zone $domain $LDAP_URI $TTL > /tmp/$domain; then
 -		lines=$(cat /tmp/$domain | wc -l)
 -		[ $lines -gt 1 ] && mv /tmp/$domain $BIND_DATA/${PREFIX}${domain}
-+	TMPFILE=$(tempfile)
++	TMPFILE=$(mktemp)
 +	CURRENT=$BIND_DATA/${PREFIX}${domain}
 +	OLD=$BIND_DATA/${PREFIX}${domain}.old-$$
 +	if $ldap2zone $domain $LDAP_URI $TTL > $TMPFILE; then


More information about the Debian-edu-pkg-team mailing list