tomcat6 fails to purge if you manually remove /etc/tomcat6 before

Bug #648619 reported by Braiam Peguero
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tomcat6 (Ubuntu)
Fix Released
Medium
Thierry Carrez

Bug Description

Binary package hint: tomcat6

I have been experiment problems purging tomcat6 because a Catalina folder.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: tomcat6 (not installed)
ProcVersionSignature: Ubuntu 2.6.32-24.43-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-24-generic i686
Architecture: i386
CheckboxSubmission: ee8ebec101005ce57a9c3355b36ca8a7
CheckboxSystem: edda5d4f616ca792bf437989cb597002
Date: Mon Sep 27 04:42:10 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
ProcEnviron:
 LANG=es_DO.UTF-8
 SHELL=/bin/bash
SourcePackage: tomcat6

Revision history for this message
Braiam Peguero (braiampe) wrote :
Revision history for this message
Braiam Peguero (braiampe) wrote :
Revision history for this message
Thierry Carrez (ttx) wrote :

In tomcat6.postrm, the following fails if /etc/tomcat6 was manually removed:
  chown -Rh root:root /etc/tomcat6/

This should have "|| true" to gracefully handle this case.

Changed in tomcat6 (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
summary: - tomcat6 failed to purge
+ tomcat6 fails to purge if you manually remove /etc/tomcat6 before
Revision history for this message
Thierry Carrez (ttx) wrote :

Fix committed in Debian, should land in 6.0.28-8

Changed in tomcat6 (Ubuntu):
assignee: nobody → Thierry Carrez (ttx)
status: Triaged → Fix Committed
Revision history for this message
Thierry Carrez (ttx) wrote :

Sync bug filed as bug 687265

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package tomcat6 - 6.0.28-8

---------------
tomcat6 (6.0.28-8) unstable; urgency=low

  * Team upload.

  [ Thierry Carrez (ttx) ]
  * Do not fail to purge if /etc/tomcat6 was manually removed (LP: #648619)
  * Add missing -p option in start-stop-daemon when starting tomcat6 to avoid
    failing to start due to /bin/bash running (LP: #632554)
  * Fix build failure (missing TraXLiaison class) by adding ant-nodeps
    to the classpath.

  [ tony mancill ]
  * Use debconf to determine tomcat6 user and group to delete upon purge.
    Thanks to Misha Koshelev. (Closes: #599458)
  * Add tomcat-native to Suggests: for tomcat6 binary package.
    Thanks to Eddy Petrisor (Closes: #600590)
  * Add Danish debconf template translation.
    Thanks to Joe Dalton (Closes: #605070)
  * Actually add the Czech debconf template translation.
    Thanks this time to Christian PERRIER (Closes: #597863)
 -- Thierry Carrez <email address hidden> Wed, 08 Dec 2010 21:32:52 +0000

Changed in tomcat6 (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.