#1143636 cyrus-common: ships /etc/cron.daily/cyrus-imapd but declares no dependency on a cron implementation

Package:
cyrus-common
Source:
cyrus-common
Description:
Cyrus mail system - common files
Submitter:
Edmund Lodewijks
Date:
2026-08-26 11:51:02 UTC
Severity:
normal
Tags:
#1143636#5
Date:
2026-08-05 09:05:50 UTC
From:
To:
Dear Maintainer,

cyrus-common installs /etc/cron.daily/cyrus-imapd (via dh_installcron
--name=cyrus-imapd, from debian/cyrus-common.cyrus-imapd.cron.daily) but
debian/control declares no dependency on anything that provides cron.

On a system without a cron implementation the script is installed but never
executed, so the daily chk_cyrus consistency check silently does not run.

Suggested fix, in cyrus-common:

    Recommends: cron | cron-daemon

Recommends, rather than Depends, seems right: the package remains functional
without cron, it just loses a periodic check.

Suggested fix:

This change is tested against 3.12.3-2:
--- a/debian/control
+++ b/debian/control
@@ -60,6 +60,7 @@ Depends: db-util
  , libsasl2-modules
  , netbase
 Recommends: cyrus-imapd | cyrus-pop3d | cyrus-murder | cyrus-nntpd | cyrus-admin | cyrus-caldav
+ , cron | cron-daemon
 Suggests: apt-listchanges
  , cyrus-admin
  , cyrus-caldav

There is also a MR on Salsa: https://salsa.debian.org/debian/cyrus-imapd/-/merge_requests/23

Kind regards,

    Edmund Lodewijks

#1143636#10
Date:
2026-08-26 11:49:44 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
cyrus-imapd, 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 1143636@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Xavier Guimard <yadd@debian.org> (supplier of updated cyrus-imapd 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: Wed, 26 Aug 2026 13:33:54 +0200
Source: cyrus-imapd
Architecture: source
Version: 3.12.3-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Cyrus Team <team+cyrus@tracker.debian.org>
Changed-By: Xavier Guimard <yadd@debian.org>
Closes: 1143636 1145447
Changes:
 cyrus-imapd (3.12.3-4) unstable; urgency=medium
 .
   [ Edmund Lodewijks ]
   * lintian:
     - testsuite-depends-on-obsolete-package
     - orig-tarball-missing-upstream-signature
     - national-encoding
     - no-manual-page cyrdeliver cyrmaster
   * Drop unused autopkgtest dependency: texinfo
   * Bump Standards-Version to 4.7.4 (no changes needed)
   * Recommend cron | cron-daemon in cyrus-common (Closes: #1143636)
   * d/tests: run Cassandane from the source tree (Closes: #1145447)
Checksums-Sha1:
 7ae0e561614b2630d6a31b7317d37c30e34e28ba 5420 cyrus-imapd_3.12.3-4.dsc
 796429076a533be186b5af260506cd378e18de27 88772 cyrus-imapd_3.12.3-4.debian.tar.xz
Checksums-Sha256:
 747b711b0177588d9a8c2545999254728bc5f75b62bb39f678269fea12b0defb 5420 cyrus-imapd_3.12.3-4.dsc
 0a8a7a7e062415537fe13471c4e24503364e7355016833cc2ba98568c83f9064 88772 cyrus-imapd_3.12.3-4.debian.tar.xz
Files:
 a1a57c83db88895d1938450733726a06 5420 mail optional cyrus-imapd_3.12.3-4.dsc
 f2942a223656364d74cde9355c060790 88772 mail optional cyrus-imapd_3.12.3-4.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEAN/li4tVV3nRAF7J9tdMp8mZ7ukFAmqO0AIACgkQ9tdMp8mZ
7unyKBAAjuhoM8+kom1GUj2rVndh+kk/2+Hq4+b1I1WhS6JLVU1/dD/a05MlTsS5
jE7HopTiZ3B1yTNL/pTrBTQlgp+ZmEaPCs4RZzh7wGbUpFsk34Vh6zFslb9xnacQ
/u2yNRR5CX2rlnYVt87elMK/rMXnbOXUBviYJeXyWq+BrRf3O54kBzaIjW8qNT3a
hCmBZihkL2DDy3QsXbmlIMaGjQfKScmdckHiu2Tv9B4bWTS8ML3YsMpN+OJn/wN/
vsQhxlQzhLNdZyk2GkNbud11PmvnochdZA+dtzRkAKZgUZkA8nxtUybFzWeLRTJf
9zcJw9PihY0QpQUvv1qEyzd3yVsiT+cMeyWWnnoBgCFNHJcnZSqMcDI6hYpdqApE
OxlFvlJVLbE1ARVgfGJoRtMSsYR11kdcsxDzTcHVDDkBAEHU+cMQqQYR7oWgvgjr
1t9se7PAOnszqOi/TkrPrEtOSlsdM4OA5NHaA9tep1+KPvmhFxsYTEz7Y1rGV6RN
YlrnpjC3kMgAljy+2itpgwKI6rfeMRBiqWUn84cCUqY0BZqYtZE+ivlvGx3dnlkv
tFwt0XeM21b+kKLb5GgVbzhvNd/t824ajmgP9X211LewqFnVC8Y4W3adhU2jCLWQ
o53U8z5lxcNsO33rQyh8GO9uFvokpoBLlohGo3uVIqCtPu0UQRE=
=/zh4
-----END PGP SIGNATURE-----