Bug 990972
| Summary: | data-dir options in config file is ignored due to bug in init file | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise MRG | Reporter: | Zdenek Kraus <zkraus> | ||||||
| Component: | qpid-cpp | Assignee: | Ernie <eallen> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | mick <mgoulish> | ||||||
| Severity: | low | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | 3.0 | CC: | esammons, iboverma, jross, mgoulish | ||||||
| Target Milestone: | 3.0 | Keywords: | EasyFix, Patch | ||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | qpid-cpp-0.22-20 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2015-01-21 12:55:34 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: | |||||||||
| Attachments: |
|
||||||||
|
Description
Zdenek Kraus
2013-08-01 10:14:59 UTC
Created attachment 781579 [details]
Proposed patch
Created attachment 781777 [details]
Modified patch
Modified slightly because one of the lines that was changed in the patch was recently changed on trunk.
https://svn.apache.org/r1510657 -> POST --> verified
Here's how I did it:
mkdir /var/lib/qpidd2
chown -R qpidd: /var/lib/qpidd2
# If you are using old packages:
vi /etc/qpidd.conf
# If you are using new packages:
vi /etc/qpid/qpidd.conf
data-dir=/var/lib/qpidd2
:x
service qpidd restart
grep "store-dir=" /var/log/messages
confirm that you see /var/lib/qpidd2 as data dir in the log.
I observed bug fix against these packages: cyrus-sasl-2.1.23-13.el6_3.1.x86_64 cyrus-sasl-devel-2.1.23-13.el6_3.1.x86_64 cyrus-sasl-gssapi-2.1.23-13.el6_3.1.x86_64 cyrus-sasl-lib-2.1.23-13.el6_3.1.x86_64 cyrus-sasl-md5-2.1.23-13.el6_3.1.x86_64 cyrus-sasl-plain-2.1.23-13.el6_3.1.x86_64 perl-qpid-0.22-5.el6.x86_64 python-qpid-0.22-4.el6.noarch python-qpid-qmf-0.22-7.el6.x86_64 python-saslwrapper-0.22-3.el6.x86_64 qpid-cpp-client-0.22-8.el6.x86_64 qpid-cpp-client-devel-0.22-8.el6.x86_64 qpid-cpp-client-devel-docs-0.22-8.el6.noarch qpid-cpp-client-rdma-0.22-8.el6.x86_64 qpid-cpp-client-ssl-0.22-8.el6.x86_64 qpid-cpp-debuginfo-0.22-8.el6.x86_64 qpid-cpp-server-0.22-8.el6.x86_64 qpid-cpp-server-devel-0.22-8.el6.x86_64 qpid-cpp-server-ha-0.22-8.el6.x86_64 qpid-cpp-server-rdma-0.22-8.el6.x86_64 qpid-cpp-server-ssl-0.22-8.el6.x86_64 qpid-cpp-server-store-0.22-8.el6.x86_64 qpid-cpp-server-xml-0.22-8.el6.x86_64 qpid-cpp-tar-0.22-8.el6.noarch qpid-java-client-0.22-5.el6.noarch qpid-java-common-0.22-5.el6.noarch qpid-java-example-0.22-5.el6.noarch qpid-proton-c-0.4-2.2.el6.x86_64 qpid-proton-c-devel-0.4-2.2.el6.x86_64 qpid-proton-debuginfo-0.4-2.2.el6.x86_64 qpid-qmf-0.22-7.el6.x86_64 qpid-qmf-debuginfo-0.22-7.el6.x86_64 qpid-qmf-devel-0.22-7.el6.x86_64 qpid-snmpd-1.0.0-12.el6.x86_64 qpid-snmpd-debuginfo-1.0.0-12.el6.x86_64 qpid-tests-0.22-4.el6.noarch qpid-tools-0.22-3.el6.noarch rh-qpid-cpp-tests-0.22-8.el6.x86_64 ruby-qpid-0.7.946106-2.el6.x86_64 saslwrapper-0.22-3.el6.x86_64 saslwrapper-devel-0.22-3.el6.x86_64 This change needs to get reverted. The original behavior is not in fact defective. The system instance *should* override any data-dir setting in qpidd.conf. qpidd.conf is used for setting system-wide defaults, not for narrowly controlling just the system instance. Reverted in https://svn.apache.org/r1532542. checked & verified qpid-cpp-server-ssl-0.22-33.el6 qpid-cpp-server-store-0.22-33.el6 qpid-cpp-client-devel-0.22-33.el6 qpid-cpp-client-ssl-0.22-33.el6 qpid-cpp-server-devel-0.22-33.el6 qpid-cpp-server-rdma-0.22-33.el6 qpid-cpp-server-ha-0.22-33.el6 qpid-cpp-debuginfo-0.22-33.el6 qpid-cpp-server-0.22-33.el6 qpid-cpp-client-rdma-0.22-33.el6 qpid-cpp-server-xml-0.22-33.el6 qpid-cpp-client-0.22-33.el6 |