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

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

 



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

------- Additional Comments From nhosoi@xxxxxxxxxx  2007-03-21 13:43 EST -------
Created an attachment (id=150606)
--> (https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=150606&action=view)
cvs commit message

Reviewed by Rich (Thank you!)

Checked in into HEAD.

          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.

------------------------------------------------------------------------

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

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