Description of problem: docker build with attached Dockerfile SELinux is preventing docker from 'getattr' accesses on the file /etc/adjtime. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that docker should be allowed getattr access on the adjtime 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: # grep docker /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:docker_t:s0 Target Context system_u:object_r:adjtime_t:s0 Target Objects /etc/adjtime [ file ] Source docker Source Path docker Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages initscripts-9.62-1.fc22.x86_64 Policy RPM selinux-policy-3.13.1-126.fc22.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.0.4-303.fc22.x86_64 #1 SMP Thu May 28 12:37:06 UTC 2015 x86_64 x86_64 Alert Count 2 First Seen 2015-06-03 10:30:34 PDT Last Seen 2015-06-03 10:33:06 PDT Local ID 607ff7a4-3d9a-4f3e-b3fd-af38ee2b88d7 Raw Audit Messages type=AVC msg=audit(1433352786.499:595): avc: denied { getattr } for pid=854 comm="docker" path="/etc/adjtime" dev="sda6" ino=524732 scontext=system_u:system_r:docker_t:s0 tcontext=system_u:object_r:adjtime_t:s0 tclass=file permissive=1 Hash: docker,docker_t,adjtime_t,file,getattr Version-Release number of selected component: selinux-policy-3.13.1-126.fc22.noarch Additional info: reporter: libreport-2.5.1 hashmarkername: setroubleshoot kernel: 4.0.4-303.fc22.x86_64 type: libreport
Created attachment 1034438 [details] File: Dockerfile
*** This bug has been marked as a duplicate of bug 1221379 ***