Description of problem: SELinux is preventing cp from using the 'fsetid' capabilities. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that cp should have the fsetid capability 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 'cp' --raw | audit2allow -M my-cp # semodule -X 300 -i my-cp.pp Additional Information: Source Context system_u:system_r:pcp_pmie_t:s0 Target Context system_u:system_r:pcp_pmie_t:s0 Target Objects Unknown [ capability ] Source cp Source Path cp Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.14.2-51.fc29.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.20.15-200.fc29.x86_64 #1 SMP Mon Mar 11 16:01:28 UTC 2019 x86_64 x86_64 Alert Count 1 First Seen 2019-03-17 23:28:04 EDT Last Seen 2019-03-17 23:28:04 EDT Local ID b01a5c58-dc35-4a6f-bdbf-2fff40d4df42 Raw Audit Messages type=AVC msg=audit(1552879684.274:174): avc: denied { fsetid } for pid=2042 comm="cp" capability=4 scontext=system_u:system_r:pcp_pmie_t:s0 tcontext=system_u:system_r:pcp_pmie_t:s0 tclass=capability permissive=0 Hash: cp,pcp_pmie_t,pcp_pmie_t,capability,fsetid Version-Release number of selected component: selinux-policy-3.14.2-51.fc29.noarch Additional info: component: selinux-policy reporter: libreport-2.10.0 hashmarkername: setroubleshoot kernel: 5.0.9-301.fc30.x86_64 type: libreport
commit 2e60cd97ff3539943221ce31805f936d63afc671 (HEAD -> rawhide) Author: Lukas Vrabec <lvrabec> Date: Tue May 14 18:00:30 2019 +0200 Allow pcp_pmie_t domain to use fsetid capability BZ(1708082)
selinux-policy-3.14.3-37.fc30 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-40c077f70d
selinux-policy-3.14.3-37.fc30 has been pushed to the Fedora 30 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-2019-40c077f70d
selinux-policy-3.14.3-37.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.