- Package:
- debian-security-support
- Source:
- debian-security-support
- Submitter:
- Alexandre Detiste
- Date:
- 2026-05-27 17:17:02 UTC
- Severity:
- normal
- Tags:
Hi dear maintainers,
I noticed that debian-security-support does not
clean /var/lib/debian-security-support/ on purge.
Here is a extra-short that implements this
with help from dh-cruft.
dh-cruft has been available for many years
already so that would not hinder backportability.
Greetings
Alexandre
tchet@quieter:~/deb/debian-security-support$ git diff HEAD~1
--- a/debian/control
+++ b/debian/control
@@ -6,6 +6,7 @@ Uploaders: Holger Levsen <holger@debian.org>,
Santiago Ruano Rincón <santiago@debian.org>,
Build-Depends: debhelper-compat (= 13),
asciidoc,
+ dh-sequence-cruft,
gettext,
gawk,
libfile-slurp-perl,
--- /dev/null
+++ b/debian/debian-security-support.purge
@@ -0,0 +1 @@
+/var/lib/debian-security-support/
PS: here is also the generated .postrm so you can glimpse on it:
$ cat debian/debian-security-support/DEBIAN/postrm
#!/bin/sh
set -e
# Automatically added by dh_cruft/0.9.80
if [ "$1" = "purge" ]
then
# we need to glob, so no quotes
rm -rf ${DPKG_ROOT:-}/var/lib/debian-security-support/
fi
# End automatically added section
# Automatically added by dh_installdebconf/13.31
if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
. /usr/share/debconf/confmodule
db_purge
fi
# End automatically added section
Hello, Bug #1135845 in debian-security-support reported by you has been fixed in the Git repository and is awaiting an upload. You can see the commit message below and you can check the diff of the fix at: https://salsa.debian.org/debian/debian-security-support/-/commit/90e5caac963166e4a0329d24ced71a2b6c04726e ------------------------------------------------------------------------ use dh-cruft to register & purge /var/lib/debian-security-support/ (Closes: #1135845, #990432) ------------------------------------------------------------------------ (this message was generated automatically) -- Greetings https://bugs.debian.org/1135845
Hello, Bug #1135845 in debian-security-support reported by you has been fixed in the Git repository and is awaiting an upload. You can see the commit message below and you can check the diff of the fix at: https://salsa.debian.org/debian/debian-security-support/-/commit/90e5caac963166e4a0329d24ced71a2b6c04726e ------------------------------------------------------------------------ use dh-cruft to register & purge /var/lib/debian-security-support/ (Closes: #1135845, #990432) ------------------------------------------------------------------------ (this message was generated automatically) -- Greetings https://bugs.debian.org/1135845