[tomcat8] 01/01: The tomcat8 user is no longer removed when the package is purged (Closes: #845385)
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Thu Dec 1 07:57:24 UTC 2016
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch experimental
in repository tomcat8.
commit e8cd8585faebe1ba1312ef6452ced16d6e7998c7
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Thu Dec 1 08:55:58 2016 +0100
The tomcat8 user is no longer removed when the package is purged (Closes: #845385)
---
debian/changelog | 2 ++
debian/tomcat8.postrm.in | 9 ---------
2 files changed, 2 insertions(+), 9 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index d5bc2d9..2944faa 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
tomcat8 (8.5.8-2) UNRELEASED; urgency=medium
* Team upload.
+ * The tomcat8 user is no longer removed when the package is purged
+ (Closes: #845385)
* Set the proper permissions for /etc/tomcat8/jaspic-providers.xml
* Install the Maven artifacts for tomcat-storeconfig
* Simplified debian/rules
diff --git a/debian/tomcat8.postrm.in b/debian/tomcat8.postrm.in
index d25ce11..dcc9938 100644
--- a/debian/tomcat8.postrm.in
+++ b/debian/tomcat8.postrm.in
@@ -64,15 +64,6 @@ case "$1" in
/etc/tomcat8/Catalina/localhost /etc/tomcat8/Catalina /etc/tomcat8
# clean up /etc/authbind after conffiles have been removed
rmdir --ignore-fail-on-non-empty /etc/authbind/byuid /etc/authbind
- # Put all files owned by group tomcat8 back into root group before deleting
- # the tomcat8 user and group
- chown -Rhf root:root /etc/tomcat8/ || true
- # Remove user/group and log files (don't remove everything under
- # /var/lib/tomcat8 because there might be user-installed webapps)
- db_get tomcat8/username && TOMCAT8_USER="$RET" || TOMCAT8_USER="tomcat8"
- db_get tomcat8/groupname && TOMCAT8_GROUP="$RET" || TOMCAT8_GROUP="tomcat8"
- deluser $TOMCAT8_USER
- delgroup $TOMCAT8_GROUP
set -e
;;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/tomcat8.git
More information about the pkg-java-commits
mailing list