https://bugzilla.redhat.com/show_bug.cgi?id=1340275
Bug ID: 1340275 Summary: rabbitmq-server does not start on a fresh Fedora 24 installation Product: Fedora Version: 24 Component: rabbitmq-server Severity: high Assignee: lemenkov@gmail.com Reporter: rbarlow@redhat.com QA Contact: extras-qa@fedoraproject.org CC: erlang@lists.fedoraproject.org, hubert.plociniczak@gmail.com, jeckersb@redhat.com, lemenkov@gmail.com, rjones@redhat.com, s@shk.io
Description of problem: I installed rabbitmq-server and tried to start it, but it failed to start.
Version-Release number of selected component (if applicable): rabbitmq-server-3.6.2-1.fc24.noarch
How reproducible: Every time.
Steps to Reproduce: 1. $ sudo dnf install rabbitmq-server 2. $ sudo systemctl start rabbitmq-server
Actual results: $ sudo systemctl start rabbitmq-server Job for rabbitmq-server.service failed because the control process exited with error code. See "systemctl status rabbitmq-server.service" and "journalctl -xe" for details.
Expected results: It should start successfully.
Additional info: There seem to be some AVC denials:
$ sudo audit2allow -al
#============= init_t ============== allow init_t rabbitmq_var_lib_t:file getattr; allow init_t rabbitmq_var_log_t:file getattr; allow init_t unconfined_service_t:tcp_socket create;
$ sudo grep rabbit /var/log/audit/audit.log type=AVC msg=audit(1464301890.501:728): avc: denied { getattr } for pid=5944 comm="rabbitmqctl" path="/var/log/rabbitmq/rabbit@rbarlow-install-f24-sasl.log" dev="vda1" ino=142758 scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:rabbitmq_var_log_t:s0 tclass=file permissive=0 type=AVC msg=audit(1464301890.501:729): avc: denied { getattr } for pid=5944 comm="rabbitmqctl" path="/var/log/rabbitmq/rabbit@rbarlow-install-f24-sasl.log" dev="vda1" ino=142758 scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:rabbitmq_var_log_t:s0 tclass=file permissive=0 type=SERVICE_START msg=audit(1464301891.682:730): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=rabbitmq-server comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
https://bugzilla.redhat.com/show_bug.cgi?id=1340275
Randy Barlow rbarlow@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |WORKSFORME Last Closed| |2016-06-09 11:00:14
--- Comment #1 from Randy Barlow rbarlow@redhat.com --- I tried this again more recently and it worked, so I'm going to mark this as fixed.
https://bugzilla.redhat.com/show_bug.cgi?id=1340275
Peter "Pessoft" Kolínek pessoft@seznam.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |pessoft@seznam.cz
--- Comment #2 from Peter "Pessoft" Kolínek pessoft@seznam.cz --- I just encountered similar issue ( on Fedora 25 ), which has been caused by unresolvable hostname. In your case probably rbarlow-install-f24 could not resolve to IP address correctly.
erlang@lists.fedoraproject.org