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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
       ReportedBy: nhosoi@xxxxxxxxxx
        QAContact: ohegarty@xxxxxxxxxx
               CC: ohegarty@xxxxxxxxxx

------- Additional Comments From nhosoi@xxxxxxxxxx  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.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

--
Fedora-directory-devel mailing list
Fedora-directory-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-devel

[Index of Archives]     [Fedora Directory Announce]     [Fedora Users]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Review]     [Fedora Art]     [Fedora Music]     [Fedora Packaging]     [CentOS]     [Fedora SELinux]     [Big List of Linux Books]     [KDE Users]     [Fedora Art]     [Fedora Docs]

  Powered by Linux