Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-24941

SElinux incorrect label for server socket

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Critical
    • Resolution: Unresolved
    • 10.5.9
    • 10.5, 10.6
    • Platform RedHat
    • None
    • CentOS Linux release 8.3.2011

    Description

      Tried couple of locations for the server's `socket` parameter

      These two end up with correct label mysqld_var_run_t
      /var/run/mysql/imthesocket.sock
      /var/run/mysqld/imalsothesocket.sock

      And these two have incorrect labels
      /var/run/mariadb/itriedtobeasocket.sock is labeled var_run_t
      /var/lib/mysql/mysql.sock is labeled as mysqld_db_t
      Both of which can be fixed by running restorecon on them which flips them back to mysqld_var_run_t

      Also might be related to older issue MDEV-10405 and 10.3.27 wasn't affected by this as it was the starting point of the upgrade to 10.5.8. Clean install is also affected.

      Attachments

        Issue Links

          Activity

            People

              danblack Daniel Black
              ospifi Jesse Sandberg
              Votes:
              3 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.