This service will be undergoing maintenance at 00:00 UTC, 2016-08-01. It is expected to last about 1 hours

Bug 618858

Summary: move start-ds-admin env file into main admin server config path
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, nhosoi
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:33:58 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, 576869    
Attachments:
Description Flags
patch proposal nhosoi: review+

Description Ulf Weltman 2010-07-27 17:31:02 EDT
To improve feng-shui on HP-UX we modify the layout by moving start-ds-admin's env file dirsrv-admin from /etc/opt/dirsrv-admin/config to /etc/opt/dirsrv/admin-serv.  (On HP-UX we keep files in /opt/dirsrv, /var/opt/dirsrv and /etc/opt/dirsrv.  That additional /etc/opt/dirsrv-admin path was awkward since it just contained the single env file.)
Comment 1 Ulf Weltman 2010-07-27 17:33:49 EDT
Created attachment 434864 [details]
patch proposal

I had to move the assignment of the instancename variable up in the file so it's available when the initconfigdir is set.
Comment 3 Noriko Hosoi 2011-02-04 16:43:02 EST
Pushed to master on behalf of Ulf Weltman (ulf.weltman@hp.com):

$ git merge 618858
Updating fe73cc2..4aecc23
Fast-forward
 configure    |   11 +++++------
 configure.ac |   11 +++++------
 2 files changed, 10 insertions(+), 12 deletions(-)

$ git push
Counting objects: 7, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (4/4), done.
Writing objects: 100% (4/4), 833 bytes, done.
Total 4 (delta 3), reused 0 (delta 0)
To ssh://git.fedorahosted.org/git/389/admin.git
   fe73cc2..4aecc23  master -> master
Comment 5 Noriko Hosoi 2011-07-20 17:07:41 EDT
Compared configure.ac in the git source tree with the one in the patch.
Verified that they are identical.

Note: the change only affects ia64-hp-hpux and hppa*-hp-hpux.
Comment 6 Rich Megginson 2011-07-25 14:27:39 EDT
Right.  This bug doesn't really apply to RHEL6 - you can just mark it as VerifiedUpstream