Bug 1167911
| Summary: | [linearstore] Symlink creation fails if store dir path is not absolute | ||
|---|---|---|---|
| Product: | Red Hat Enterprise MRG | Reporter: | Kim van der Riet <kim.vdriet> |
| Component: | qpid-cpp | Assignee: | Kim van der Riet <kim.vdriet> |
| Status: | CLOSED ERRATA | QA Contact: | Jiri Prajzner <jprajzne> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | Development | CC: | jprajzne, jross, mtoth, zkraus |
| Target Milestone: | 3.2 | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | qpid-cpp-0.32-1 | Doc Type: | Bug Fix |
| Doc Text: |
It was discovered that symlink creation failed if the specified linearstore `store-dir` path was not absolute. The `store-dir` parameter should never have been specified as a relative path, however the issue was benign for some time in both linearstore and legacystore due to the lack of symlink support in journal directories (introduced as part of https://bugzilla.redhat.com/show_bug.cgi?id=1160367[BZ#1160367].
The fix for this bug now adds a prefixed `/` to the store-dir parameter if the path is not specified as absolute.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-10-08 13:09:59 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Kim van der Riet
2014-11-25 15:47:47 UTC
Fixed in r.1641689 See upstream bug for details. - pwd /root - qpidd --store-dir my-qpid-store-dir - ls -l /root/my-qpid-store-dir/qls/tpl2 total 4 lrwxrwxrwx. 1 root root 91 Jul 21 13:42 93c0691b-9394-44b8-9775-15f301114e01.jrnl -> /root/my-qpid-store-dir/qls/p001/efp/2048k/in_use/93c0691b-9394-44b8-9775-15f301114e01.jrnl List of installed packages: yum list installed "*qpid*" qpid-cpp-client 0.34-1 qpid-cpp-client-devel 0.34-1 qpid-cpp-client-devel-docs 0.34-1 qpid-cpp-client-rdma 0.34-1 qpid-cpp-debuginfo 0.34-1 qpid-cpp-server 0.34-1 qpid-cpp-server-devel 0.34-1 qpid-cpp-server-ha 0.34-1 qpid-cpp-server-linearstore 0.34-1 qpid-cpp-server-rdma 0.34-1 qpid-qmf 0.34-1 qpid-qmf-debuginfo 0.34-1 qpid-qmf-devel 0.34-1 qpid-tools 0.34-1 Platforms: i686, x86_64 RHELs: 6.7, 7.1 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2015-1879.html |