Bug 182613

Summary: Upgrade wipes out sectool wrappers
Product: [Retired] 389 Reporter: Rich Megginson <rmeggins>
Component: Install/UninstallAssignee: Rich Megginson <rmeggins>
Status: CLOSED UPSTREAM QA Contact: Chandrasekar Kannan <ckannan>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: amsharma, benl
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: 1.0.2
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-22 13:34:12 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 183369    
Attachments:
Description Flags
files for fix
none
diffs for fix
none
diffs for fix none

Description Rich Megginson 2006-02-23 17:45:33 UTC
We move the binaries (e.g. mv certutil certutil-bin) and create the shell script
wrappers during post install in ns-update.  However, when you do an upgrade
install, the new certutil is copied over the certutil shell script.
There are also a few other minor things we need to clean up for upgrade
installation.
1) upgradeServer doesn't recognize Red Hat or Fedora DS.
2) upgradeServer takes care of instance schema upgrades
3) admin server config files are different since FDS 1.0
4) No template for migrateTo4

Comment 1 Rich Megginson 2006-02-23 17:45:33 UTC
Created attachment 125119 [details]
files for fix

Comment 2 Rich Megginson 2006-02-23 17:46:11 UTC
Created attachment 125121 [details]
diffs for fix

Comment 3 Rich Megginson 2006-02-23 18:52:51 UTC
Created attachment 125125 [details]
diffs for fix

Comment 4 Rich Megginson 2006-02-23 19:25:27 UTC
Reviewed by: Pete and Nathan (Thanks!)
Files: https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=125119
Branch: HEAD
Fix Description: It's better if we just package those wrappers instead 
of creating them on the fly.  The new file sec_tools_wrappers is a 
simple shell script that assumes it's being run out of a parent/bin 
directory which contains a program called $0-bin, and the shared libs it 
needs are in parent/lib.  This shell script is copied to 
shared/bin/certutil, shared/bin/modutil, etc.  I had to create another 
makefile packaging macro to handle the case where you want to package a 
file under a different name than the original. Also
1) Add Red Hat and Fedora DS to upgradeServer
2) adminutil property directory is now adminutil-properties instead of 
property
3) General clean up of some upgrade install things
Platforms tested: Fedora Core 4
Flag Day: no
Doc impact: no
QA impact: should be covered by regular nightly and manual testing
New Tests integrated into TET: none