Hide Forgot
Description of problem: Another web server run by docker but using an SELinux protected area of the root's home directory (/root/<some/Path>) SELinux is preventing /bin/busybox from 'add_name' accesses on the directory logA. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that busybox should be allowed add_name access on the logA 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 sh /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:svirt_lxc_net_t:s0:c422,c579 Target Context unconfined_u:object_r:admin_home_t:s0 Target Objects logA [ dir ] Source sh Source Path /bin/busybox Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.13.1-158.11.fc23.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.4.6-300.fc23.x86_64 #1 SMP Wed Mar 16 22:10:37 UTC 2016 x86_64 x86_64 Alert Count 119 First Seen 2016-04-01 18:13:29 IDT Last Seen 2016-04-01 18:15:27 IDT Local ID 2c1ca779-cc63-47aa-919d-ec809f2676b1 Raw Audit Messages type=AVC msg=audit(1459523727.331:839): avc: denied { add_name } for pid=20098 comm="sh" name="logA" scontext=system_u:system_r:svirt_lxc_net_t:s0:c422,c579 tcontext=unconfined_u:object_r:admin_home_t:s0 tclass=dir permissive=0 type=SYSCALL msg=audit(1459523727.331:839): arch=x86_64 syscall=open success=no exit=EACCES a0=1efa010 a1=441 a2=1b6 a3=0 items=0 ppid=1928 pid=20098 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=sh exe=/bin/busybox subj=system_u:system_r:svirt_lxc_net_t:s0:c422,c579 key=(null) Hash: sh,svirt_lxc_net_t,admin_home_t,dir,add_name Version-Release number of selected component: selinux-policy-3.13.1-158.11.fc23.noarch Additional info: reporter: libreport-2.6.4 hashmarkername: setroubleshoot kernel: 4.4.6-300.fc23.x86_64 type: libreport
*** This bug has been marked as a duplicate of bug 1323223 ***