Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: SELinux is preventing mariadbd from 'write' accesses on the Datei memory.pressure. ***** Plugin catchall (100. confidence) suggests ************************** Wenn Sie denken, dass es mariadbd standardmäßig erlaubt sein sollte, write Zugriff auf memory.pressure 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 'mariadbd' --raw | audit2allow -M my-mariadbd # semodule -X 300 -i my-mariadbd.pp Additional Information: Source Context system_u:system_r:mysqld_t:s0 Target Context system_u:object_r:cgroup_t:s0 Target Objects memory.pressure [ file ] Source mariadbd Source Path mariadbd Port <Unbekannt> Host (removed) Source RPM Packages Target RPM Packages SELinux Policy RPM selinux-policy-targeted-39.3-1.fc39.noarch Local Policy RPM selinux-policy-targeted-39.3-1.fc39.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 6.6.8-200.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 21 04:01:49 UTC 2023 x86_64 Alert Count 24 First Seen 2023-12-26 12:02:04 CET Last Seen 2023-12-30 16:59:58 CET Local ID 826f3f56-06b3-416a-917f-8bf68259e820 Raw Audit Messages type=AVC msg=audit(1703951998.915:137): avc: denied { write } for pid=2607 comm="mariadbd" name="memory.pressure" dev="cgroup2" ino=6170 scontext=system_u:system_r:mysqld_t:s0 tcontext=system_u:object_r:cgroup_t:s0 tclass=file permissive=0 Hash: mariadbd,mysqld_t,cgroup_t,file,write Version-Release number of selected component: selinux-policy-targeted-39.3-1.fc39.noarch Additional info: reporter: libreport-2.17.11 reason: SELinux is preventing mariadbd from 'write' accesses on the Datei memory.pressure. package: selinux-policy-targeted-39.3-1.fc39.noarch component: selinux-policy hashmarkername: setroubleshoot type: libreport kernel: 6.6.8-200.fc39.x86_64 component: selinux-policy
Created attachment 2006649 [details] File: description
Created attachment 2006650 [details] File: os_info
*** This bug has been marked as a duplicate of bug 2256002 ***