From 3d1bc4f299d693b3b3d2bc77387f866bbfc14dd9 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Mon, 22 Feb 2021 20:37:57 +0100 Subject: 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 . --- debian/changelog | 7 +++++++ debian/lacme.postrm | 15 --------------- 2 files changed, 7 insertions(+), 15 deletions(-) delete mode 100755 debian/lacme.postrm 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 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 -- cgit v1.2.3