Description of problem: SELinux is preventing runlevel from using the 'setrlimit' accesses on a process. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that runlevel should be allowed setrlimit access on processes labeled pcp_pmlogger_t 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 'runlevel' --raw | audit2allow -M my-runlevel # semodule -X 300 -i my-runlevel.pp Additional Information: Source Context system_u:system_r:pcp_pmlogger_t:s0 Target Context system_u:system_r:pcp_pmlogger_t:s0 Target Objects Unknown [ process ] Source runlevel Source Path runlevel Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.14.3-35.fc30.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 5.0.13-300.fc30.x86_64 #1 SMP Mon May 6 00:39:45 UTC 2019 x86_64 x86_64 Alert Count 54 First Seen 2019-05-10 16:17:08 CEST Last Seen 2019-05-12 00:12:04 CEST Local ID 63cb9f7a-b24d-47e6-91af-0e8a6be7b5e1 Raw Audit Messages type=AVC msg=audit(1557612724.400:392): avc: denied { setrlimit } for pid=31505 comm="systemctl" scontext=system_u:system_r:pcp_pmlogger_t:s0 tcontext=system_u:system_r:pcp_pmlogger_t:s0 tclass=process permissive=0 Hash: runlevel,pcp_pmlogger_t,pcp_pmlogger_t,process,setrlimit Version-Release number of selected component: selinux-policy-3.14.3-35.fc30.noarch Additional info: component: selinux-policy reporter: libreport-2.10.0 hashmarkername: setroubleshoot kernel: 5.0.13-300.fc30.x86_64 type: libreport
commit e6e0b82adaa762957e5b0e106190aa8c533e668d (HEAD -> rawhide) Author: Lukas Vrabec <lvrabec> Date: Tue May 14 17:50:20 2019 +0200 Allow pcp_pmlogger_t to use setrlimit BZ(1708951)
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.