Control: tags -1 patch

On Thu, 26 Feb 2026 16:09:07 +0000 Luca Boccassi <[email protected]> wrote:
> Source: fetchmail
> Severity: serious
> Justification: blocks other packages from migrating
> Affects: systemd
>
> Dear Maintainer(s),
>
> The service autopkgtest fails with systemd v260 as sysv scripts
> support has been dropped:
>
> https://sources.debian.org/src/fetchmail/6.6.2-2/debian/tests/service
>
> 119s autopkgtest [09:55:08]: test service: [-----------------------
> 119s Checking fetchmail service is enabled
> 119s not-found
> 119s autopkgtest [09:55:08]: test service: -----------------------]
>
> https://ci.debian.net/packages/f/fetchmail/testing/amd64/68983048/#S13
>
> Please adjust the test so that it doesn't fail when sysv scripts are
> not supported. Thanks!

Here's a debdiff that removes the test, given it depends on systemd
and uses systemctl, but also depends on the init script, which is a
combination that no longer works:

diff -Nru fetchmail-6.6.2/debian/changelog fetchmail-6.6.2/debian/changelog
--- fetchmail-6.6.2/debian/changelog 2026-02-07 18:13:27.000000000 +0000
+++ fetchmail-6.6.2/debian/changelog 2026-02-27 00:04:14.000000000 +0000
@@ -1,3 +1,11 @@
+fetchmail (6.6.2-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Remove 'service' autopkgtest, as systemd no longer supports init scripts
+    (Closes: #1129075)
+
+ -- Luca Boccassi <[email protected]>  Fri, 27 Feb 2026 00:04:14 +0000
+
 fetchmail (6.6.2-2) unstable; urgency=medium

   * Backport upstream fix for autopkgtest failure with Python 3.14
diff -Nru fetchmail-6.6.2/debian/tests/control
fetchmail-6.6.2/debian/tests/control
--- fetchmail-6.6.2/debian/tests/control 2025-10-06 18:43:30.000000000 +0100
+++ fetchmail-6.6.2/debian/tests/control 2026-02-27 00:03:53.000000000 +0000
@@ -6,10 +6,6 @@
 Depends: @
 Restrictions:

-Tests: service
-Depends: @, systemd-sysv
-Restrictions: needs-root, allow-stderr
-
 Tests: operation
 Depends: @, sudo, python3
 Restrictions: needs-root, allow-stderr
diff -Nru fetchmail-6.6.2/debian/tests/service
fetchmail-6.6.2/debian/tests/service
--- fetchmail-6.6.2/debian/tests/service 2020-02-15 19:08:47.000000000 +0000
+++ fetchmail-6.6.2/debian/tests/service 1970-01-01 01:00:00.000000000 +0100
@@ -1,13 +0,0 @@
-#!/bin/sh
-
-###############################
-### Check fetchmail service ###
-###############################
-
-set -e
-
-echo "Checking fetchmail service is enabled"
-systemctl is-enabled fetchmail.service
-
-echo "Checking fetchmail service is active"
-systemctl is-active fetchmail.service

Reply via email to