Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1167911 - [linearstore] Symlink creation fails if store dir path is not absolute
[linearstore] Symlink creation fails if store dir path is not absolute
Status: CLOSED ERRATA
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-cpp (Show other bugs)
Development
Unspecified Unspecified
medium Severity medium
: 3.2
: ---
Assigned To: Kim van der Riet
Jiri Prajzner
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2014-11-25 10:47 EST by Kim van der Riet
Modified: 2015-10-08 09:09 EDT (History)
4 users (show)

See Also:
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 09:09:59 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Apache JIRA QPID-6248 None None None Never
Red Hat Product Errata RHEA-2015:1879 normal SHIPPED_LIVE Red Hat Enterprise MRG Messaging 3.2 Release 2015-10-08 13:07:53 EDT

  None (edit)
Description Kim van der Riet 2014-11-25 10:47:47 EST
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 13:05:31 EST
Fixed in r.1641689

See upstream bug for details.
Comment 4 Jiri Prajzner 2015-07-22 03:45:56 EDT
- 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 09:14:43 EDT
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 09:09:59 EDT
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.