Description of problem: Maybe ring caused this SELinux is preventing userdel from 'sys_ptrace' accesses on the cap_userns Unknown. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that userdel should be allowed sys_ptrace access on the Unknown cap_userns 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 'userdel' --raw | audit2allow -M my-userdel # semodule -X 300 -i my-userdel.pp Additional Information: Source Context system_u:system_r:useradd_t:s0 Target Context system_u:system_r:useradd_t:s0 Target Objects Unknown [ cap_userns ] Source userdel Source Path userdel Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.13.1-260.4.fc26.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.12.8-300.fc26.x86_64 #1 SMP Thu Aug 17 15:30:20 UTC 2017 x86_64 x86_64 Alert Count 18 First Seen 2017-08-28 19:39:05 EDT Last Seen 2017-08-28 19:39:05 EDT Local ID deafe44e-d548-4028-822e-67d96cebcab6 Raw Audit Messages type=AVC msg=audit(1503963545.452:274): avc: denied { sys_ptrace } for pid=3061 comm="userdel" capability=19 scontext=system_u:system_r:useradd_t:s0 tcontext=system_u:system_r:useradd_t:s0 tclass=cap_userns permissive=0 Hash: userdel,useradd_t,useradd_t,cap_userns,sys_ptrace Version-Release number of selected component: selinux-policy-3.13.1-260.4.fc26.noarch Additional info: component: selinux-policy reporter: libreport-2.9.1 hashmarkername: setroubleshoot kernel: 4.12.8-300.fc26.x86_64 type: libreport Potential duplicate: bug 1386324
This looks like userdel is running in a user namespace?
selinux-policy-3.13.1-260.14.fc26 has been pushed to the Fedora 26 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-2017-d312739a4e
selinux-policy-3.13.1-260.14.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.