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