Package: release.debian.org
Severity: normal
Tags: buster
User: release.debian....@packages.debian.org
Usertags: pu

[ Reason ]
The /etc/cron.daily/cyrus-imapd cron script is not executed because the
Cyrus version check does not match the cyrus version installed on Debian
Buster

[ Impact ]
Dala loss risk

[ Tests ]
No test added

[ Risks ]
Trivial patch

[ 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 (see #935431)

[ Changes ]
Regex fix

Cheers,
Xavier
diff --git a/debian/changelog b/debian/changelog
index c96adf9c..240d1f4d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+cyrus-imapd (3.0.8-6+deb10u5) buster; urgency=medium
+
+  * Fix cron script (Closes: #980240)
+
+ -- Xavier Guimard <y...@debian.org>  Sat, 16 Jan 2021 21:34:16 +0100
+
 cyrus-imapd (3.0.8-6+deb10u4) buster; urgency=medium
 
   * Add BACKUP type to cyrus-upgrade-db (Closes: #930764)
diff --git a/debian/cyrus-common.cyrus-imapd.cron.daily 
b/debian/cyrus-common.cyrus-imapd.cron.daily
index eca5ffe5..c92eca15 100644
--- a/debian/cyrus-common.cyrus-imapd.cron.daily
+++ b/debian/cyrus-common.cyrus-imapd.cron.daily
@@ -33,7 +33,7 @@ umask 022
 && [ -f /usr/lib/cyrus/cyrus-hardwired-config.txt ] \
 || exit 0
 # Check if Cyrus is installed (vs. removed but not purged)
-grep -qE '^PACKAGE_VERSION[[:blank:]]+[30][.][245]' \
+grep -qE '^PACKAGE_VERSION[[:blank:]]+3.0[.][2458]' \
        /usr/lib/cyrus/cyrus-hardwired-config.txt >/dev/null 2>&1 || exit 0
 
 # 1. backup mailbox database

Reply via email to