Bug 1775884
| Summary: | SELinux is preventing (imedated) from 'getattr' accesses on the fichier /run/systemd/unit-root/proc/kmsg. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Nicolas Mailhot <nicolas.mailhot> |
| 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: | rawhide | CC: | dwalsh, lvrabec, mgrepl, plautrba, zpytela |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:54b16c608b54af94c4c3b15f02a351d62651840a91cc6449a37ea71d06b600ae; | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-11-25 08:34:12 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 1775883 *** |
Description of problem: SELinux is preventing (imedated) from 'getattr' accesses on the fichier /run/systemd/unit-root/proc/kmsg. ***** Plugin catchall (100. confidence) suggests ************************** Si vous pensez que (imedated) devrait être autorisé à accéder getattr sur kmsg file par défaut. Then vous devriez rapporter ceci en tant qu'anomalie. Vous pouvez générer un module de stratégie local pour autoriser cet accès. Do autoriser cet accès pour le moment en exécutant : # ausearch -c "(imedated)" --raw | audit2allow -M my-imedated # semodule -X 300 -i my-imedated.pp Additional Information: Source Context system_u:system_r:init_t:s0 Target Context system_u:object_r:proc_kmsg_t:s0 Target Objects /run/systemd/unit-root/proc/kmsg [ file ] Source (imedated) Source Path (imedated) Port <Inconnu> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.14.5-16.fc32.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 5.4.0-0.rc6.git0.1.fc32.x86_64 #1 SMP Mon Nov 4 16:37:09 UTC 2019 x86_64 x86_64 Alert Count 3 First Seen 2019-11-22 18:09:04 CET Last Seen 2019-11-23 09:11:25 CET Local ID d2afa8dd-5b74-4caa-9a9d-346ef1455361 Raw Audit Messages type=AVC msg=audit(1574496685.634:3118): avc: denied { getattr } for pid=471519 comm="(imedated)" path="/run/systemd/unit-root/proc/kmsg" dev="proc" ino=4026532047 scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:proc_kmsg_t:s0 tclass=file permissive=1 Hash: (imedated),init_t,proc_kmsg_t,file,getattr Version-Release number of selected component: selinux-policy-3.14.5-16.fc32.noarch Additional info: component: selinux-policy reporter: libreport-2.11.3 hashmarkername: setroubleshoot kernel: 5.4.0-0.rc6.git0.1.fc32.x86_64 type: libreport