Fedora Account System
Red Hat Associate
Red Hat Customer
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 couchdb.pid. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that beam.smp should be allowed add_name access on the couchdb.pid 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_var_run_t:s0 Target Objects couchdb.pid [ 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-117.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 20 First Seen 2014-01-16 22:57:39 CET Last Seen 2014-01-18 16:07:25 CET Local ID e9f747aa-aa18-4539-9a83-9d38ba49f1e8 Raw Audit Messages type=AVC msg=audit(1390057645.403:416): avc: denied { add_name } for pid=2524 comm="beam.smp" name="couchdb.pid" scontext=system_u:system_r:rabbitmq_beam_t:s0 tcontext=system_u:object_r:couchdb_var_run_t:s0 tclass=dir type=SYSCALL msg=audit(1390057645.403:416): arch=x86_64 syscall=open success=no exit=EACCES a0=7f088e9817b8 a1=241 a2=1b6 a3=1 items=0 ppid=1 pid=2524 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_var_run_t,dir,add_name Additional info: reporter: libreport-2.1.11 hashmarkername: setroubleshoot kernel: 3.12.7-300.fc20.x86_64 type: libreport
*** This bug has been marked as a duplicate of bug 1054971 ***