Wrong user in postinst/postrm

Bug #71695 reported by Marcus Sundman
6
Affects Status Importance Assigned to Milestone
tomcat5.5 (Debian)
Fix Released
Unknown
tomcat5.5 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: tomcat5.5

The postinst script adds a user named "tomcat5", but the postrm script tries to delete a user named "tomcat5.5". Furthermore, the user "tomcat5" is used by the tomcat5 package, so if you remove that package (which removes the "tomcat5" user) while tomcat5.5 is installed the installation will become quite corrupted. In fact, after this you cannot even remove/reinstall the tomcat5.5 package!!!
So, either fix the tomcat5 package and tomcat5.5's postrm, or make all of tomcat5.5 use a user named "tomcat5.5".

Revision history for this message
Andreas Schildbach (schildbach) wrote :

I believe this bug has been fixed. The package "tomcat5.5" uses the user "tomcat55" in Feisty.

Revision history for this message
Matti Lindell (mlind) wrote :

Yes, fixed since feisty.

tomcat5.5 (5.5.20-2) unstable; urgency=medium
  .
  * tomcat5.5 has now the user tomcat55 and remove user tomcat5 if package
    tomcat5 is marked as purge or if it's never been installed (closes:
    #386831).

Changed in tomcat5.5:
status: Unconfirmed → Fix Released
Revision history for this message
Matti Lindell (mlind) wrote :

The version with the fix should have been tomcat5.5 (5.5.17-2).

Changed in tomcat5.5:
status: Unknown → 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.