Description of problem: Kubevirt compilation SELinux is preventing rsync from 'write' accesses on the directory fd. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that rsync should be allowed write access on the fd 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: # ausearch -c 'rsync' --raw | audit2allow -M my-rsync # semodule -X 300 -i my-rsync.pp Additional Information: Source Context system_u:system_r:container_t:s0:c164,c247 Target Context system_u:system_r:container_t:s0:c164,c247 Target Objects fd [ dir ] Source rsync Source Path rsync Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.13.1-283.24.fc27.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.14.16-300.fc27.x86_64 #1 SMP Wed Jan 31 19:24:27 UTC 2018 x86_64 x86_64 Alert Count 3 First Seen 2018-02-15 18:31:04 CET Last Seen 2018-02-15 18:31:04 CET Local ID 55c65345-7cd6-4e7a-9762-f29eb1c2d46a Raw Audit Messages type=AVC msg=audit(1518715864.295:5405): avc: denied { write } for pid=2331 comm="rsync" name="fd" dev="proc" ino=4438713 scontext=system_u:system_r:container_t:s0:c164,c247 tcontext=system_u:system_r:container_t:s0:c164,c247 tclass=dir permissive=0 Hash: rsync,container_t,container_t,dir,write Version-Release number of selected component: selinux-policy-3.13.1-283.24.fc27.noarch Additional info: component: selinux-policy reporter: libreport-2.9.3 hashmarkername: setroubleshoot kernel: 4.14.16-300.fc27.x86_64 type: libreport
I believe this is kind of a bogus avc, since you can not really write to this directory, Did you actually see anything fail, or just an AVC get generated?
I can't reliably say that something is actually failing.
Added Dontaudit rule to container-selinux-2.55
container-selinux-2.55-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-29bc3c6098
container-selinux-2.55-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-cdf686cb83
container-selinux-2.55-1.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-29bc3c6098
container-selinux-2.55-1.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-cdf686cb83
container-selinux-2.55-1.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.
container-selinux-2.55-1.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.