diff options
author | Guilhem Moulin <guilhem@debian.org> | 2021-02-22 20:37:57 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem@debian.org> | 2021-02-22 20:37:57 +0100 |
commit | 3d1bc4f299d693b3b3d2bc77387f866bbfc14dd9 (patch) | |
tree | 258c8b18f278bb77961a4299815de7bb4fd21c13 | |
parent | ae52bdc9a590a28d89a69cab783973fcffa5cb7f (diff) |
d/lacme.postrm: Don't delete system users on purge.
_lacme-www shouldn't own any file or directories, but there might be
files on disk owned by _lacme-client when 'challenge-directory' is used.
See https://wiki.debian.org/AccountHandlingInMaintainerScripts#Reasons_for_not_deleting_accounts .
-rw-r--r-- | debian/changelog | 7 | ||||
-rwxr-xr-x | debian/lacme.postrm | 15 |
2 files changed, 7 insertions, 15 deletions
diff --git a/debian/changelog b/debian/changelog index f359a55..bc0f28a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +lacme (0.8.0-2) UNRELEASED; urgency=medium + + * d/lacme.postrm: Don't delete system users on purge. There might be files + on disk owned by _lacme-client when 'challenge-directory' is used. + + -- Guilhem Moulin <guilhem@debian.org> Mon, 22 Feb 2021 20:35:22 +0100 + lacme (0.8.0-1) unstable; urgency=low * New upstream release (closes: #970458, #970800, #972456). diff --git a/debian/lacme.postrm b/debian/lacme.postrm deleted file mode 100755 index c52a198..0000000 --- a/debian/lacme.postrm +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -set -e - -if [ "$1" = "purge" ]; then - if getent passwd _lacme-www >/dev/null; then - deluser --quiet --system _lacme-www - fi - if getent passwd _lacme-client >/dev/null; then - deluser --quiet --system _lacme-client - fi -fi - -#DEBHELPER# -exit 0 |