Package: release.debian.org
Severity: normal
Tags: bookworm
User: release.debian@packages.debian.org
Usertags: pu
X-Debbugs-Cc: sitesumm...@packages.debian.org, debian-...@lists.debian.org
Control: affects -1 + src:sitesummary
A small adjustment had to be made to sitesummary for Debian Edu.
[ Reason ]
On systems running systemd it was discovered that sitesummary-client's
CRON jobs where pausing all other CRON job executions when triggered via
anacron. To avoid this, sitesummary-client needs to use the newly introduced
systemd-timerd rules instead of CRON.
[ Impact ]
CRON job execution being paused at boot for max 1h.
[ Tests ]
Manually on Debian Edu 12 systems.
[ Risks ]
Only for Debian Edu users mostly. Only a few other installations seem to
use sitesummary.
[ 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 ]
+sitesummary (0.1.56~deb12u2) bookworm; urgency=medium
+
+ [ Guido Berhoerster ]
+ * Use systemd timer for running sitesummary-client if available.
+(Cherry-picked from release 0.1.58).
+
+ -- Mike Gabriel Sun, 19 Nov 2023 10:38:35 +0100
[ Other info ]
This upload to bookworm is required for the Debian Edu 12 release. Thanks.
diff -Nru sitesummary-0.1.56~deb12u1/debian/changelog
sitesummary-0.1.56~deb12u2/debian/changelog
--- sitesummary-0.1.56~deb12u1/debian/changelog 2023-08-28 16:31:34.0
+0200
+++ sitesummary-0.1.56~deb12u2/debian/changelog 2023-11-19 10:38:35.0
+0100
@@ -1,3 +1,11 @@
+sitesummary (0.1.56~deb12u2) bookworm; urgency=medium
+
+ [ Guido Berhoerster ]
+ * Use systemd timer for running sitesummary-client if available.
+(Cherry-picked from release 0.1.58).
+
+ -- Mike Gabriel Sun, 19 Nov 2023 10:38:35 +0100
+
sitesummary (0.1.56~deb12u1) bookworm; urgency=medium
* Release to bookworm as 0.1.56~deb12u1.
diff -Nru sitesummary-0.1.56~deb12u1/debian/sitesummary-client.cron.daily
sitesummary-0.1.56~deb12u2/debian/sitesummary-client.cron.daily
--- sitesummary-0.1.56~deb12u1/debian/sitesummary-client.cron.daily
2022-02-11 22:11:15.0 +0100
+++ sitesummary-0.1.56~deb12u2/debian/sitesummary-client.cron.daily
2023-11-19 10:37:55.0 +0100
@@ -2,7 +2,10 @@
#
# Author: Petter Reinholdtsen
-[ -x /usr/sbin/sitesummary-client ] || exit 0
+if [ ! -x /usr/sbin/sitesummary-client ] || \
+[ -d /run/systemd/system ]; then
+exit 0
+fi
# Read the package default. Make sure this is identical to the code
# in sitesummar-client
diff -Nru
sitesummary-0.1.56~deb12u1/debian/sitesummary-client.sitesummary-client.timer
sitesummary-0.1.56~deb12u2/debian/sitesummary-client.sitesummary-client.timer
---
sitesummary-0.1.56~deb12u1/debian/sitesummary-client.sitesummary-client.timer
2023-08-23 13:01:58.0 +0200
+++
sitesummary-0.1.56~deb12u2/debian/sitesummary-client.sitesummary-client.timer
2023-11-19 10:37:55.0 +0100
@@ -3,6 +3,9 @@
[Timer]
OnBootSec=5min
+OnCalendar=*-*-* 00:00:00
+RandomizedDelaySec=1h
+FixedRandomDelay=true
[Install]
WantedBy=timers.target