Bug 1167911 - [linearstore] Symlink creation fails if store dir path is not absolute
Summary: [linearstore] Symlink creation fails if store dir path is not absolute
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-cpp
Version: Development
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: 3.2
: ---
Assignee: Kim van der Riet
QA Contact: Jiri Prajzner
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-25 15:47 UTC by Kim van der Riet
Modified: 2015-10-08 13:09 UTC (History)
4 users (show)

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.
Clone Of:
Environment:
Last Closed: 2015-10-08 13:09:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Apache JIRA QPID-6248 0 None None None Never
Red Hat Product Errata RHEA-2015:1879 0 normal SHIPPED_LIVE Red Hat Enterprise MRG Messaging 3.2 Release 2015-10-08 17:07:53 UTC

Description Kim van der Riet 2014-11-25 15:47:47 UTC
Allan Conway found a bug in which symlink creation fails if the store dir is not absolute. Details can be found on the upstream bug at:

https://issues.apache.org/jira/browse/QPID-6248

Comment 1 Kim van der Riet 2014-11-26 18:05:31 UTC
Fixed in r.1641689

See upstream bug for details.

Comment 4 Jiri Prajzner 2015-07-22 07:45:56 UTC
- 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

Comment 5 Jiri Prajzner 2015-07-23 13:14:43 UTC
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

Comment 7 errata-xmlrpc 2015-10-08 13:09:59 UTC
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


Note You need to log in before you can comment on or make changes to this bug.