Skip to content

Commit

Permalink
Fix regex to also match '/var/lib/mysql/mysqlx.sock'
Browse files Browse the repository at this point in the history
  • Loading branch information
adobes1 committed Jul 11, 2023
1 parent 45d5f31 commit 234de5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mysql.fc
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ HOME_DIR/\.my\.cnf -- gen_context(system_u:object_r:mysqld_home_t, s0)
# /var
#
/var/lib/mysql(-files|-keyring)?(/.*)? gen_context(system_u:object_r:mysqld_db_t,s0)
/var/lib/mysql/mysql\.sock -s gen_context(system_u:object_r:mysqld_var_run_t,s0)
/var/lib/mysql/mysql(x)?\.sock -s gen_context(system_u:object_r:mysqld_var_run_t,s0)

/var/log/mariadb(/.*)? gen_context(system_u:object_r:mysqld_log_t,s0)
/var/log/mysql(/.*)? gen_context(system_u:object_r:mysqld_log_t,s0)
Expand Down

0 comments on commit 234de5d

Please sign in to comment.