Skip to content

Commit d4b14cd

Browse files
grooverdanFaramosCZ
authored andcommitted
Add mariadb-backup and mariadbd (upstream)
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
1 parent de84778 commit d4b14cd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

mysql.fc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ HOME_DIR/\.my\.cnf -- gen_context(system_u:object_r:mysqld_home_t, s0)
3535
/usr/bin/mariadb-upgrade -- gen_context(system_u:object_r:mysqld_exec_t,s0)
3636

3737
/usr/libexec/mariadbd -- gen_context(system_u:object_r:mysqld_exec_t,s0)
38+
/usr/sbin/mariadbd -- gen_context(system_u:object_r:mysqld_exec_t,s0)
39+
40+
/usr/bin/mariadb-backup -- gen_context(system_u:object_r:mysqld_exec_t,s0)
3841

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

0 commit comments

Comments
 (0)