| Summary: | service matahari-broker fails to start when qpid store module is available | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | ppecka <ppecka> |
| Component: | matahari | Assignee: | Zane Bitter <zbitter> |
| Status: | CLOSED ERRATA | QA Contact: | Dave Johnson <dajohnso> |
| Severity: | low | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.2 | CC: | astokes, dajohnso, matahari-maint, rbryant, tross, zbitter |
| Target Milestone: | rc | ||
| Target Release: | 6.3 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
No documentation needed.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-06-20 13:48:07 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Consider updating the broker configuration by adding --no-module-dir and using --load-module <path> explicitly to load needed modules (SSL, etc.). This will prevent the broker process from picking up any available modules that happen to be installed on the system.
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
No documentation needed.
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : qpid-cpp-server-store-0.14-16.el6.x86_64 1/1
Installed products updated.
Verifying : qpid-cpp-server-store-0.14-16.el6.x86_64 1/1
Installed:
qpid-cpp-server-store.x86_64 0:0.14-16.el6
Complete!
[root@kvm-guest-02 ~]# service matahari-broker start
Starting Matahari broker daemon: [ OK ]
[root@kvm-guest-02 ~]# qmf-tool localhost:49000
Management Tool for QMF
qmf: list agents
QMF Agents:
Id Vendor Product Instance Epoch
======================================================================================
* 1 apache.org qpidd 101aa208-5af4-4248-9aca-b0c71ed741db 2
2 matahariproject.org libvirt-qmf 93dd3fad-aee2-4c7d-8b4b-0c60e351fedf 1
qmf: q
*** Unknown syntax: q
qmf: quit
Exiting...
[root@kvm-guest-02 ~]# qpid-stat -c localhost:49000
Connections
client-addr cproc cpid auth connected idle msgIn msgOut
===============================================================================================
[::1]:49000-[::1]:39713 qpid-stat 2308 anonymous 0s 0s 213 270
127.0.0.1:49000-127.0.0.1:40617 libvirt-qmf 1894 anonymous 49s 0s 60 29
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. http://rhn.redhat.com/errata/RHBA-2012-0844.html |
Description of problem: Selinux denies matahari-broker service to start when qpid-cpp-server-store is installed. Version-Release number of selected component (if applicable): cat /etc/redhat-release Red Hat Enterprise Linux Server release 6.2 (Santiago) # rpm -qa | grep -P '(matahari|qpid)' | sort fence-virtd-libvirt-qpid-0.2.3-5.el6.x86_64 matahari-0.4.4-11.el6.x86_64 matahari-agent-lib-0.4.4-11.el6.x86_64 matahari-broker-0.4.4-11.el6.x86_64 matahari-host-0.4.4-11.el6.x86_64 matahari-lib-0.4.4-11.el6.x86_64 matahari-network-0.4.4-11.el6.x86_64 matahari-service-0.4.4-11.el6.x86_64 matahari-sysconfig-0.4.4-11.el6.x86_64 python-qpid-0.14-3.el6.noarch python-qpid-qmf-0.14-3.el6.x86_64 qpid-cpp-client-0.14-6.el6.x86_64 qpid-cpp-client-devel-0.14-6.el6.x86_64 qpid-cpp-client-devel-docs-0.14-6.el6.noarch qpid-cpp-client-rdma-0.14-6.el6.x86_64 qpid-cpp-client-ssl-0.14-6.el6.x86_64 qpid-cpp-debuginfo-0.14-6.el6.x86_64 qpid-cpp-server-0.14-6.el6.x86_64 qpid-cpp-server-cluster-0.14-6.el6.x86_64 qpid-cpp-server-devel-0.14-6.el6.x86_64 qpid-cpp-server-rdma-0.14-6.el6.x86_64 qpid-cpp-server-ssl-0.14-6.el6.x86_64 qpid-cpp-server-store-0.14-6.el6.x86_64 qpid-cpp-server-xml-0.14-6.el6.x86_64 qpid-java-client-0.14-1.el6.noarch qpid-java-common-0.14-1.el6.noarch qpid-java-example-0.14-1.el6.noarch qpid-java-jca-0.10-9.el6.noarch qpid-jca-0.14-1.el6.noarch qpid-qmf-0.14-3.el6.x86_64 qpid-qmf-devel-0.14-3.el6.x86_64 qpid-tests-0.14-1.el6.noarch qpid-tools-0.14-1.el6.noarch rh-qpid-cpp-tests-0.14-6.el6.x86_64 ruby-qpid-0.7.946106-2.el6.x86_64 ruby-qpid-qmf-0.14-3.el6.x86_64 How reproducible: Steps to Reproduce: 1. install qpid-cpp-server-store rpm 2. service matahari-broker restart 3. qpid-stat -c localhost:49000 Actual results: service matahari-broker restart;qpid-stat -c localhost:49000 Stopping Matahari broker daemon: [FAILED] Starting Matahari broker daemon: Daemon startup failed: Journal Exception occurred while initializing store (MessageStoreImpl.cpp:383): jexception 0x0301 jdir::create_dir() threw JERR_JDIR_MKDIR: Directory creation failed. (dir="/var/lib/matahari/rhm" errno=13 (Permission denied)) [FAILED] Failed: error - [Errno 111] Connection refused cat /var/log/messages ... Feb 20 09:03:03 dhcp-lab-116 matahari-brokerd[13782]: 2012-02-20 09:03:03 critical Unexpected error: Journal Exception occurred while initializing store (MessageStoreImpl.cpp:383): jexception 0x0301 jdir::create_dir() threw JERR_JDIR_MKDIR: Directory creation failed. (dir="/var/lib/matahari/rhm" errno=13 (Permission denied)) Feb 20 09:03:03 dhcp-lab-116 matahari-brokerd[13780]: 2012-02-20 09:03:03 critical Unexpected error: Daemon startup failed: Journal Exception occurred while initializing store (MessageStoreImpl.cpp:383): jexception 0x0301 jdir::create_dir() threw JERR_JDIR_MKDIR: Directory creation failed. (dir="/var/lib/matahari/rhm" errno=13 (Permission denied)) ... Expected results: service matahari-broker is allowed to start Additional info: