Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1292489
| From | Alexandre Detiste <alexandre.detiste@gmail.com> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#1135845: debian-security-support: postrm do not clean /var/lib/debian-security-support/ |
| Date | 2026-05-06 17:10 +0200 |
| Message-ID | <MRM2S-32VR-27@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Package: debian-security-support
Version: 1:14+2026.04.30
Severity: important
Tags: security
X-Debbugs-Cc: Debian Security Team <team@security.debian.org>
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
Back to linux.debian.bugs.dist | Previous | Next | Find similar
Bug#1135845: debian-security-support: postrm do not clean /var/lib/debian-security-support/ Alexandre Detiste <alexandre.detiste@gmail.com> - 2026-05-06 17:10 +0200
csiph-web