[Fedora-directory-devel] Please review: [Bug 233215] verify-db.pl still assumes the db dir is always in the instance dir

Noriko Hosoi nhosoi at redhat.com
Wed Mar 21 17:34:12 UTC 2007


Summary: verify-db.pl still assumes the db dir is always in the instance dir

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

           Product: Fedora Directory Server
           Version: 1.0.4
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: medium
          Priority: medium
         Component: Command Line Utilities
        AssignedTo: nhosoi at redhat.com
        ReportedBy: nhosoi at redhat.com
         QAContact: ohegarty at redhat.com
   Estimated Hours: 0.0


Description of problem:
The command line utility failed to be updated with the FHS change.

If the db is not in the instance dir (or the directory where verify-db.pl is
located), it does not check the db files.


------- Additional Comments From nhosoi at redhat.com  2007-03-21 13:28 EST -------
Created an attachment (id=150603)
 --> (https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=150603&action=view)
cvs diff template-verify-db.pl.in

File: ldap/admin/src/scripts/template-verify-db.pl.in

Changes:
0) eliminated the "current directory" from the utility.  Now, it can be run
from  any location.
1) updated to take a new option [-a <fullpath_to_db_dir> ] to allow specifying
the db dir/changelog dir; by default the start point is "db_dir"
(nsslapd-directory in cn=config,cn=ldbm database,cn=plugins,cn=config)
2) instead of assuming the db dir structure (e.g.,
db/<backend_instance>/<db_files>), now it checks all the db files found under
the specified path.  This allows to run the utility against the backup files,
as well.

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


More information about the Fedora-directory-devel mailing list