Bug 44203 - Zope-zserver postun script deficiency
Summary: Zope-zserver postun script deficiency
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Powertools
Classification: Retired
Component: Zope
Version: 7.1
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Tim Powers
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-06-12 03:18 UTC by R P Herrold
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-06-12 03:18:48 UTC
Embargoed:


Attachments (Terms of Use)

Description R P Herrold 2001-06-12 03:18:44 UTC
Description of Problem:
The post-un script for Zope-zserver failes to remove BOTH the user and 
GROUP 'zope'

How Reproducible:
Install and then remove Zope-zserver -- Upon trying to re-install it (or do 
an upgrade) it will fail, due to the presence of the zope group already

Additional Information:
	
Relevant code segment is:


%postun zserver
  if [ $1 = 0 ] ; then
        userdel zope >/dev/null 2>&1 || :
  fi
  if [ "$1" -ge "1" ]; then
        /etc/rc.d/init.d/lpd condrestart > /dev/null 2>&1
  fi


Solution: add code  to strip out the group zope if the user is successfully 
deleted.

Comment 1 Tim Powers 2001-10-11 14:36:39 UTC
Powertools is pretty much depricated now. I'll fix this the next time Zope needs
updating for security problems. I am closing this and marking it as "deferred".

Tim


Note You need to log in before you can comment on or make changes to this bug.