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 226181 Details for
Bug 330141
uuid generator not initialized by import from command line
[?]
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]
diffs
cvsdiffs.2 (text/plain), 1.70 KB, created by
Rich Megginson
on 2007-10-12 21:40:49 UTC
(
hide
)
Description:
diffs
Filename:
MIME Type:
Creator:
Rich Megginson
Created:
2007-10-12 21:40:49 UTC
Size:
1.70 KB
patch
obsolete
>Index: ldapserver/ldap/servers/slapd/back-ldbm/ldif2ldbm.c >=================================================================== >RCS file: /cvs/dirsec/ldapserver/ldap/servers/slapd/back-ldbm/ldif2ldbm.c,v >retrieving revision 1.14 >diff -u -8 -r1.14 ldif2ldbm.c >--- ldapserver/ldap/servers/slapd/back-ldbm/ldif2ldbm.c 24 Sep 2007 18:27:15 -0000 1.14 >+++ ldapserver/ldap/servers/slapd/back-ldbm/ldif2ldbm.c 12 Oct 2007 21:40:31 -0000 >@@ -564,16 +564,28 @@ > slapi_pblock_get( pb, SLAPI_PLUGIN_PRIVATE, &li ); > slapi_pblock_get( pb, SLAPI_BACKEND_INSTANCE_NAME, &instance_name ); > > /* BEGIN complex dependencies of various initializations. */ > /* hopefully this will go away once import is not run standalone... */ > > slapi_pblock_get(pb, SLAPI_TASK_FLAGS, &task_flags); > if (task_flags & TASK_RUNNING_FROM_COMMANDLINE) { >+ /* initialize UniqueID generator - must be done once backends are started >+ and event queue is initialized but before plugins are started */ >+ Slapi_DN *sdn = slapi_sdn_new_dn_byval ("cn=uniqueid generator,cn=config"); >+ int rc = uniqueIDGenInit (NULL, sdn, 0 /* use single thread mode */); >+ slapi_sdn_free (&sdn); >+ if (rc != UID_SUCCESS) { >+ LDAPDebug( LDAP_DEBUG_ANY, >+ "Fatal Error---Failed to initialize uniqueid generator; error = %d. " >+ "Exiting now.\n", rc, 0, 0 ); >+ return -1; >+ } >+ > li->li_flags |= TASK_RUNNING_FROM_COMMANDLINE; > ldbm_config_load_dse_info(li); > autosize_import_cache(li); > } > > /* Find the instance that the ldif2db will be done on. */ > inst = ldbm_instance_find_by_name(li, instance_name); > if (NULL == inst) {
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 330141
: 226181 |
226271