Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 147685 Details for
Bug 227771
FHS: use sysconfdir (/etc) as config file location
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
new diffs
cvsdiffs (text/plain), 4.58 KB, created by
Rich Megginson
on 2007-02-08 18:20:17 UTC
(
hide
)
Description:
new diffs
Filename:
MIME Type:
Creator:
Rich Megginson
Created:
2007-02-08 18:20:17 UTC
Size:
4.58 KB
patch
obsolete
>Index: ldapserver/Makefile.am >=================================================================== >RCS file: /cvs/dirsec/ldapserver/Makefile.am,v >retrieving revision 1.21 >diff -u -8 -r1.21 Makefile.am >--- ldapserver/Makefile.am 7 Feb 2007 23:57:34 -0000 1.21 >+++ ldapserver/Makefile.am 8 Feb 2007 18:19:44 -0000 >@@ -161,17 +161,16 @@ > ldap/admin/src/scripts/template-db2bak.pl \ > ldap/admin/src/scripts/template-db2index.pl \ > ldap/admin/src/scripts/template-db2ldif.pl \ > ldap/admin/src/scripts/template-ldif2db.pl \ > ldap/admin/src/scripts/template-ns-accountstatus.pl \ > ldap/admin/src/scripts/template-ns-activate.pl \ > ldap/admin/src/scripts/template-ns-inactivate.pl \ > ldap/admin/src/scripts/template-ns-newpwpolicy.pl \ >- ldap/admin/src/scripts/template-repl-monitor-cgi.pl \ > ldap/admin/src/scripts/template-repl-monitor.pl \ > ldap/admin/src/scripts/template-verify-db.pl \ > $(srcdir)/ldap/admin/src/scripts/template-migrate5to7 \ > $(srcdir)/ldap/admin/src/scripts/template-migrate6to7 \ > $(srcdir)/ldap/admin/src/scripts/template-migrateInstance7 \ > $(srcdir)/ldap/admin/src/scripts/template-migrateTo7 > > #//////////////////////////////////////////////////////////////// >Index: ldapserver/ldap/admin/src/create_instance.c >=================================================================== >RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/create_instance.c,v >retrieving revision 1.42 >diff -u -8 -r1.42 create_instance.c >--- ldapserver/ldap/admin/src/create_instance.c 7 Feb 2007 23:57:39 -0000 1.42 >+++ ldapserver/ldap/admin/src/create_instance.c 8 Feb 2007 18:19:47 -0000 >@@ -1732,18 +1732,20 @@ > > #define CREATE_BAK2DB() \ > gen_script_auto(mysroot, mycs_path, "bak2db.pl", cf) > > #define CREATE_VERIFYDB() \ > gen_script_auto(mysroot, mycs_path, "verify-db.pl", cf) > > /* tentatively moved to mycs_path */ >+#ifdef MOVE_TO_ADMIN_SERVER > #define CREATE_REPL_MONITOR_CGI() \ > gen_script_auto(mysroot, mycs_path, "repl-monitor-cgi.pl", cf) >+#endif > > #define CREATE_ACCOUNT_INACT(_commandName) \ > gen_script_auto(mysroot, cs_path, _commandName, cf) > > #define CREATE_MIGRATE5TO7() \ > gen_script_auto(mysroot, mycs_path, "migrate5to7", cf) > > #define CREATE_MIGRATE6TO7() \ >@@ -1892,18 +1894,20 @@ > if(t) return t; > > t = CREATE_BAK2DB(); > if(t) return t; > > t = CREATE_VERIFYDB(); > if(t) return t; > >+#ifdef MOVE_TO_ADMIN_SERVER > t = CREATE_REPL_MONITOR_CGI(); > if(t) return t; >+#endif > > t = CREATE_ACCOUNT_INACT("ns-inactivate.pl"); > if(t) return t; > > t = CREATE_ACCOUNT_INACT("ns-activate.pl"); > if(t) return t; > > t = CREATE_ACCOUNT_INACT("ns-accountstatus.pl"); >@@ -2405,18 +2409,20 @@ > if(t) return t; > > t = CREATE_BAK2DB(); > if(t) return t; > > t = CREATE_VERIFYDB(); > if(t) return t; > >+#ifdef MOVE_TO_ADMIN_SERVER > t = CREATE_REPL_MONITOR_CGI(); > if(t) return t; >+#endif > > t = gen_script(cs_path, "suffix2instance.bat", > "@if not \"%%echo%%\" == \"on\" echo off\n\n" > "setlocal\n" > "set rc=0\n" > "PATH=\"%s\";%%PATH%%\n\n" > "if [%%2] == [] goto err\n\n" > "set arg=\n\n" >@@ -4474,31 +4480,31 @@ > cf->inst_dir = PR_smprintf("%s%c%s-%s", > cf->sroot, FILE_PATHSEP, PRODUCT_NAME, cf->servid); > } else { > cf->inst_dir = PL_strdup(temp); > } > > temp = ds_a_get_cgi_var("config_dir", NULL, NULL); > if (NULL == temp) { >- cf->config_dir = PR_smprintf("%s%clib%c%s%c%s-%s", >- cf->localstatedir, FILE_PATHSEP, FILE_PATHSEP, >+ cf->config_dir = PR_smprintf("%s%c%s%c%s-%s", >+ cf->sysconfdir, FILE_PATHSEP, > cf->brand_ds, FILE_PATHSEP, > PRODUCT_NAME, cf->servid); > } else { > cf->config_dir = PL_strdup(temp); > } > /* set config dir to the environment variable DS_CONFIG_DIR */ > ds_set_config_dir(cf->config_dir); > > cf->schema_dir = ds_a_get_cgi_var("schema_dir", NULL, NULL); > temp = ds_a_get_cgi_var("schema_dir", NULL, NULL); > if (NULL == temp) { >- cf->schema_dir = PR_smprintf("%s%clib%c%s%c%s-%s%cschema", >- cf->localstatedir, FILE_PATHSEP, FILE_PATHSEP, >+ cf->schema_dir = PR_smprintf("%s%c%s%c%s-%s%cschema", >+ cf->sysconfdir, FILE_PATHSEP, > cf->brand_ds, FILE_PATHSEP, > PRODUCT_NAME, cf->servid, FILE_PATHSEP); > } else { > cf->schema_dir = PL_strdup(temp); > } > > temp = ds_a_get_cgi_var("lock_dir", NULL, NULL); > if (NULL == temp) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 227771
:
147682
| 147685 |
147690
|
147916
|
147933