Bug 2224460
| Summary: | SELinux is preventing systemd-journal from 'write' accesses on the file memory.pressure. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Ian Laurie <ian.laurie> | ||||||
| Component: | selinux-policy | Assignee: | Zdenek Pytela <zpytela> | ||||||
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | rawhide | CC: | dwalsh, ian.laurie, lvrabec, mmalik, nknazeko, omosnacek, pkoncity, vmojzis, zpytela | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | abrt_hash:897ace4c38ed55b9971900722b7a344a092bb2475172dc5b65f60e67c375a51f;VARIANT_ID=; | ||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2023-07-21 12:32:51 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: | |||||||||
| Attachments: |
|
||||||||
Created attachment 1976831 [details]
File: description
Created attachment 1976832 [details]
File: os_info
*** This bug has been marked as a duplicate of bug 2223218 *** |
Description of problem: Logged into Xfce. SELinux is preventing systemd-journal from 'write' accesses on the file memory.pressure. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that systemd-journal should be allowed write access on the memory.pressure file 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 'systemd-journal' --raw | audit2allow -M my-systemdjournal # semodule -X 300 -i my-systemdjournal.pp Additional Information: Source Context system_u:system_r:syslogd_t:s0 Target Context system_u:object_r:cgroup_t:s0 Target Objects memory.pressure [ file ] Source systemd-journal Source Path systemd-journal Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages SELinux Policy RPM selinux-policy-targeted-38.20-1.fc39.noarch Local Policy RPM selinux-policy-targeted-38.20-1.fc39.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 6.5.0-0.rc1.20230711git3f01e9fed845.12.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 12 14:03:10 UTC 2023 x86_64 Alert Count 2 First Seen 2023-07-17 09:26:44 AEST Last Seen 2023-07-19 13:05:53 AEST Local ID c42d9c8a-8357-4f3e-9282-1f4ed22bb966 Raw Audit Messages type=AVC msg=audit(1689735953.310:330): avc: denied { write } for pid=2705 comm="systemd-journal" name="memory.pressure" dev="cgroup2" ino=8575 scontext=system_u:system_r:syslogd_t:s0 tcontext=system_u:object_r:cgroup_t:s0 tclass=file permissive=0 Hash: systemd-journal,syslogd_t,cgroup_t,file,write Version-Release number of selected component: selinux-policy-targeted-38.20-1.fc39.noarch Additional info: reporter: libreport-2.17.11 reason: SELinux is preventing systemd-journal from 'write' accesses on the file memory.pressure. package: selinux-policy-targeted-38.20-1.fc39.noarch component: selinux-policy hashmarkername: setroubleshoot type: libreport kernel: 6.5.0-0.rc1.20230711git3f01e9fed845.12.fc39.x86_64 comment: Logged into Xfce. component: selinux-policy