Description of problem: 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 Permissive Host Name (removed) Platform Linux (removed) 6.5.0- 0.rc1.20230711git3f01e9fed845.13.fc39.x86_64+debug #1 SMP PREEMPT_DYNAMIC Sat Jul 15 00:20:03 +05 2023 x86_64 Alert Count 1 First Seen 2023-07-16 21:06:16 +05 Last Seen 2023-07-16 21:06:16 +05 Local ID d74d4123-f3f6-4d6b-b24e-7f92a6ea29c2 Raw Audit Messages type=AVC msg=audit(1689523576.927:1727): avc: denied { write } for pid=56827 comm="systemd-journal" name="memory.pressure" dev="cgroup2" ino=20421 scontext=system_u:system_r:syslogd_t:s0 tcontext=system_u:object_r:cgroup_t:s0 tclass=file permissive=1 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.13.fc39.x86_64+debug component: selinux-policy
Created attachment 1976081 [details] File: description
Created attachment 1976082 [details] File: os_info
*** Bug 2223758 has been marked as a duplicate of this bug. ***
*** Bug 2224460 has been marked as a duplicate of this bug. ***
*** Bug 2227455 has been marked as a duplicate of this bug. ***
FEDORA-2023-a79a6bdd37 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-a79a6bdd37
FEDORA-2023-a79a6bdd37 has been pushed to the Fedora 38 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-a79a6bdd37` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-a79a6bdd37 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2023-a79a6bdd37 has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report.