Skip to content

Instantly share code, notes, and snippets.

View y-trudeau's full-sized avatar

Yves Trudeau y-trudeau

  • Percona
View GitHub Profile
@y-trudeau
y-trudeau / usr.bin.mysqld_safe
Created July 26, 2018 20:57
PXC AppArmor profile
# Last Modified: Thu Jul 26 20:36:39 2018
#include <tunables/global>
/usr/bin/mysqld_safe {
#include <abstractions/base>
#include <abstractions/bash>
capability chown,
capability dac_override,
capability dac_read_search,
#!/bin/bash
mysqlbinlog56=/store/mysql-5.6.23-linux-glibc2.5-x86_64/bin/mysqlbinlog
mysqlclient=/store/mysql-5.6.23-linux-glibc2.5-x86_64/bin/mysql
pidfile=/var/run/binlogstream.pid
binlogdir=/store/binlogstreamer/binlogs
binlogprefix=mysql-bin
mysqluser=tester
mysqlpass=tester
mysqlmaster=10.72.100.236