Description of problem: idk what is wrong with this program 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 ************************** Si cree que de manera predeterminada se debería permitir a systemd-oomd el acceso watch sobre system_bus_socket sock_file. Then debería reportar esto como un error. Puede generar un módulo de política local para permitir este acceso. Do permita el acceso temporalmente ejecutando: # ausearch -c 'systemd-oomd' --raw | audit2allow -M mi-systemdoomd # semodule -X 300 -i mi-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 <Desconocido> 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 2 First Seen 2025-07-26 16:32:30 -03 Last Seen 2025-07-27 11:20:24 -03 Local ID 18b354bc-63f1-4b8f-b05b-ede0baf328c9 Raw Audit Messages type=AVC msg=audit(1753626024.177:63): avc: denied { watch } for pid=665 comm="systemd-oomd" path="/run/dbus/system_bus_socket" dev="tmpfs" ino=2285 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(1753626024.177:63): arch=x86_64 syscall=inotify_add_watch success=yes exit=EINTR a0=7 a1=55bf22742660 a2=2000d84 a3=55bf22742400 items=1 ppid=1 pid=665 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(1753626024.177:63): cwd=/ type=PATH msg=audit(1753626024.177:63): item=0 name=/run/dbus/system_bus_socket inode=2285 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. package: selinux-policy-targeted-42.2-1.fc42.noarch component: selinux-policy hashmarkername: setroubleshoot type: libreport kernel: 6.15.7-200.fc42.x86_64 comment: idk what is wrong with this program component: selinux-policy
Created attachment 2098416 [details] File: description
Created attachment 2098417 [details] File: os_info
*** This bug has been marked as a duplicate of bug 2383472 ***