Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 214951 Details for
Bug 316281
db2bak fails if the archive path exists and ends with '/'
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
cvs commit message
316281.commit (text/plain), 1.07 KB, created by
Noriko Hosoi
on 2007-10-03 19:15:46 UTC
(
hide
)
Description:
cvs commit message
Filename:
MIME Type:
Creator:
Noriko Hosoi
Created:
2007-10-03 19:15:46 UTC
Size:
1.07 KB
patch
obsolete
>Resolves: #316281 >Summary: db2bak fails if the archive path exists and ends with '/' >Fix description: >1. Use path normalize API rel2abspath to remove the trailing '/'s. >2. db2bak renames the archive dir if the directory exists, checks the directoryis the db dir or not. If it is, the command line rename back the existing db >to the original and exits with the error: db2archive: Cannot archive to the db >directory. Then, the original dir is renamed back. If the db2bak runs as a >task (db2bak.pl or console), the server is up and running. Although the >backend is disabled, we don't want to rename the db path even for a short time. That being said, changed the order to: check if the archive dir is the same as db dir or not. It exits immediately. >CVS: ---------------------------------------------------------------------- >CVS: Modified Files: >CVS: archive.c >CVS: ---------------------------------------------------------------------- >Checking in archive.c; >/cvs/dirsec/ldapserver/ldap/servers/slapd/back-ldbm/archive.c,v <-- archive.cnew revision: 1.13; previous revision: 1.12 >done
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 316281
:
214191
| 214951 |
220021
|
274021