Bug 614690

Summary: adminutil ICU RB generation can fail
Product: [Community] 389 Reporter: Ulf Weltman <ulf.weltman>
Component: AdminAssignee: Rich Megginson <rmeggins>
Status: CLOSED CURRENTRELEASE QA Contact: Viktor Ashirov <vashirov>
Severity: medium Docs Contact:
Priority: low    
Version: 1.2.6CC: amsharma, jgalipea, nkinder
Target Milestone: ---Keywords: VerifiedUpstream
Target Release: ---   
Hardware: All   
OS: Other   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-07 11:49:14 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Bug Depends On:    
Bug Blocks: 434915    
Attachments:
Description Flags
patch proposal
none
patch for admin server's genrb_wrapper.sh none

Description Ulf Weltman 2010-07-14 21:11:01 EDT
genrb fails on HP-UX because genrb_wrapper.sh invokes it like:
LD_LIBRARY_PATH=/wherever exec genrb
POSIX shell on HP-UX doesn't pass the environment variable to the exec'd process.  Can the exec just be removed?

Another thing I noticed which isn't platform specific is that it tries to invoke the genrb_wrapper.sh script while assuming cwd is the build root.  For example, if we're in adminutil/HP-UXB.11.23_ia64_64_OPT.OBJ it tries to invoke lib/libadminutil/genrb_wrapper.sh when it should be ../lib/libadminutil/genrb_wrapper.sh.
Comment 1 Ulf Weltman 2010-07-14 21:11:53 EDT
Created attachment 431957 [details]
patch proposal
Comment 2 Rich Megginson 2010-07-15 11:22:05 EDT
To ssh://git.fedorahosted.org/git/389/adminutil.git
   e07acba..6a23fa9  master -> master
commit 6a23fa916a7761a6e48f3b79d07f8208cf10f4bf
Author: Rich Megginson <rmeggins@redhat.com>
Date:   Thu Jul 15 09:21:41 2010 -0600
Comment 4 Ulf Weltman 2010-07-19 18:41:33 EDT
Created attachment 433025 [details]
patch for admin server's genrb_wrapper.sh

Please also make the change to remove exec from adminserver's genrb_wrapper.sh script.
Comment 5 Nathan Kinder 2011-03-08 14:18:33 EST
Checked in admin patch to master.

Counting objects: 7, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (4/4), done.
Writing objects: 100% (4/4), 492 bytes, done.
Total 4 (delta 3), reused 0 (delta 0)
To ssh://git.fedorahosted.org/git/389/admin.git
   f7554f2..9866d75  master -> master