Hide Forgot
Description of problem: docker daemon under /root SELinux is preventing bash from write, open access on the file /logFiles/important.log. ***** Plugin restorecon (99.5 confidence) suggests ************************ If you want to fix the label. /logFiles/important.log default label should be default_t. Then you can run restorecon. Do # /sbin/restorecon -v /logFiles/important.log ***** Plugin catchall (1.49 confidence) suggests ************************** If you believe that bash should be allowed write open access on the important.log file 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: # ausearch -c bash --raw | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:svirt_lxc_net_t:s0:c322,c886 Target Context system_u:object_r:admin_home_t:s0 Target Objects /logFiles/important.log [ file ] Source bash Source Path bash Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.13.1-158.12.fc23.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.4.6-301.fc23.x86_64+debug #1 SMP Wed Mar 30 16:31:03 UTC 2016 x86_64 x86_64 Alert Count 1 First Seen 2016-04-17 20:58:27 IDT Last Seen 2016-04-17 20:58:27 IDT Local ID c3a5582b-4758-4ca3-8229-9f3dac5f3519 Raw Audit Messages type=AVC msg=audit(1460915907.96:1141): avc: denied { write open } for pid=20148 comm="bash" path="/logFiles/important.log" dev="dm-1" ino=1439006 scontext=system_u:system_r:svirt_lxc_net_t:s0:c322,c886 tcontext=system_u:object_r:admin_home_t:s0 tclass=file permissive=0 Hash: bash,svirt_lxc_net_t,admin_home_t,file,write,open Version-Release number of selected component: selinux-policy-3.13.1-158.12.fc23.noarch Additional info: reporter: libreport-2.6.4 hashmarkername: setroubleshoot kernel: 4.4.6-301.fc23.x86_64+debug type: libreport
*** This bug has been marked as a duplicate of bug 1327900 ***