Description of problem: Just after startup. SELinux is preventing /usr/lib/systemd/systemd-oomd from 'watch' accesses on the sock_file /run/dbus/system_bus_socket. ***** Plugin catchall (100. confidence) suggests ************************** Wenn Sie denken, dass es systemd-oomd standardmäßig erlaubt sein sollte, watch Zugriff auf system_bus_socket sock_file 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-oomd' --raw | audit2allow -M my-systemdoomd # semodule -X 300 -i my-systemdoomd.pp Additional Information: Source Context system_u:system_r:systemd_oomd_t:s0 Target Context system_u:object_r:system_dbusd_var_run_t:s0 Target Objects /run/dbus/system_bus_socket [ sock_file ] Source systemd-oomd Source Path /usr/lib/systemd/systemd-oomd Port <Unbekannt> Host (removed) Source RPM Packages systemd-udev-257.7-1.fc42.x86_64 Target RPM Packages SELinux Policy RPM selinux-policy-targeted-42.2-1.fc42.noarch Local Policy RPM selinux-policy-targeted-42.2-1.fc42.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 6.15.7-200.fc42.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jul 17 17:57:16 UTC 2025 x86_64 Alert Count 1 First Seen 2025-07-26 20:31:41 CEST Last Seen 2025-07-26 20:31:41 CEST Local ID f6d26433-c765-4be4-b356-b88722b404e5 Raw Audit Messages type=AVC msg=audit(1753554701.972:56): avc: denied { watch } for pid=979 comm="systemd-oomd" path="/run/dbus/system_bus_socket" dev="tmpfs" ino=3785 scontext=system_u:system_r:systemd_oomd_t:s0 tcontext=system_u:object_r:system_dbusd_var_run_t:s0 tclass=sock_file permissive=1 type=SYSCALL msg=audit(1753554701.972:56): arch=x86_64 syscall=inotify_add_watch success=yes exit=EINTR a0=7 a1=5621a505a3f0 a2=2000d84 a3=1 items=1 ppid=1 pid=979 auid=4294967295 uid=999 gid=999 euid=999 suid=999 fsuid=999 egid=999 sgid=999 fsgid=999 tty=(none) ses=4294967295 comm=systemd-oomd exe=/usr/lib/systemd/systemd-oomd subj=system_u:system_r:systemd_oomd_t:s0 key=(null) type=CWD msg=audit(1753554701.972:56): cwd=/ type=PATH msg=audit(1753554701.972:56): item=0 name=/run/dbus/system_bus_socket inode=3785 dev=00:1a mode=0140666 ouid=0 ogid=0 rdev=00:00 obj=system_u:object_r:system_dbusd_var_run_t:s0 nametype=NORMAL cap_fp=0 cap_fi=0 cap_fe=0 cap_fver=0 cap_frootid=0 Hash: systemd-oomd,systemd_oomd_t,system_dbusd_var_run_t,sock_file,watch Version-Release number of selected component: selinux-policy-targeted-42.2-1.fc42.noarch Additional info: reporter: libreport-2.17.15 reason: SELinux is preventing /usr/lib/systemd/systemd-oomd from 'watch' accesses on the sock_file /run/dbus/system_bus_socket. kernel: 6.15.7-200.fc42.x86_64 package: selinux-policy-targeted-42.2-1.fc42.noarch hashmarkername: setroubleshoot comment: Just after startup. type: libreport component: selinux-policy component: selinux-policy
Created attachment 2098320 [details] File: description
Created attachment 2098321 [details] File: os_info
*** This bug has been marked as a duplicate of bug 2383472 ***