Bug 524589 - Wrong option in postuninstall scriptlet
Summary: Wrong option in postuninstall scriptlet
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: openswan
Version: 12
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Avesh Agarwal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-09-21 11:27 UTC by Aleš Mareček
Modified: 2010-04-19 15:49 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-04-19 15:49:59 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Aleš Mareček 2009-09-21 11:27:48 UTC
Description of problem:
Acording to implementation of ipsec initscript postuninstall scriptlet calls wrong option "condrestart" which is not implemented.

Version-Release number of selected component (if applicable):
openswan-2.6.22-2.fc12

How reproducible:
always

Steps to Reproduce:
1. $ rpm -q --scripts openswan
  
Actual results:
postinstall scriptlet (using /bin/sh):
chkconfig --add ipsec || :
preuninstall scriptlet (using /bin/sh):
if [ $1 = 0 ]; then
	/sbin/service ipsec stop || :
	/sbin/chkconfig --del ipsec
fi
postuninstall scriptlet (using /bin/sh):
if [ $1 -ge 1 ] ; then
	/sbin/service ipsec condrestart 2>&1 > /dev/null || :
fi


Expected results:
Implementation of "condrestart" option into the ipsec initscript or replace cond-restarting line with corresponding code.

Additional info:

Comment 1 Bug Zapper 2009-11-16 12:42:45 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle.
Changing version to '12'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 2 Avesh Agarwal 2010-04-19 15:49:59 UTC
This has been fixed in the latest Openswan version, and the issue does not appear
now. So I am closing this, and please reopen if you see this issue again.
Thanks for reporting the issue.


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