Bug 239494 - setuputil: use adm.conf instead of dbswitch.conf, ldap.conf, etc
Summary: setuputil: use adm.conf instead of dbswitch.conf, ldap.conf, etc
Status: CLOSED CURRENTRELEASE
Alias: None
Product: 389
Classification: Retired
Component: Admin
Version: 1.0.4
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Rich Megginson
QA Contact: Viktor Ashirov
URL:
Whiteboard:
Keywords:
Depends On:
Blocks: 152373 240316 FDS1.1.0
TreeView+ depends on / blocked
 
Reported: 2007-05-08 20:55 UTC by Rich Megginson
Modified: 2015-12-07 16:55 UTC (History)
0 users

(edit)
Clone Of:
(edit)
Last Closed: 2015-12-07 16:55:45 UTC


Attachments (Terms of Use)
files (456 bytes, text/plain)
2007-05-08 20:57 UTC, Rich Megginson
no flags Details
diffs (38.73 KB, patch)
2007-05-08 20:58 UTC, Rich Megginson
no flags Details | Diff
cvs commit log (1.96 KB, text/plain)
2007-05-09 01:30 UTC, Rich Megginson
no flags Details

Description Rich Megginson 2007-05-08 20:55:21 UTC
There are too many config files scattered about the file system.  We should just
use adm.conf.
Many functions still accept the old server root style of path naming.  We need
to instead change those functions to accept the full path of the directory
containing the config file in question.

Comment 1 Rich Megginson 2007-05-08 20:57:24 UTC
Created attachment 154360 [details]
files

Comment 2 Rich Megginson 2007-05-08 20:58:19 UTC
Created attachment 154361 [details]
diffs

Comment 3 Noriko Hosoi 2007-05-09 00:07:31 UTC
Your fixes look good.

If the HISTORY is too lengthy, you may want to remove $Log?
This is an example from product.cc...
 ** $Log: product.cc,v $

Comment 4 Rich Megginson 2007-05-09 01:30:33 UTC
Created attachment 154372 [details]
cvs commit log

Comment 5 Rich Megginson 2007-05-09 01:31:32 UTC
Reviewed by: nhosoi (Thanks!)
Files: https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=154360
Branch: HEAD
Fix Description: Just use adm.conf for the information we used to get from
dbswitch.conf, ldap.conf, and so on.  We will need to change admin server
installation to update the correct information in those files.  I also changed
many of the functions that accept a server root parameter to accept instead the
full path of the directory containing the configuration file.
Platforms tested: RHEL4
Flag Day: no
Doc impact: Yes.  We will have to doc that those other files are no longer used. 

Comment 6 Nathan Kinder 2007-12-21 19:13:50 UTC
This fix doesn't apply anymore as we've moved away from using setuputil.  The
fixes were checked in however.

Marking as VERIFIED.


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