Bug 1769160
| Summary: | SELinux is preventing systemd-tmpfile from using the 'setrlimit' accesses on a process. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Martin Wolf <mwolf> |
| Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 31 | CC: | dwalsh, ivan.makfinsky, lvrabec, mgrepl, plautrba, zpytela |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:0599895a821d905dd69cbeffeca862e4f27567c85a874dae3ced99263d80a49f;VARIANT_ID=workstation; | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-11-06 08:25:08 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
*** This bug has been marked as a duplicate of bug 1767394 *** *** Bug 1772115 has been marked as a duplicate of this bug. *** |
Description of problem: SELinux is preventing systemd-tmpfile from using the 'setrlimit' accesses on a process. ***** Plugin catchall (100. confidence) suggests ************************** Wenn Sie denken, dass es systemd-tmpfile standardmäßig erlaubt sein sollte, setrlimit Zugriff auf systemd_tmpfiles_t Prozesse zu erhalten. Then sie sollten dies als Fehler melden. Um diesen Zugriff zu erlauben, können Sie ein lokales Richtlinien-Modul erstellen. Do zugriff jetzt erlauben, indem Sie die nachfolgenden Befehle ausführen: # ausearch -c 'systemd-tmpfile' --raw | audit2allow -M my-systemdtmpfile # semodule -X 300 -i my-systemdtmpfile.pp Additional Information: Source Context system_u:system_r:systemd_tmpfiles_t:s0 Target Context system_u:system_r:systemd_tmpfiles_t:s0 Target Objects Unbekannt [ process ] Source systemd-tmpfile Source Path systemd-tmpfile Port <Unbekannt> Host (removed) Source RPM Packages Target RPM Packages Policy RPM <Unbekannt> Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 5.3.8-300.fc31.x86_64 #1 SMP Tue Oct 29 14:28:41 UTC 2019 x86_64 x86_64 Alert Count 1 First Seen 2019-11-06 02:56:19 CET Last Seen 2019-11-06 02:56:19 CET Local ID 7ec0a280-cbef-420e-ab1c-dcb8b142a5b8 Raw Audit Messages type=AVC msg=audit(1573005379.949:472): avc: denied { setrlimit } for pid=14280 comm="systemd-tmpfile" scontext=system_u:system_r:systemd_tmpfiles_t:s0 tcontext=system_u:system_r:systemd_tmpfiles_t:s0 tclass=process permissive=0 Hash: systemd-tmpfile,systemd_tmpfiles_t,systemd_tmpfiles_t,process,setrlimit Additional info: component: selinux-policy reporter: libreport-2.10.1 hashmarkername: setroubleshoot kernel: 5.3.8-300.fc31.x86_64 type: libreport