Your message dated Sun, 10 Aug 2025 10:07:08 +0000
with message-id <[email protected]>
and subject line Bug#1079181: fixed in debhelper 13.25
has caused the Debian Bug report #1079181,
regarding debhelper: dh_installsystemd with --no-start leave behind failed
.timer units
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1079181: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1079181
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: debhelper
Version: 13.19
Severity: normal
Hey.
This may be related to #836317 (or the same than it), but AFAIU that is about
services and there wasn't a clear conclusion whether these should be stopped.
I have the following:
- a debian/rules with:
...
override_dh_installsystemd:
dh_installsystemd --no-enable --no-start --no-stop-on-upgrade
dh_installsystemd --no-enable --no-start --no-stop-on-upgrade
--name=prometheus-node-exporter-smartraid
- the following units in debian/
prometheus-node-exporter-collector-smartraid.prometheus-node-exporter-smartraid.service
prometheus-node-exporter-collector-smartraid.prometheus-node-exporter-smartraid.timer
prometheus-smartraid-exporter.service
- two packages being built
As soon as I use --no-start, there no longer is a prerm with the following
created:
#!/bin/sh
set -e
# Automatically added by dh_installsystemd/13.19
if [ -z "${DPKG_ROOT:-}" ] && [ "$1" = remove ] && [ -d /run/systemd/system ]
; then
deb-systemd-invoke stop 'prometheus-node-exporter-smartraid.service'
'prometheus-node-exporter-smartraid.timer' >/dev/null || true
fi
# End automatically added section
This in turn causes the the timer to not be stopped before the units are being
removed,
which in turn leads to a remnant of:
$ systemctl status prometheus-node-exporter-smartraid.timer
× prometheus-node-exporter-smartraid.timer
Loaded: not-found (Reason: Unit prometheus-node-exporter-smartraid.timer
not found.)
Active: failed (Result: resources)
Trigger: n/a
Aug 21 01:16:19 lcg-lrz-dc40 systemd[1]: Started
prometheus-node-exporter-smartraid.timer - periodic SmartRAID metric collection
for Prometheus node exporter’s textfile collector.
Aug 21 01:20:31 lcg-lrz-dc40 systemd[1]:
prometheus-node-exporter-smartraid.timer: Unit to trigger vanished.
Aug 21 01:20:31 lcg-lrz-dc40 systemd[1]:
prometheus-node-exporter-smartraid.timer: Failed with result 'resources'.
This is not only a bit annyoing (e.g. if one uses a global OnFailure= with mail
notification
about failed units, one gets some false positive message), but it also doesn't
clean up
automatically (requires systemctl reset-failed).
Even re-installing the package then "fails", in that the timer won't start
again, even if one
does systemctl start prometheus-node-exporter-smartraid.timer (unless of course
one resets
the failed ones first).
So it may be just wishlist for #836317, but I think it is a bug in this case
Thanks,
Chris.
-- System Information:
Debian Release: trixie/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.10.4-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_DE.UTF-8, LC_CTYPE=en_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages debhelper depends on:
ii autotools-dev 20220109.1
ii dh-autoreconf 20
ii dh-strip-nondeterminism 1.14.0-1
ii dpkg 1.22.11
ii dpkg-dev 1.22.11
ii dwz 0.15-1+b1
ii file 1:5.45-3
ii libdebhelper-perl 13.19
ii libdpkg-perl 1.22.11
ii man-db 2.12.1-3
ii perl 5.38.2-5
ii po-debconf 1.0.21+nmu1
debhelper recommends no packages.
Versions of packages debhelper suggests:
pn dh-make <none>
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: debhelper
Source-Version: 13.25
Done: Niels Thykier <[email protected]>
We believe that the bug you reported is fixed in the latest version of
debhelper, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Niels Thykier <[email protected]> (supplier of updated debhelper 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 10 Aug 2025 06:51:00 +0000
Source: debhelper
Architecture: source
Version: 13.25
Distribution: unstable
Urgency: medium
Maintainer: Debhelper Maintainers <[email protected]>
Changed-By: Niels Thykier <[email protected]>
Closes: 638517 1016563 1079181 1107373
Changes:
debhelper (13.25) unstable; urgency=medium
.
[ Niels Thykier ]
* debhelper-documentation.json: Correct command for `.ucf` files
* dh: Support `DH_OVERRIDDEN_COMMAND` variable for `override` targets
for cases where the original command is useful as a base.
* debhelper.pod: Update description on automated dependencies
* dh_gencontrol: Fix off-by-one compat guard affecting compat 14.
* In compat 14: Add `Commands` field to binaries to aid `command-not-found`
(Closes: #638517)
* dh_assistant: Explicitly use `JSON::PP::{true,false}`
* dh_assistant: Provide a compat upgrade checklist when upgrading from
compat 7 and on. This can be done via the command
`dh_assistant compat-upgrade-checklist`.
* No longer run `dh_dwz` by default in compat 14+ (Closes: 1016563)
.
[ Andrea Pappacoda ]
* dh_installmodules: install .modprobe files in /usr/lib with compat 14+
(Closes: #1107373)
.
[ Alexandre Detiste ]
* dh_assistant: Improve wording
.
[ Noah Meyerhans ]
* dh_installsystemd: Always stop the service on remove (Closes: #1079181)
Checksums-Sha1:
f28b35ae7db696eebc226e892c215528b4297c19 2050 debhelper_13.25.dsc
9084d66e994d5dc0f8f123239f35ce00b003ca43 631660 debhelper_13.25.tar.xz
f9bef17cf1145fbfeee0267af6b26f22891c3195 1589348 debhelper_13.25.git.tar.xz
086f01639f4a5948e2fd821a2915f99b864d35d9 18054 debhelper_13.25_source.buildinfo
Checksums-Sha256:
3b70c9fd8daf3a17f1fb9f5c692a42abc89af6d2594e92593bc2b8e1cee88842 2050
debhelper_13.25.dsc
84a768a312a4d2fac9add43be8b2fa6c92ca340b03ec8c5a386653d0a96ce425 631660
debhelper_13.25.tar.xz
edf010c967fb177bfefa4f4e9d53a30ee0bad743115e7bdb60bfd326ada87eb6 1589348
debhelper_13.25.git.tar.xz
525b9ebe98703d9322cea5f90c4c3909aaf1eb6ad4f90f6d6bee18e6a6960bb8 18054
debhelper_13.25_source.buildinfo
Files:
1c281d7ce62915d8c295509050f099c2 2050 devel optional debhelper_13.25.dsc
226d4b54bfd04cf7790d66230ecd12e1 631660 devel optional debhelper_13.25.tar.xz
6eef8a0447c0846049d44d5371531482 1589348 devel optional
debhelper_13.25.git.tar.xz
a4f2f953ccf34d23fae7f81b99f311b4 18054 devel optional
debhelper_13.25_source.buildinfo
Git-Tag-Info: tag=03ce4d9b6463d493232f55a2e5add58e11da57e1
fp=f5e7199aef5e5c67e555873f740d68888365d289
Git-Tag-Tagger: Niels Thykier <[email protected]>
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmiYat0ACgkQYG0ITkaD
wHkDnBAAoZCUK1zuAplsIVDknq2MGSg9EE78JcKMwdbsQcMwhUWe5i3GobuqbMxT
9kKm8dfprI2G/BIZEDVKm9lEFf7vSYZ+feTXWwR+teBw9h6FwwbYToPljInszYEM
UkclAQbk0BqIRRu2UM1NhFTXQ62vFPdCsg7kt3gwMA2OEj1vAzKD9fGHTRt9hCMn
54E8mXkpBQC1A8OYwz8yKOuD9AlzUjB/8XiEsdV+MJNWbS7mRmboC+k+wri+7RA2
7bLaDk8ny4c3Xzybno1gl7goNA7jGbgvetu6hfbW+ZdqFyr2CSWE6sbwU7Bu7zEn
zWxDs1G9fyQMGA5t2QGK/TohirVsx6gKDuE9LTk7Y9FWkY9RFvMI0Et5Nkk1fRBa
PAsepJUuvwz1YLj5S0xsLiyQMbnwKixg/NJiURvrQ2SW20CT9amU9vAKVIzjtRbb
M9UwqfNAkWr9sUv/uioOX0hJI0TGIoUqfLJQgcVVB2CgXUyvSULf7osdPbSx7lJI
JfqCZIhXT5HyH6qnVrah0SvfU7i7T0jsmJ+xJRtoOjtd6P9PH9Tlkkd+xuPVB352
E1kG3a62+RdeUTv125ZzGkg+/KqAa5sTA9vq8neeLSz9+KZwamyLspFwcHYyjIxh
LSUyb8SahzxOPWxr9+dQFaNPfYOxVHOJFL7jCjG/4GFsCU3+3s4=
=Ok38
-----END PGP SIGNATURE-----
pgpsFuSqygbWA.pgp
Description: PGP signature
--- End Message ---