Description of problem: 1. install couchdb 2. start couchdb using systemctrl SELinux is preventing /usr/lib64/erlang/erts-5.10.4/bin/beam.smp from 'add_name' accesses on the directory couch.log. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that beam.smp should be allowed add_name access on the couch.log directory by default. Then you should report this as a bug. You can generate a local policy module to allow this access. Do allow this access for now by executing: # grep beam.smp /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:rabbitmq_beam_t:s0 Target Context system_u:object_r:couchdb_log_t:s0 Target Objects couch.log [ dir ] Source beam.smp Source Path /usr/lib64/erlang/erts-5.10.4/bin/beam.smp Port <Unknown> Host (removed) Source RPM Packages erlang-erts-R16B-03.1.fc20.x86_64 Target RPM Packages Policy RPM selinux-policy-3.12.1-116.fc20.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.12.7-300.fc20.x86_64 #1 SMP Fri Jan 10 15:35:31 UTC 2014 x86_64 x86_64 Alert Count 10 First Seen 2014-01-16 22:57:39 CET Last Seen 2014-01-17 22:01:44 CET Local ID cbff9e62-f183-4c47-a2fc-dcff6c5c2a52 Raw Audit Messages type=AVC msg=audit(1389992504.451:430): avc: denied { add_name } for pid=3979 comm="beam.smp" name="couch.log" scontext=system_u:system_r:rabbitmq_beam_t:s0 tcontext=system_u:object_r:couchdb_log_t:s0 tclass=dir type=SYSCALL msg=audit(1389992504.451:430): arch=x86_64 syscall=open success=no exit=EACCES a0=7f49bef01878 a1=441 a2=1b6 a3=1 items=0 ppid=1 pid=3979 auid=4294967295 uid=990 gid=987 euid=990 suid=990 fsuid=990 egid=987 sgid=987 fsgid=987 ses=4294967295 tty=(none) comm=beam.smp exe=/usr/lib64/erlang/erts-5.10.4/bin/beam.smp subj=system_u:system_r:rabbitmq_beam_t:s0 key=(null) Hash: beam.smp,rabbitmq_beam_t,couchdb_log_t,dir,add_name Additional info: reporter: libreport-2.1.11 hashmarkername: setroubleshoot kernel: 3.12.7-300.fc20.x86_64 type: libreport
Description of problem: 1. install couchdb 2. start couchdb using systemctrl Additional info: reporter: libreport-2.1.11 hashmarkername: setroubleshoot kernel: 3.12.7-300.fc20.x86_64 type: libreport
commit 2a63d7f592a27b1d4a031e46fd4bbf2687560e38 Author: Miroslav Grepl <mgrepl> Date: Mon Jan 20 10:03:33 2014 +0100 Allow beam.smp to manage couchdb files
*** Bug 1055068 has been marked as a duplicate of this bug. ***
selinux-policy-3.12.1-119.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-119.fc20
Package selinux-policy-3.12.1-119.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.12.1-119.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-1249/selinux-policy-3.12.1-119.fc20 then log in and leave karma (feedback).
selinux-policy-3.12.1-119.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.