Bug 1731753
| Summary: | SELinux is preventing journalctl from 'search' accesses on the directory 1. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Mehmet Andac <stiece> |
| Component: | selinux-policy | Assignee: | Zdenek Pytela <zpytela> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 30 | CC: | dwalsh, felix1072, lvrabec, mgrepl, plautrba, quint, sisregblumenau, zpytela |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:b2354c590ed8d0122f4f3acc38fca86104c80d8ff6d45c2dcd1cba1ceced6477; | ||
| Fixed In Version: | selinux-policy-3.14.3-55.fc30 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-01-31 01:12:19 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: | |||
Hi Mehmet, Are you able reproduce this issue? Do you know when this happened? Is something broken on your system? Thanks, Lukas. Description of problem: Install snapd and run `snap install lxd`. Version-Release number of selected component: selinux-policy-3.14.3-43.fc30.noarch Additional info: reporter: libreport-2.10.1 hashmarkername: setroubleshoot kernel: 5.2.9-200.fc30.x86_64 type: libreport *** Bug 1783647 has been marked as a duplicate of this bug. *** *** Bug 1783794 has been marked as a duplicate of this bug. *** commit 3a268ba2d49cc2d15e865494291ed51565e65dc8 (HEAD -> rawhide, origin/rawhide, origin/HEAD)
Author: Zdenek Pytela <zpytela>
Date: Mon Dec 16 09:23:25 2019 +0100
Allow journalctl read init state BZ(1731753)
FEDORA-2019-6f872cd95f has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-6f872cd95f selinux-policy-3.14.3-54.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-6f872cd95f selinux-policy-3.14.3-55.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-2020-384545235e selinux-policy-3.14.3-55.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: SELinux is preventing journalctl from 'search' accesses on the directory 1. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that journalctl should be allowed search access on the 1 directory 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 'journalctl' --raw | audit2allow -M my-journalctl # semodule -X 300 -i my-journalctl.pp Additional Information: Source Context system_u:system_r:journalctl_t:s0 Target Context system_u:system_r:init_t:s0 Target Objects 1 [ dir ] Source journalctl Source Path journalctl Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.14.3-40.fc30.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 5.1.18-300.fc30.x86_64 #1 SMP Mon Jul 15 15:42:34 UTC 2019 x86_64 x86_64 Alert Count 20 First Seen 2019-07-21 19:23:22 +03 Last Seen 2019-07-21 19:29:17 +03 Local ID 5fddfb82-3851-453a-87c0-8046578e70ff Raw Audit Messages type=AVC msg=audit(1563726557.806:293): avc: denied { search } for pid=5373 comm="journalctl" name="1" dev="proc" ino=14215 scontext=system_u:system_r:journalctl_t:s0 tcontext=system_u:system_r:init_t:s0 tclass=dir permissive=0 Hash: journalctl,journalctl_t,init_t,dir,search Version-Release number of selected component: selinux-policy-3.14.3-40.fc30.noarch Additional info: component: selinux-policy reporter: libreport-2.10.1 hashmarkername: setroubleshoot kernel: 5.1.18-300.fc30.x86_64 type: libreport