Bug#813071: jessie-pu: package amavisd-new/1:2.10.1-2
Package: release.debian.org
Severity: normal
Tags: jessie
User: release.debian.org@packages.debian.org
Usertags: pu
The version of amavisd-new Debian I just uploaded to unstable has a fix
that I believe resolves #812325 which can prevent amavisd-new from
failing to detect viruses correctly.
Below is the entire diff between the Jessie version and the unstable
version. The change in debian/README.Debian isn't strictly required,
however I don't think it is going to hurt.
The Debian security team felt this didn't warrant a security update and
suggested we contact the release team instead.
Would the release team consider this suitable for a future point release
of Debian stable?
diff --git a/debian/README.Debian b/debian/README.Debian
index 7a5e2e3..da4a243 100644
--- a/debian/README.Debian
+++ b/debian/README.Debian
@@ -86,6 +86,13 @@ which causes problems for amavisd-new when activated. The amavisd-new package
includes cron jobs that take care of syncing and expiring the token database
frequently.
+Quarantine Directory
+--------------------
+
+By default amavis saves banned mail (like virus or banned attachments)
+for later investigation in /var/lib/amavis/virusmail. You should give an
+eye on the directory and clean it up regulary. To prevent accidental loss
+of legitimate mail, this isn't done by the package.
Debugging
---------
diff --git a/debian/amavisd-new.amavis-mc.init b/debian/amavisd-new.amavis-mc.init
index 8de156e..eb7fb17 100644
--- a/debian/amavisd-new.amavis-mc.init
+++ b/debian/amavisd-new.amavis-mc.init
@@ -62,6 +62,7 @@ do_start()
rm -f $PIDFILE
fi
fi
+ export LC_ALL; LC_ALL=C
start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- \
$DAEMON_ARGS \
|| return 2
diff --git a/debian/amavisd-new.amavis.init b/debian/amavisd-new.amavis.init
index f36ed0b..7890ce7 100644
--- a/debian/amavisd-new.amavis.init
+++ b/debian/amavisd-new.amavis.init
@@ -90,6 +90,7 @@ case "$1" in
echo -n "Starting $DESC: "
fixdirs
check_noncompatible_upgrade
+ export LC_ALL; LC_ALL=C
if start-stop-daemon ${START} -- ${PARAMS} start >/dev/null ; then
echo "amavisd-new."
else
diff --git a/debian/changelog b/debian/changelog
index 4efc46e..5f67a17 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+amavisd-new (1:2.10.1-2) unstable; urgency=medium
+
+ * Set LC_ALL before running daemon. Closes: #812325.
+
+ -- Brian May <bam@debian.org> Fri, 29 Jan 2016 11:00:58 +1100
+
amavisd-new (1:2.10.1-1) unstable; urgency=medium
* [486e81e] Update watchfile
-- System Information:
Debian Release: 8.3
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.2.0-0.bpo.1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Reply to: