[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1034639: unblock: spamassassin/4.0.0-5



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock
X-Debbugs-Cc: spamassassin@packages.debian.org
Control: affects -1 + src:spamassassin

Please unblock package spamassassin

This is a targeted change that addresses #1034347, in which spamd can
sometimes be started with incorrect DNS server configuration.  This happens
because spamd startup happened too early in the boot process, and services
responsible for populating resolv.conf had not necessarily run yet.  The
solution was to order spamd.service After=network-online.target, as shown in
the attached debdiff.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1034347

[ Reason ]
Spamd needs a valid DNS configuration for complete operation.

[ Impact ]
Without working DNS, spamd is unable to make use of many of its core mail
validation services, which diminishes its usefulness.

[ Tests ]
Manual validation by myself and the bug submitter.

[ Risks ]
It's a trivial change to the boot order and should not impact anything that
depends on spamd.

[ 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 testing

unblock spamassassin/4.0.0-5
diff -Nru spamassassin-4.0.0/debian/changelog spamassassin-4.0.0/debian/changelog
--- spamassassin-4.0.0/debian/changelog	2023-01-06 13:05:09.000000000 -0800
+++ spamassassin-4.0.0/debian/changelog	2023-04-16 13:28:05.000000000 -0700
@@ -1,3 +1,9 @@
+spamassassin (4.0.0-5) unstable; urgency=medium
+
+  * Update spamd.service to order after network-online.target (Closes: #1034347)
+
+ -- Noah Meyerhans <noahm@debian.org>  Sun, 16 Apr 2023 13:28:05 -0700
+
 spamassassin (4.0.0-4) unstable; urgency=medium
 
   * Revert "drop unused params from Makefile.PL"
diff -Nru spamassassin-4.0.0/debian/spamd.service spamassassin-4.0.0/debian/spamd.service
--- spamassassin-4.0.0/debian/spamd.service	2023-01-06 12:32:43.000000000 -0800
+++ spamassassin-4.0.0/debian/spamd.service	2023-04-16 13:04:49.000000000 -0700
@@ -1,6 +1,6 @@
 [Unit]
 Description=Perl-based spam filter using text analysis
-After=network.target
+After=syslog.target network-online.target
 
 [Service]
 Type=simple

Reply to: