Skip to content

Commit

Permalink
Add mariadb-backup and mariadbd (upstream)
Browse files Browse the repository at this point in the history
mariadb-backup needs to access raw files so give it the same context as
the server.

mariadbd upstream has its path in /usr/sbin/mariadbd so we can add that
to the default policy if a user installs an upstream package.

Upstream bug: https://jira.mariadb.org/browse/MDEV-24941
  • Loading branch information
grooverdan authored and FaramosCZ committed Nov 17, 2023
1 parent de84778 commit d4b14cd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mysql.fc
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ HOME_DIR/\.my\.cnf -- gen_context(system_u:object_r:mysqld_home_t, s0)
/usr/bin/mariadb-upgrade -- gen_context(system_u:object_r:mysqld_exec_t,s0)

/usr/libexec/mariadbd -- gen_context(system_u:object_r:mysqld_exec_t,s0)
/usr/sbin/mariadbd -- gen_context(system_u:object_r:mysqld_exec_t,s0)

/usr/bin/mariadb-backup -- gen_context(system_u:object_r:mysqld_exec_t,s0)

/usr/sbin/mysqld(-max|-debug)? -- gen_context(system_u:object_r:mysqld_exec_t,s0)
/usr/sbin/mysqlmanager -- gen_context(system_u:object_r:mysqlmanagerd_exec_t,s0)
Expand Down

0 comments on commit d4b14cd

Please sign in to comment.