[MDEV-27635] selinux: allow read of /proc/sys/kernel/core_pattern Created: 2022-01-26  Updated: 2022-01-27  Resolved: 2022-01-27

Status: Closed
Project: MariaDB Server
Component/s: Packaging
Affects Version/s: 10.2.24
Fix Version/s: 10.2.43, 10.3.34, 10.4.24, 10.5.15, 10.6.7, 10.7.3, 10.8.2

Type: Bug Priority: Major
Reporter: Daniel Black Assignee: Daniel Black
Resolution: Fixed Votes: 0
Labels: None


 Description   

Prevent the error:

    
    setroubleshoot[23678]: SELinux is preventing /usr/libexec/mysqld from read access on the file core_pattern.

Reading of the core pattern occurs on crash as added in MDEV-15051

RHEL-7.7

    
    $  ls -laZ /proc/sys/kernel/core_pattern
    -rw-r--r--. root root system_u:object_r:usermodehelper_t:s0 /proc/sys/kernel/core_pattern


Generated at Thu Feb 08 09:54:25 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.