From f8684a927a9d8acea804cd885d5a583f3394de73 Mon Sep 17 00:00:00 2001 From: Bdale Garbee Date: Sun, 7 Mar 2010 13:49:07 -0700 Subject: [PATCH] leave user backup in groups disk and tape on purge in case sys admin has built other dependencies beyond Amanda --- debian/amanda-common.postrm | 11 ----------- debian/changelog | 3 ++- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/debian/amanda-common.postrm b/debian/amanda-common.postrm index 9014b6f..9c39738 100644 --- a/debian/amanda-common.postrm +++ b/debian/amanda-common.postrm @@ -21,17 +21,6 @@ case "$1" in rm -f ~backup/.amandahosts - if which deluser >/dev/null 2>&1 ; then - for group in disk tape; do - # only call deluser when backup is in $group - if getent group "$group" | - awk -F: '{ print $4 }' | - awk -F, '{ for (i=1; i <= NF; i++ ) print $i }' | - grep '^backup$' > /dev/null; then - deluser backup "$group" || true - fi - done - fi ;; remove|upgrade|deconfigure) ;; diff --git a/debian/changelog b/debian/changelog index 2db6718..7759957 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,8 +3,9 @@ amanda (1:2.6.1p2-1) UNRELEASED; urgency=low * new upstream version * move more files out of amanda-common that really belong elsewhere * deliver /usr/lib/amanda/application/am[gs]tar setuid, closes: #558094 + * leave user backup groups alone on purge, closes: #572933 - -- Bdale Garbee Thu, 26 Nov 2009 16:12:13 -0700 + -- Bdale Garbee Sun, 07 Mar 2010 13:48:46 -0700 amanda (1:2.6.1p1-2) unstable; urgency=low -- 2.30.2