[Fedora-directory-devel] Please review: [Bug 208672] parameterizing the hardcoded paths (phase 2. db, log, lock, pid dir)

Noriko Hosoi nhosoi at redhat.com
Sat Sep 30 00:58:24 UTC 2006


Hello,

This is the phase 2 change proposal for the HFS work.  This time, replacing the hardcoded db, log, lock and pid paths with the config attribute values...
Your review would be greatly appreciated.
Thanks,
--noriko

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=208672

           Summary: parameterizing the hardcoded paths (phase 2. db, log, lock, pid dir)
           Product: Fedora Directory Server
           Version: 1.0.2
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: normal
         Component: Directory Server
        AssignedTo: nhosoi at redhat.com
        ReportedBy: nhosoi at redhat.com
         QAContact: ohegarty at redhat.com
                CC: ohegarty at redhat.com

------- Additional Comments From nhosoi at redhat.com  2006-09-29 20:45 EST -------
Created an attachment (id=137456)
 --> (https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=137456&action=view)
cvs diffs (ldapserver)

Files:
  ldap/admin/include/dsalib.h
  ldap/admin/lib/dsalib_db.c
  ldap/admin/lib/dsalib_location.c
  ldap/admin/lib/dsalib_util.c
  ldap/admin/src/create_instance.c
  ldap/admin/src/create_instance.h
  ldap/admin/src/ds_remove.c
  ldap/servers/slapd/libglobs.c
  ldap/servers/slapd/protect_db.c
  ldap/servers/slapd/proto-slap.h
  ldap/servers/slapd/slap.h
  ldap/servers/slapd/snmp_collator.c
  ldap/servers/slapd/back-ldbm/ldbm_config.c

Changes:
1) introduced these 2 config attributes.
+#define CONFIG_LOCKDIR_ATTRIBUTE "nsslapd-lockdir"
+#define CONFIG_DBDIR_ATTRIBUTE "nsslapd-dbdir"
2) replaced the hardcoded paths with the corresponding attribute value in the
   server as well as in the create/remove instance codes.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3170 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-directory-devel/attachments/20060929/c254367f/attachment.bin>


More information about the Fedora-directory-devel mailing list